Skip to content

Script to enable/disable L2TP VPN connection from command line on TPLink AC1200 Wireless router

Notifications You must be signed in to change notification settings

nicolaballotta/tplink-vpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TPLink VPN

This is a simple script I created to enable/disable L2TP VPN connection from command line on TPLink AC1200 Wireless router.

Unfortunately on this router firmware there's no CLI and the web UI is full of JS/Ajax stuff. For that reason, after trying with Mechanize/Beautifulsoup, I ended up using Selenium. And I've to say it works pretty well.

Usage

Install requirements:

pip install -r requirements.txt

and then run

python tplink-vpn.py -on -u username -p 'password'

to enable L2TP VPN, or

python tplink-vpn.py -off -u username -p 'password'

to disable the VPN.

About

Script to enable/disable L2TP VPN connection from command line on TPLink AC1200 Wireless router

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages