When I am using a Linux distro and wish to connect to a VPN server in a foreign 
country, first I will ensure that update-resolv-conf.sh is in /etc/openvpn

The update-resolv-conf script can be downloaded from: 
https://github.com/masterkorp/openvpn-update-resolv-conf

Next I will append to my *.ovpn file the following lines:

script-security 2
up /etc/openvpn/update-resolv-conf.sh
down /etc/openvpn/update-resolv-conf.sh



The contents of my *.ovpn file is as follows:
----------
client
dev tun
proto tcp
remote 66.77.88.99 443
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
comp-lzo no
route-delay 5
verb 3
ca "ca.crt"
cert "user.crt"
key "user.key"
tls-auth "ta.key" 1
script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
----------

Questions:

1. Is there an equivalent script for OpenBSD users of OpenVPN?

2. Is such a script necessary for users of OpenVPN on OpenBSD?

Thanks in advance for your feedback and clarifications.

Adam
http://www.DCpages.com

Reply via email to