Ver código fonte

fixed readme

tags/v1.0.0
Robin Thoni 7 anos atrás
pai
commit
80f4abd6e1
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      README

+ 1
- 1
README Ver arquivo

4
 ```
4
 ```
5
 ip route add ${openvpn_subnet} via 10.116.0.10 src ${eth0_ip}
5
 ip route add ${openvpn_subnet} via 10.116.0.10 src ${eth0_ip}
6
 sysctl -w net.ipv4.ip_forward=1
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
 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.
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.

Carregando…
Cancelar
Salvar