set proxy for vpn server on ubuntu server 12.4
Posted
by
Morteza Soltanabadiyan
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Morteza Soltanabadiyan
Published on 2014-08-21T08:50:19Z
Indexed on
2014/08/21
10:30 UTC
Read the original article
Hit count: 336
I have a vpn server with HTTPS, L2TP , OPENVPN , PPTP. i want to set proxy in the server so all connection that comes from vpn clients use the proxy that i set in my server.
I made a bash script file for it , but proxy not 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
Now , I don't know what to do to make a global proxy for server and all vpn clients use it automatically.
© Ask Ubuntu or respective owner