Configure privoxy to use specific network interface
|
Jul. 11, 2018, 08:51 AM
Post: #1
|
|||
|
|||
Configure privoxy to use specific network interface
In ubuntu I am connected to network using two network interfaces.
One interface is used primary. I would like to configure privoxy to use the second one. AFAIK I have to route all privoxy packets via specific gateway, but I have no idea how. Forward directive in config file is just for forwarding it to another proxy and therefore it's not usable (I think). Any help appreciated ![]() |
|||
Jul. 14, 2018, 05:59 PM
(This post was last modified: Jul. 14, 2018 05:59 PM by ryszardzonk.)
Post: #2
|
|||
|
|||
RE: Configure privoxy to use specific network interface
It should be something along those lines
Code: iptables -t nat -A PREROUTING -i localhost -p tcp -s 127.0.0.1 --sport 3128 --dport 80 -j DNAT --to 192.168.1.2:80 that should work to Code: iptables -t nat -A PREROUTING -p tcp -s 127.0.0.1 --sport 3128 --dport 80 -j DNAT --to 192.168.1.2:80 obviously you have to change 3128 to your privoxy port and ip adress from 192.168.1.2 to the network card you want to send traffic to |
|||
« Next Oldest | Next Newest »
|