| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
VPN Server implemented in pure Python. (For Research Purposes Only)
All VPN softwares are stupid, clumsy and hard to configure. So comes python-vpn.
Press "RETURN" to start, "CTRL+C" to stop.
$ pip3 install pvpn
Successfully installed pvpn-0.2.1
$ pvpn -p yourpassword
Serving on UDP :500 :4500...
^C
$ pvpn -wg 9000
Serving on UDP :500 :4500...
Serving on UDP :9000 (WIREGUARD)...
^COpen server's UDP port :500 :4500 to your device. In device's system setting, add an "IPSec" (iOS) or "IPSec IKE PSK" (Android) node, write down the server address and password "yourpassword". Connect.
If you prefer wireguard VPN, specify "-wg (port)" parameter and open server's (port) UDP port to your device. Paste the printed server public key to wireguard client settings, write down the server address:port. Connect.
You should modify the default password "test" with a good one. See "pvpn -h" for more options.
| Protocol Name | Name in iOS | Name in Android | Name in MacOS | Name in Windows |
|---|---|---|---|---|
| L2TP PSK ✔ | L2TP | "L2TP/IPSec PSK" | L2TP/IPSec | L2TP |
| IKEv1 PSK ✔ | IPsec [1] | "IPSec Xauth PSK" | Cisco IPSec | IPSec |
| IKEv2 PSK ✔ | IKEv2 [2] | "IPSec IKEv2 PSK" | IKEv2 | IKEv2 |
| WireGuard ✔ | WireGuard App [3] | |||
TCP Tunnel
If the remote host match in file "rules.country", tunnel through http proxy.
$ pvpn -r http://remote_server:port?rules.countryUDP Tunnel
Redirect all DNS requests to 8.8.8.8.
$ pvpn -ur tunnel://8.8.8.8:53?{53}IPSec/ESP
IKE/ISAKMP
IKEv2
Diffie Hellman
L2TP
WireGuard
| Back | FazBrowse Home | New Git URL |