Nicolas FRANCOIS wrote:
I want to use gnutella p2p network. I use the rc.iptables provided by te
BLFS book. Can I add those lines, and if yes, where, to enable the
correct port ?

# Gnutella configuration
PORT_GNUTELLA="6346"
iptables -t filter -A FORWARD -p tcp --sport $PORT_GNUTELLA -j ACCEPT
iptables -t filter -A FORWARD -p tcp --dport $PORT_GNUTELLA -j ACCEPT


I keep away from 6346, the rules that work for me are

iptables -A INPUT -p tcp --dport $PORT_GNUTELLA -j ACCEPT
iptables -A INPUT -p udp --dport $PORT_GNUTELLA -j ACCEPT

Andy
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to