mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 11:58:47 +00:00
update openvpn
This commit is contained in:
parent
4ad4e8ebcd
commit
bf905d9250
@ -47,7 +47,7 @@ fteproxy:
|
|||||||
- "1194:1194"
|
- "1194:1194"
|
||||||
environment:
|
environment:
|
||||||
- MODE=client
|
- MODE=client
|
||||||
- SERVER_IP=vpn.easypi.info
|
- SERVER_IP=vpn.easypi.pro
|
||||||
- SERVER_PORT=4911
|
- SERVER_PORT=4911
|
||||||
- CLIENT_IP=0.0.0.0
|
- CLIENT_IP=0.0.0.0
|
||||||
- CLIENT_PORT=1194
|
- CLIENT_PORT=1194
|
||||||
@ -67,6 +67,20 @@ $ ./setup.sh
|
|||||||
$ docker-compose up -d
|
$ 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
|
## Bridge Setup
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user