Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/limitfan/ShadowOVPN
ShadowOVPN bridges shadowsocks and OpenVPN based on Docker. You can now connect to OpenVPN servers with any shadowsocks compatible client.
https://github.com/limitfan/ShadowOVPN
docker openvpn shadowsocks vpngate
Last synced: 27 days ago
JSON representation
ShadowOVPN bridges shadowsocks and OpenVPN based on Docker. You can now connect to OpenVPN servers with any shadowsocks compatible client.
- Host: GitHub
- URL: https://github.com/limitfan/ShadowOVPN
- Owner: limitfan
- Created: 2018-10-21T07:57:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-22T05:11:03.000Z (about 6 years ago)
- Last Synced: 2024-08-08T21:19:32.030Z (5 months ago)
- Topics: docker, openvpn, shadowsocks, vpngate
- Language: Python
- Size: 10.7 KB
- Stars: 17
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ShadowOVPN
ShadowOVPN bridges shadowsocks and OpenVPN based on Docker.
## Getting Started
These instructions are for deploying ShadowOVPN on your own compute instance.
### Prerequisites
You need Docker running on your compute instance or install it using following command.
```
curl -sSL https://get.docker.com/ | sh
```### Installing
Make sure requests module of python is installed and firstly grab an ovpn configuration file from [vpngate.net](https://www.vpngate.net/en/) using following command.
The argument for vpngate.py is two letter country code for available countries.```
python first_vpngate.py jp
```Make sure ovpn file is successfully generated and then secondly start ovpnsocks Docker instance.
```
bash second_start_ovpnsocks.sh
```And then thirdly start pproxy Docker instance using your own shadowsocks configuration.
```
docker run -d --network="host" \
--name=pproxy leenwu/pproxy \
pproxy -l ss://chacha20:abc@:8080 -r socks5://localhost:1081
```Now you can connect OpenVPN server with your designated ovpn file with shadowsocks clients.
## Swithing servers
Explain how to switch servers when you want or previous server is down.
### Extracting new server from vpngate
Choose new ovpn location.
```
python first_vpngate.py kr
```### And restart ovpnsocks Docker instance
Docker restarts ovpnsocks instance.
```
docker restart ovpnsocks
```## Built With
* [openvpn-client-socks](https://github.com/kizzx2/docker-openvpn-client-socks) - Used in ovpnsocks Docker instance
* [python-proxy](https://github.com/qwj/python-proxy) - Used in pproxy Docker instance## Authors
* **Ligang Wu** - *Initial work* - [limitfan](https://github.com/limitfan)
## License
This project is licensed under the MIT License.