On Thursday 08 July 2010 22:54:50 Daniele Orlando wrote: > 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?
What have you tried? It seems like you'd need to change this in a PREROUTING chain, probably in the mangle table. Also, depending on the application it my be using the "unix socket" instead of TCP/IP to connect to PostgreSQL. In that case, iptables would not be involved. -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
signature.asc
Description: This is a digitally signed message part.