Skip to main content

WebVPN NG

TCP over BUAA WebVPN. 把WebVPN转换成TCP协议,可以转发基于TCP的任意端口(例如:SSH,HTTPS)。

1. Requirements

Python >= 3.8

2. Install

pip install --upgrade webvpn-ng

3. Usage

Login

使用BUAA统一认证账号密码登录WebVPN,个人token请私聊我获取。

wvpn login USERNAME

Port Forwarding

例如,使用本地2222端口访问校内的10.251.0.24:22:

# terminal #1
wvpn forward --port 2222 --rhost 10.251.0.24

# terminal #2
ssh -p 2222 yangming@localhost

# terminal #3
scp -P 2222 yangming@localhost:/data/data.pth .

使用本地的8000端口访问校内的211.71.15.34:6000(Tensorboard):

# terminal
wvpn forward --port 8000 --rhost 211.71.15.34 --rport 6000

# web browser
open http://localhost:8000

Release files for webvpn-ng 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for webvpn-ng 0.1.2
File Size Uploaded
webvpn_ng-0.1.2.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for webvpn-ng 0.1.2
File Interpreter ABI Platform
webvpn_ng-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / webvpn_ng-0.1.2.tar.gz

Download URL webvpn_ng-0.1.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8e05fddd527ebc88a4a58e693c465eda5816b5055b639ae2fd07307c2179bd08
BLAKE2b-256 checksum
How to use checksums
8606b31f1d1f5ce56ddfb69d26d5756d2fe66896358cac7e754674823dac5571
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.10.6 Darwin/22.3.0

Release files / webvpn_ng-0.1.2-py3-none-any.whl

Download URL webvpn_ng-0.1.2-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48f613e5eac38a36b0e08824f766815f2858f3f446a8f028dc33c37d21770fd3
BLAKE2b-256 checksum
How to use checksums
c58506aaf12fc30b5ac35c83853e7e87b46bef7e05a0f7b1bfe5e32e81249557
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.10.6 Darwin/22.3.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page