Hi,
Yes, this is easy with iptables, the successor to ipchains for 2.4+ series kernels. You just need simple code like :
echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/modprobe iptable_nat
/sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth1-j DNAT --to 172.16.16.10:8080
Hope this helps
|