The Following 2 Users Say Thank You to mcbook For This Useful Post: | ||
![]() |
2013-02-04
, 18:12
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#2
|
![]() |
2013-02-04
, 18:29
|
Posts: 446 |
Thanked: 207 times |
Joined on Sep 2012
@ Austria/Germany
|
#3
|
![]() |
2013-02-04
, 18:34
|
Posts: 592 |
Thanked: 1,167 times |
Joined on Jul 2012
|
#4
|
![]() |
2013-02-04
, 18:45
|
Posts: 446 |
Thanked: 207 times |
Joined on Sep 2012
@ Austria/Germany
|
#5
|
![]() |
2013-02-05
, 19:22
|
Posts: 446 |
Thanked: 207 times |
Joined on Sep 2012
@ Austria/Germany
|
#6
|
vpnc: Error binding to source port. Try '--local-port 0'
Failed to bind to 0.0.0.0:500: Permission denied
~ $ vpnc /etc/vpnc/lrz.conf --local-port 0
sh: /etc/vpnc/vpnc-script: not found
vpnc: can't initialise tunnel interface: Operation not permitted
![]() |
2013-02-05
, 20:14
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#7
|
![]() |
2013-02-05
, 20:14
|
Posts: 446 |
Thanked: 207 times |
Joined on Sep 2012
@ Austria/Germany
|
#8
|
![]() |
2013-02-06
, 23:12
|
Posts: 1,313 |
Thanked: 2,978 times |
Joined on Jun 2011
@ Finland
|
#10
|
3.) install Profilematic and create a new rule
choose your desired wifi network as a condition for the rule
to connect to VPN use this command
Code:/opt/vpn9c/bin/vpnc.sh < /path/to/your/conf/file
sh -c "/opt/vpn9c/bin/vpnc.sh < /path/to/your/conf/file"
The Following User Says Thank You to ajalkane For This Useful Post: | ||
In order to automatically connect to a VPN when you connect your N9(50) to a wifi network you need to...
1.) install VPN9C (graphical frontend for vpnc on meego harmattan)
you can get it form the store.
(note that with vpnc you can only connect to VPN using IPSec)
2.) create a config file for vpnc (contains all the necesary credentials)
create a .conf file and store it somewhere
It should look somehting like this
choose your desired wifi network as a condition for the rule
to connect to VPN use this command
have fun!
Last edited by mcbook; 2013-02-07 at 07:27. Reason: -> howto