Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

One of the servers in my LAN is running a certain SOCKS proxy, through which I'd like all traffic to example.com, from the entire LAN, to be automatically routed through without any configuration on the other computers.

My idea was to somehow configure the router (a TP-Link TL-WR1043N) to direct all traffic destined to example.com to the local server, which will in turn direct that traffic through the local SOCKS proxy.

Is that at all possible with the standard firmware? Below is a shot of the "Static routing list" page of the router's admin, just in case it happens to be useful for the solution to this... Installing DD-WRT or the likes doesn't work well on this router (results in frequent connection drops)

Any other ideas for achieving the same end result would be much appreciated.

enter image description here

share|improve this question
    
As a practical matter i don't think this is possible - at least not with your router. You would either need a) the browser to decide to send traffic of some URLs to a proxy, or b) a transparent proxy that can intercept the HTTP request, and redirect them through a proxy. i don't think even Squid has such an option. –  Ian Boyd Apr 1 '12 at 19:25
    
Is this for convenience or for security? Does it matter if it can trivially be evaded? –  David Schwartz Apr 1 '12 at 19:27
    
@DavidSchwartz for convenience. It doesn't matter if it can be trivially evaded. –  GJ. Apr 2 '12 at 5:06
    
Then just configure the router to tell people (using DHCP) to use a nameserver that resolves the domain you wish to proxy to the private IP address of the machine running the proxy. –  David Schwartz Apr 2 '12 at 5:10
    
@DavidSchwartz great idea! except that the proxy is SOCKS which means that by merely driving that traffic to the right port on the server it probably wouldn't work. –  GJ. Apr 2 '12 at 8:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.