router MI424WR and transparent proxy
aguliyev
Newbie

i try to configure my home verizon router (MI424WR) to direct http(s) traffic through my proxy server. I run proxy server(squid) on remote server; or I can run it on local laptop, inside LAN also (or it is impossible with remote proxy).

But the point is to have traffic directed through proxy by ROUTER (not proxy settings in browser or laptop OS). 

I am lost. I suspect it should be possible throigh iptables and some forwarding rules....

Plz, could you suggest.

0 Likes
3 Replies
CRobGauth
Community Leader
Community Leader

Proxy needs to be from the source of the connection, ie your browsers.

Routers typically don't like to have traffic come to it one way but go back another.

If you dont route from browser, they will send info straight to router but expect response to run through proxy. Not sure proxy will even accept a one way connection.

Why don't you want browser to point to proxy?

0 Likes
aguliyev
Newbie

The laptops are chromebooks, where certain chrome extension is used, which blocks proxy settings to "direct connection". And it can not be changed.

So, my thought was how to route http/https traffic through proxy without laptop configs. 

Here:

https://www.dd-wrt.com/wiki/index.php/Squid_Transparent_Proxy

looks like it is possible:  " ...enable a transparent proxy server on your network by having your WRT54G router forward all traffic to the proxy server automatically...You will need to use iptables to tell your router how to forward traffic. ..."

0 Likes
smith6612
Community Leader
Community Leader

I'm not 100% sure if the MI424WR uses IPTables for Firewall support, but you can enable SSH under http://192.168.1.1/ > Advanced and see if that accomplishes what you're trying to do.

Just do be careful - when IPTables is loaded on most routers, hardware flow acceleration is disabled. This can signficantly slow down your FiOS service.

0 Likes