您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Robin Thoni 60357fd615 removed sleep from run.sh 5 年前
openvpn removed sleep from run.sh 5 年前
.gitignore init 5 年前
README fixed readme 5 年前
docker-compose.yml removed privileged mode 5 年前
env init 5 年前
update_vars.sh init 5 年前

README

Configure variables in `env`

Add route on host, enable and allow forwarding:
```
ip route add ${openvpn_subnet} via 10.116.0.10 src ${eth0_ip}
sysctl -w net.ipv4.ip_forward=1
iptables -A FORWARD -j ACCEPT
```

where `openvpn_subnet` is the subnet configured in `env` (OVPN_SUBNET_ADDR and OVPN_SUBNET_MASK) in CIDR form (x.x.x.x/xx) and `eth0_ip` is the visible ip of the host on the local (physical, not VPN) network.

Do not forget to add a route on your default gateway