Table of Contents

building and configuring openvpn

For OS X Mavericks, see the tunnelblick page

12/21/2012

12/22/2012

12/27/2012

finished client configuration file

mode p2p
proto tcp-client
dev tun
#remote <my external IP> 1194
remote <my external IP> <changed to a randomly selected port number here, very high>
ifconfig 10.8.0.2 10.8.0.1
verb 3
secret <path to my secret key file>
comp-lzo

# this route combined with a route for 10.8.0.0 to point to 192.168.3.109 on my
# router allows the vpn client to access all lan resources of the server
route 192.168.3.0 255.255.255.0

# these lines were supposed to make the connection more resistant to failures
keepalive 10 60
ping-timer-rem
persist-tun
persist-key

finished server configuration file

mode p2p
proto tcp-server
dev tun
#port 1194
port <changed to a randomly selected port number here, very high>
ifconfig 10.8.0.1 10.8.0.2
verb 3
secret <path to my secret key file>
comp-lzo

# these lines were supposed to make the connection more resistant to failures
keepalive 10 60
ping-timer-rem
persist-tun
persist-key

# couldn't get this to push the new route to the client, so I am just adding
# the route in the client config file
#push "route 192.168.3.0 255.255.255.0"