Rules for port forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
does anyone remember the rules for port forwarding ?
the followings does not work:
iptables -A FORWARD -i eth0 -o eth1 -p tcp âdport 80 -j ACCEPT
iptables -A PREROUTING -t nat -p tcp -i eth0 âdport 80 -j DNAT âto
192.168.20.1:80

thx lewis
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux