Posts: 21
Joined: Jan 2011
Reputation:
0
I have two VPNs that I access for work and play - is there existing script/tool within xbmc that I can use to turn off/switch VPNs so I don't have to plug my mouse in, jump out of xbmc and do it manually?
Posts: 7,256
Joined: Nov 2008
Reputation:
121
XBMC doesn't have any support for VPNs built in; it relies on the operating system to do this.
Can you switch the VPNs using a batch file or something similar? If so you can write a Python script to run your batch file and map this to some convenient keypress, or you could use the Launcher add-on to run your batch file.
JR
Posts: 4
Joined: Dec 2010
Reputation:
1
Create a .bat file and inside that:
rasdial "VPN Connection" username password
if you have to disconnect, then create a new .bat file with:
rasdial "VPN Connection" /disconnect
Then you can bind the .bat file to your remote with etc. LM remote KeyMap or run .bat file in xbmc with etc. Launcher