Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Robin Thoni 60357fd615 removed sleep from run.sh il y a 5 ans
openvpn removed sleep from run.sh il y a 5 ans
.gitignore init il y a 5 ans
README fixed readme il y a 5 ans
docker-compose.yml removed privileged mode il y a 5 ans
env init il y a 5 ans
update_vars.sh init il y a 5 ans

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