1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 17:56:53 +02:00

update openvpn

This commit is contained in:
kev 2018-03-15 18:10:45 +08:00
parent 4ad4e8ebcd
commit bf905d9250

View File

@ -47,7 +47,7 @@ fteproxy:
- "1194:1194"
environment:
- MODE=client
- SERVER_IP=vpn.easypi.info
- SERVER_IP=vpn.easypi.pro
- SERVER_PORT=4911
- CLIENT_IP=0.0.0.0
- CLIENT_PORT=1194
@ -67,6 +67,20 @@ $ ./setup.sh
$ docker-compose up -d
```
Some Advanced Config
```bash
$ cat ./data/openvpn.conf
...
### Push Configurations Below
push "route 114.114.114.114 255.255.255.255 net_gateway"
push "route 192.168.0.0 255.255.0.0 net_gateway"
push "route 172.16.0.0 255.240.0.0 net_gateway"
push "route 10.0.0.0 255.0.0.0 net_gateway"
$ docker-compose restart
```
## Bridge Setup
```bash