|
@@ -4,7 +4,7 @@ Add route on host, enable and allow forwarding:
|
4
|
4
|
```
|
5
|
5
|
ip route add ${openvpn_subnet} via 10.116.0.10 src ${eth0_ip}
|
6
|
6
|
sysctl -w net.ipv4.ip_forward=1
|
7
|
|
-iptables -D FORWARD -j ACCEPT
|
|
7
|
+iptables -A FORWARD -j ACCEPT
|
8
|
8
|
```
|
9
|
9
|
|
10
|
10
|
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.
|