File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ mknod /dev/net/tun c 10 200' /etc/rc.local
11
11
12
12
13
13
## Add firewall rules
14
- We will be using ` 169.254.11 .0/29 ` as our VPN subnet.
14
+ We will be using ` 10.16.0 .0/24 ` as our VPN subnet.
15
15
16
16
* Add ` tun0 ` device to LAN zone and allow port 1194 UDP from WAN:
17
17
@@ -41,7 +41,7 @@ set firewall.ovpn_nat=nat
41
41
set firewall.ovpn_nat.target='MASQUERADE'
42
42
set firewall.ovpn_nat.src='*'
43
43
set firewall.ovpn_nat.name='OpenVPN-NAT'
44
- set firewall.ovpn_nat.src_ip='169.254.11 .0/29 '
44
+ set firewall.ovpn_nat.src_ip='10.16.0 .0/24 '
45
45
commit firewall
46
46
EOF
47
47
# /etc/init.d/firewall restart
@@ -98,7 +98,7 @@ Repeat the last step for any additional clients.
98
98
package openvpn
99
99
config openvpn "$(echo $EASYRSA_REQ_CN | sed 's/\./_/g')"
100
100
option enabled "1"
101
- option server "169.254.11 .0 255.255.255.248 "
101
+ option server "10.16.0 .0 255.255.255.0 "
102
102
option proto "udp"
103
103
option port "1194"
104
104
option dev "tun"
You can’t perform that action at this time.
0 commit comments