Skip to content

ysgit/script.openvpn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenVPN Add-on for XBMC

About

This addon allows a user to run a OpenVPN configuration in XBMC.

See wiki for more information on using add-on.

Prerequisites

  • Ubuntu 12.04 (Precise Penguin) or Mac OS X (Mountain Lion)
  • XBMC 12.0 (Frodo)
  • OpenVPN 2.2.0 or greater

Installation Instructions

  1. Download the latest zip file for add-on from Download section.

  2. Install add-on into XBMC using 'install from zip file' option. The plugin will be installed in the programs add-ons section.

  3. You need to create a file called connections.xml in the addons userdata directory.

  • Linux (Ubuntu): ~/.xbmc/userdata/addon_data/script.openvpn
  • Mac: ~/Library/Application Support/XBMC/userdata/addon_data/script.openvpn

This file will be used to store your openvpn connections. The contents of the file should look like below, but change attributes to match your connections. You need to add one vpn element for each vpn connection.

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<vpns>

<vpn id="VPN1" host="tcp.vpnhost.net" port="80" proto="tcp"/>

<vpn id="VPN2" host="udp.vpnhost.net" port="1194" proto="udp" delay="20"/>

</vpns>

  • id: Set to the name you want to appear in the select dialog, e.g. 'US VPN' or 'UK VPN'. Mandatory.
  • host: The hostname for the openvpn connection. Mandatory.
  • port: The port that should be used for openvpn connection. Mandatory.
  • proto: tcp or udp. Mandatory.
  • delay: Number of seconds to wait before showing notification, after connection. Not Mandatory.

Third-party Libraries

  • BeautifulSoup

License

This software is released under the [GPL 3.0 license] 2.

About

OpenVPN add-on for XBMC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%