What's new

Help please on proxy.pac on router level

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

lbd.patrician

Occasional Visitor
Hi All,

Thank you very much in advance.

I followed the instructions on
http://www.smallnetbuilder.com/forums/showthread.php?t=12518

to setup router level proxy using a pac file.

However, it seems the router doesn't honor the pac file at all. I even put alert function in the pac file, but it does not alert anything on my browser. If set the pac file directly inside the browser settings, everything works as expected.

My router: Asus RT-N66U
Firmware: 3.0.0.4.374.32 (Merlin build)

Is there anything I need to do on the router side to let the route use the proxy.pac I provided?


Thanks again for help.
 
Make sure you configured dnsmasq to provide the pac url, and you restarted either dnsmasq or the router itself. Also, you might need to renew the computer's DHCP lease to obtain the correct info.
 
Thank you very much for your reply.

I added the following line in the /jffs/configs/dnsmasq.conf.add file

dhcp-option=252,"http://router.asus.com/proxy.pac\n"

Every time, I will restart the router. And then

ipconfig /flushdns through command line.

How to renew computer's DHCP's lease?

Is there anyway, I can generate a log file, so that I can view the whole initial boot up process?

BTW, how to restart dnsmasq only?

Thanks again.

Make sure you configured dnsmasq to provide the pac url, and you restarted either dnsmasq or the router itself. Also, you might need to renew the computer's DHCP lease to obtain the correct info.
 
Thank you so much for your detailed instructions.

I checked "System Log" page on the WebUI. However, I don't see anything about pac file.

Thanks again for the command to restart dnsmasq directly.


Please, wait a bit while HOW-TO will be updated.

Yes, "System Log" page on WebUI. You may add your own log strings by logger command.


Code:
service restart_dnsmasq
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top