[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IPtables localhost redirect

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 (PostgreSQL)
> to the new destination
> 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 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: