Hello People, I am writing a script to iptables but I have problems because all the connection with the computer are closed and I think this is because the policies in the INPUT, FORWARD and OUTPUT See my script and if someone knows why all the connection are closed please help me..gratefull
> # Aceita todo o trafego vindo do loopback e indo para o loopback > iptables -A INPUT -i lo -j ACCEPT > > # samba tcp ports 137 a 139 > iptables -A INPUT -s 143.107.17.16 -p tcp --source-port 137:139 -j ACCEPT > > # ssh tcp > iptables -A INPUT -s 143.107.17.16 -p tcp --source-port 22 -j ACCEPT > > # samba udp ports 137 a 139 > iptables -A INPUT -s 143.107.17.16 -p udp --source-port 137:139 -j ACCEPT > > # ssh udp > iptables -A INPUT -s 143.107.17.16 -p udp --source-port 22 -j ACCEPT > > # go out to the printer > iptables -t filter -A OUTPUT -p tcp --dport 515 -j ACCEPT > > # close others connections > iptables -t filter -P INPUT DROP > iptables -t filter -P OUTPUT DROP > iptables -t filter -P FORWARD DROP > Thanks, Renata -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list