Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Robin Thoni 26d9607494 installed easy-rsa for rasbian 6 gadus atpakaļ
openvpn installed easy-rsa for rasbian 6 gadus atpakaļ
.gitignore init 6 gadus atpakaļ
README init 6 gadus atpakaļ
docker-compose.yml init 6 gadus atpakaļ
env init 6 gadus atpakaļ
update_vars.sh init 6 gadus atpakaļ

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 -D 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