Can I setup a droplet as a proxy server through which I could browse websites with a PAC file?

March 5, 2018 2.5k views
Deployment FAQ JavaScript VPN Ubuntu Ubuntu 16.04

As you may know, when we are using a VPN for private browsing or firewall bypassing purposes, most of the cases are the everything goes through it, which is not so convenient sometimes. So, here comes the 'PAC'. It can tell the browser whether to go through proxy or not.

Now I have a PAC file locates on my computer, and want to setup a droplet as a proxy server instead of using VPN or SSH methods. Is it possible to do that? What else should I do? Thanks.

1 Answer

setup shadowsocks on your server

  • Thank you.

    I've already done that. Would you explain setting up a PAC file on the server side?

    • theoretically it can be done. But as PAC file specifies which domains should be visited through the proxy and use appropriate dns server, why would you want to do that on the server side. If a client has to confirm PAC rules from server then it means more overhead to the proxy since client side PAC is the best possible way, in my opinion.

    • In windows client of shadowsocks, you can just go to proxy rule and select bypass lan and China. it will basically split traffic and the local lan requests and websites located inside china will be access directly without proxy.

Have another answer? Share your knowledge.