|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
update-resolv-conf
When I am using a Linux distro and wish to connect to a VPN server located 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/openvp...te-resolv-conf Next I will append to my *.ovpn file the following lines: Code:
script-security 2 up /etc/openvpn/update-resolv-conf.sh down /etc/openvpn/update-resolv-conf.sh Code:
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 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. Last edited by ocicat; 30th March 2016 at 02:10 AM. Reason: Please use [code] & [/code] tags when posting file content. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
resolv.conf.tail | betweendayandnight | OpenBSD General | 5 | 18th July 2015 11:44 AM |
conky + lua + cairo issue - unable to resolv symbol | bsdplus | OpenBSD Packages and Ports | 3 | 6th July 2014 03:04 AM |
Apache HTTP Server update fixes remote DoS issue - Update | J65nko | News | 0 | 12th May 2011 07:21 PM |
How to add a nameserver in /etc/resolv.conf automatically | guitarscn | OpenBSD General | 7 | 9th November 2010 12:12 PM |
Update httpd.conf IPs from DNS zones. | bigb89 | Programming | 16 | 2nd December 2008 02:02 AM |