Firewall

Damien Estrada damienjp at bellsouth.net
Fri Sep 24 21:47:33 UTC 2004


Wats funny is datz watz in my iptables :

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 21 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 22 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 25 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 23 --syn -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 0/0 --sport 67:68 -d 0/0
--dport 67:68 -i eth0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp -s 0/0 --sport 67:68 -d 0/0
--dport 67:68 -i eth1 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i eth0 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i eth2 -j ACCEPT

I even turned it off then reboot and da port is still blocked or maybe
da server ain't picking it up, not sure wtf is going on here... gonna
try out some other smtp servers and if all fails then i guess it'z bak
to windows :(

On Sat, 2004-09-25 at 17:32, Stuart Sears wrote:
> 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