Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Marcel on July 20, 2003, 12:10:45 AM
-
Hi,
I would like to open a port on my SME server 6b2.
Althoug version 6 support port forwarding out of the server manager, it does not support port opening. Could anybody give some hints on how to approach this? Would the port opening contrib for version 5.6 still work?
Thanks!
Marcel.
-
Marcel wrote:
> I would like to open a port on my SME server 6b2.
Why? All ports which need to be open are automatically opened, either explicitly by the iptables script (/etc/rc.d/init.d/masq) or automatically by netfilter connection tracking (for temporarily open ports, e.g. those used by the ftp protocol).
> Althoug version 6 support port forwarding out of the server
> manager, it does not support port opening.
It supports port opening the same way that every previous release has. Ports are opened by any application running on the server which needs a port open by inclusion of a template fragment for the masq script. See, for example, "/etc/e-smith/templates/etc/rc.d/init.d/masq/45AllowSMTP". If you have added an application to the server which needs an additional port open, just add a custom template. See http://www.e-smith.org/custom/.
Note that the only reason you would open a port on the server is if you have an application running on the server. "Opening" ports on the server won't help any application you have running on a workstation.
Charlie
-
Very complete and informative reply Charly, thanks. I makes me understand this part better :-)
-
How then would I open a port on 5.5 for a workstation?
I tried loading the portforwarding rpm's but I seem to need some dependancies for 5.5
Any ideas?
Mozzi