Thanks Taylor and Jason, both solutions worked just fine, Thanks for your help, Alejandro iptables -t nat -A OUTPUT -d $HostX -p tcp --dport $PortX -j REDIRECT -- to-ports $PortY On Fri, 2005-04-22 at 17:02 -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 > > > > Grant. . . .