You are not logged in.
I have a server which has five IP addresses. The main interface is on eth0 and then there are other external interfaces which each correspond to a separate distinct IP address on eth0:0, eth0:0, eth0:1, eth0:2, and eth0:3 respectively.
What I want to do is make it so that I can have two different proxies which appear to be from separate IP addresses as opposed to being from the same (main) IP. I can already set a proxy such as polipo to listen on a specific IP address and port but unfortunately that's not enough. I need the external requests to be routed through a different external interface such as eth0:1 (thus having a different IP address), not just eth0 (the server's main IP).
Any suggestions?
Last edited by davidm (2010-03-11 15:59:47)
Offline
configure your proxy to listen on every interface, and then block all requests for the proxy to the interfaces that you do not want (or alternatively, allow the only one and block all others) using iptables.
Offline
tinyproxy can be configured to bind only on which interface you want
Give what you have. To someone, it may be better than you dare to think.
Offline
tinyproxy can be configured to bind only on which interface you want
From reading the documentation on the config file (specifically the BIND keyword) :
https://www.banu.com/docs/tinyproxy/1.8 … .conf.html
In fact BINDSAME looks as if it might even save me from having to run multiple instances of the proxy.
It appears that this will be perfect. Thank you very much.
Last edited by davidm (2010-03-11 16:18:16)
Offline