Thread
:
OpenVPN routing problem on N900
View Single Post
mr.zoom
2010-05-27 , 14:14
Posts: 3 | Thanked: 6 times | Joined on Apr 2010 @ Switzerland (Zürich)
#
10
Hi Dave
script-security 2
# sets the security settings that you can run external scripts
u
p /etc/openvpn/maemo-update-resolvconf
# runs the script
maemo-update-resolvconf
if your vpn connection is up
down /etc/openvpn/maemo-update-resolvconf
# runs the script
maemo-update-resolvconf
if your vpn connection is down
The
maemo-update-resolvconf
script existed on my phone already after the installation of openvpn on my phone. The script takes the dns settings from your openvpn environment and writes it in your
/etc/resolv.conf
if the connection is up. If you disconnect it wirtes the orginal settings to the
/etc/resolv.conf
.
Cheers
mr.zoom
Quote & Reply
|
The Following 2 Users Say Thank You to mr.zoom For This Useful Post:
Davey101
,
kwurk
mr.zoom
View Public Profile
Find all posts by mr.zoom