You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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