I have a vpn server with HTTPS, L2TP, OPENVPN, and PPTP. I want to set up a proxy on
the server, so all connection that comes from vpn clients, they will use that.
I created
the following bash script file for it, but
the proxy isn't working.
gsettings set org.gnome.system.proxy mode 'manual'
gsettings set org.gnome.system.proxy.http enabled true
gsettings set org.gnome.system.proxy.http host 'cproxy.anadolu.edu.tr'
gsettings set org.gnome.system.proxy.http port 8080
gsettings set org.gnome.system.proxy.http authentication-user 'admin'
gsettings set org.gnome.system.proxy.http authentication-password 'admin'
gsettings set org.gnome.system.proxy use-same-proxy true
export http_proxy=http://admin:
[email protected]:8080
export https_proxy=http://admin:
[email protected]:8080
export HTTP_PROXY=http://admin:
[email protected]:8080
export HTTPS_PROXY=http://admin:
[email protected]:8080
What to do to make a global proxy for server and all vpn clients to use it automatically?