Setting up a VPN proxy server: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 45: | Line 45: | ||
download certification | download certification | ||
change /etc/default/openvpn => AUTOSTART="vpnbook" | 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"