Run these commands:
# echo 1 > /proc/sys/net/ipv4/ip_forward
# iptables -A FORWARD -i eth1 -s z.z.z.20 -o eth0 -d y.y.y.20 -p tcp --dport 1972 -j ACCEPT
Noe check the rule:
# iptables -L -n FORWARD
save the rule
Last edited by ~=gr3p=~; 11-07-2005 at 05:40 AM.
|