Local Port Forwarding.

Jason Opperisano opie at 817west.com
Sat Apr 23 00:07:15 CEST 2005


On Fri, Apr 22, 2005 at 05:02:04PM -0500, Taylor, Grant wrote:
> >  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

whoops.  nice catch.

-j

--
"Brian: You got anything on that remote lower than Mute?"
        --Family Guy



More information about the netfilter mailing list