Question

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

Posted March 5, 2018 7.1k views
UbuntuFAQVPNDeploymentUbuntu 16.04JavaScript

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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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.

Submit an Answer