Setting up a VPN proxy server: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
--- | --- | ||
> http_port 8080 | > 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 |
Revision as of 00:18, 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