iptables rules for p2p gtk-gnutella
by slackbat from LinuxQuestions.org on (#51W9T)
Hi all,
I am looking for an iptables rules - input/output tcp/udp - for gtk-gnutella.
No matter what I have tried it has not worked, and looking arong on the web has not come up with a solution.
Code:# Following 2 rules 4 Gtk-Gnutella
$IPT -A INPUT -m state --state NEW,ESTABLISHED -p tcp --dport 40411 -j ACCEPT
$IPT -A INPUT -m state --state NEW,ESTABLISHED -p udp --dport 40411 -j ACCEPT
$IPT -A OUTPUT -m state --state ESTABLISHED -p tcp --dport 40411 -j ACCEPT
$IPT -A OUTPUT -m state --state ESTABLISHED -p udp --dport 40411 -j ACCEPTCant get this right - oh I'm using slackware - if that makes a difference.
TIA


I am looking for an iptables rules - input/output tcp/udp - for gtk-gnutella.
No matter what I have tried it has not worked, and looking arong on the web has not come up with a solution.
Code:# Following 2 rules 4 Gtk-Gnutella
$IPT -A INPUT -m state --state NEW,ESTABLISHED -p tcp --dport 40411 -j ACCEPT
$IPT -A INPUT -m state --state NEW,ESTABLISHED -p udp --dport 40411 -j ACCEPT
$IPT -A OUTPUT -m state --state ESTABLISHED -p tcp --dport 40411 -j ACCEPT
$IPT -A OUTPUT -m state --state ESTABLISHED -p udp --dport 40411 -j ACCEPTCant get this right - oh I'm using slackware - if that makes a difference.
TIA