again im new and have a few questions i couldnt find on site.
im trying to get ident and BT working properly to the internal machine. here is what i have at the moment for FW script. i know its probably wrong hence me asking
#!/bin/sh
#
iptables -t nat -A POSTROUTING -s 10.4.20.20/24 -o eth0 -j MASQUERADE
iptables -t nat -I PREROUTING -p tcp --dport 6881:6889 -j DNAT --to-destination 10.4.20.20
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 113 -j DNAT --to 10.4.20.20:113
iptables -t nat -A PREROUTING -i eth0 -p udp --dport 113 -j DNAT --to 10.4.20.20:113
iptables -N BLOCK
iptables -F BLOCK
iptables -A BLOCK -i lo -p all -j ACCEPT
iptables -A BLOCK -o lo -p all -j ACCEPT
iptables -A BLOCK -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A BLOCK -m state --state NEW -i ! eth0 -j ACCEPT
iptables -A BLOCK -p tcp --dport 25 -j ACCEPT
iptables -A BLOCK -p tcp --dport 23 -j ACCEPT
iptables -A BLOCK -p tcp --dport 81 -j ACCEPT
iptables -A BLOCK -p tcp --dport FTP -j ACCEPT
iptables -A BLOCK -p tcp --dport SSH -j ACCEPT
iptables -A BLOCK -p tcp --dport HTTP -j ACCEPT
iptables -A BLOCK -p tcp --dport 113 -j ACCEPT
iptables -A BLOCK -p udp --dport 113 -j ACCEPT
iptables -A BLOCK -j DROP
iptables -A INPUT -j BLOCK
echo "1" >> /proc/sys/net/ipv4/ip_forward
any corrections people can suggest? BT works but i cannot see peers/seeds and the ident port additions have seemed to not work as of yet. thx in advance.