Re: Firewall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux