On Fri, Jul 9, 2010 at 5:54 AM, Daniele Orlando <d.orland...@gmail.com>wrote:
> Hello guys, > > on my Debian 5 I'm trying to redirect > the TCP traffic generated by my machine > towards 127.0.0.1:5432 (PostgreSQL) > to the new destination 192.168.1.113:5432. > > I have tried with iptables many rules, but no one seams good for the task. > > Any idea? > Hi, If you have ssh access to 192.168.1.113, you can try ssh port forwarding, with -L 5432:192.168.1.113:5432 option Regards,