[GLLUG] Port forwarding

Alex Nelson anelson at ansoftcomputing.com
Fri Sep 5 19:22:48 EDT 2003


What Marshal said is correct. Although I use the following line from my
iptables script using DNAT:

${IPTABLES} -t nat -A PREROUTING -p tcp -d ${shost} --dport ${srcport}
-j DNAT --to-destination ${host}:${destport}

Hope that helps

-- 
Alex Nelson <anelson at ansoftcomputing.com>
ANSoft Computing



More information about the linux-user mailing list