Re: iptables redirects packets to local proxy

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

 



On Sat, Nov 30, 2013 at 07:56:22PM +0000, Antonio Prado wrote:
> On 30/11/13 17:40, Phil Oester wrote:
> > Use -j REDIRECT --to 12345
> 
> If I get it correctly, the OP wants to redirect to 127.0.0.1:12345 after
> having changed destination address and port to the packets.
> Is that possible anyway?

You have to pick where you want to change the destination to.  Either x:12345
or y:40000 - can't have it both ways.  Seems the socks proxy should be configured
to send the traffic to y:40000.  

Phil
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux