Firewall

Stuart Sears stuart at sjsears.com
Sat Sep 25 21:32:16 UTC 2004


On Fri 24 September 2004 19:26, Damien Estrada wrote:
> Can anybody tell me how to unblock port 25 from the firewall installed
> with red hat ??
lokkit -> customize -> check the SMTP box
the graphical version is redhat-config-securitylevel
(not, for some reason, redhat-config-firewall or redhat-config-iptables)
or of course you could do it manually with iptables.
(this assumes you are already using the redhat default firewall setup)
$ iptables - A RH-Firewall-1-INPUT -p tcp --dport 25 -j ACCEPT
- which will allow traffic from _anywhere_ to access your SMTP port.
- for more restrictions add a -s your.net.work.subnet. after the INPUT
$ service iptables save

HTH 

Stuart

-- 
Stuart Sears RHCE, RHCX
Quidquid latine dictum sit, altum viditur





More information about the redhat-list mailing list