Thread
:
Openvpn autostart based on wlan ssid
View Single Post
mikhmv
2010-05-04 , 21:31
Posts: 207 | Thanked: 119 times | Joined on Nov 2009 @ Pittsburgh, PA, USA
#
3
I little bit modified openvpn package and add possibility to choose connection types and network limitations for each .conf
I put additional parameters in file Name.connections (where is Name same to Name.conf file in /etc/openvpn). It is look like:
================================
#Allowed connection types.
#CONNECTION_TYPE=GPRS
#CONNECTION_TYPE=WLAN_INFRA
#CONNECTION_TYPE=ANY #(default)
#CONNECTION_TYPE=GPRS WLAN_INFRA
#DENY_CONNECTION_TYPES=XXXX
#Allowed connection types.
#CONNECTION_NAME="AT&T Internet" PITT
#CONNECTION_NAME=PITT
#CONNECTION_NAME=ANY #(default)
DENY_CONNECTION_NAMES=myhome
====================================
If it is interesting I could build new openvpn package with modifications (on weekend only).
Quote & Reply
|
mikhmv
View Public Profile
Send a private message to mikhmv
Find all posts by mikhmv