Local Port Forwarding.

Taylor, Grant gtaylor at riverviewtech.net
Sat Apr 23 00:02:04 CEST 2005


>   iptables -t nat -A OUTPUT -p tcp -d $HostX --dport $PortY \
>     -j DNAT --to-destination $LocalHost:$PortY

Slight typo

iptables -t nat -A OUTPUT -p tcp -d $HostX --dport $PortX -j DNAT --to-destination $LocalHost:$PortY



Grant. . . .



More information about the netfilter mailing list