![]() |
Openvpn on connection start
Hi!
How can I start openvpn automatically, when a connection was established? Best would be a connection-specific script to run. I want to start openvpn on any connection, but not when connected to my home lan. At the moment I am using the openvpn-gui, but I always have to do that manually. |
Re: Openvpn on connection start
Presumably something with dbus-scripts would allow this, but beyond that I'm not sure where to begin.
|
Re: Openvpn on connection start
I've put a script in /etc/network/if-up.d that is doing this, without dbus staff.
|
Re: Openvpn on connection start
Quote:
Code:
/usr/bin/gconftool -g \ |
Re: Openvpn on connection start
I know /etc/ppp/ip-up.d from my Debian system. This doesn't
exist in Maemo. Does /etc/network/if-up.d include the dialup network? |
Re: Openvpn on connection start
Quote:
Code:
if [ "$ICD_CONNECTION_TYPE" != GPRS ]; then |
Re: Openvpn on connection start
I did it this way:
http://talk.maemo.org/showpost.php?p=572440&postcount=2 |
Re: Openvpn on connection start
The init script sends the openvpn log to syslog. I would rather use the openvpn applet for graphical feedback as requested here.
|
Re: Openvpn on connection start
Yes, but the question stays. Can I control the applet via commandline?
|
All times are GMT. The time now is 19:25. |
vBulletin® Version 3.8.8