Setting up a VPN proxy server: Difference between revisions
Jump to navigation
Jump to search
Created page with " * http://www.vpnbook.com/ * apt-get install openvpn * apt-get install network-manager-openvpn ## don't need for server * DNS 8.8.8.8 and 8.8.4.4" |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Setup Ubuntu Server 12.04 | |||
* http://www.vpnbook.com/ | * http://www.vpnbook.com/ | ||
* apt-get install openvpn | * apt-get install openvpn | ||
* apt-get install | * apt-get install squid | ||
* apt-get install dkms | |||
* DNS 8.8.8.8 and 8.8.4.4 | * DNS 8.8.8.8 and 8.8.4.4 | ||
* /etc/udev/rules.d/ | |||
squid | |||
root@vpnserver:/etc/squid3# diff squid.conf.orig squid.conf | |||
696a697 | |||
> acl home src 192.9.200.0/24 | |||
819a821 | |||
> http_access allow home | |||
1137c1139 | |||
< http_port 3128 | |||
--- | |||
> http_port 8080 | |||
openvpn | |||
root@vpnserver:/etc/openvpn# more vpnbook.conf | |||
client | |||
dev tun1 | |||
proto tcp | |||
tun-mtu 1500 | |||
tun-mtu-extra 32 | |||
remote 93.115.84.198 443 # - Your server IP and OpenVPN Port | |||
dhcp-option DISABLE-NBT | |||
resolv-retry infinite | |||
nobind | |||
persist-key | |||
persist-tun | |||
ca vpnbook.crt | |||
auth-user-pass vpnbook.pass | |||
comp-lzo | |||
verb 3 | |||
cipher AES-128-CBC | |||
fast-io | |||
put username/pass into vpnbook.pass + chmod 600 | |||
download certification | |||
change /etc/default/openvpn => AUTOSTART="vpnbook" | |||
http://ubuntuserverguide.com/2012/05/how-to-install-and-configure-proxy-server-with-squid3-on-ubuntu-server-12-04-lts.html |
Latest revision as of 00:34, 3 January 2013
Setup Ubuntu Server 12.04
* http://www.vpnbook.com/ * apt-get install openvpn * apt-get install squid * apt-get install dkms * DNS 8.8.8.8 and 8.8.4.4 * /etc/udev/rules.d/
squid
root@vpnserver:/etc/squid3# diff squid.conf.orig squid.conf 696a697 > acl home src 192.9.200.0/24 819a821 > http_access allow home 1137c1139 < http_port 3128 --- > http_port 8080
openvpn
root@vpnserver:/etc/openvpn# more vpnbook.conf client dev tun1 proto tcp tun-mtu 1500 tun-mtu-extra 32 remote 93.115.84.198 443 # - Your server IP and OpenVPN Port dhcp-option DISABLE-NBT resolv-retry infinite nobind persist-key persist-tun ca vpnbook.crt auth-user-pass vpnbook.pass comp-lzo verb 3 cipher AES-128-CBC fast-io
put username/pass into vpnbook.pass + chmod 600 download certification change /etc/default/openvpn => AUTOSTART="vpnbook"