Switch to a different ip address range.
This commit is contained in:
parent
2e893733a8
commit
4de74765af
@ -1,5 +1,5 @@
|
|||||||
ext_if = "{ igb0 igb1 ix0 ix1 wlan0 }"
|
ext_if = "{ igb0 igb1 ix0 ix1 wlan0 }"
|
||||||
jail_net_v4 = "10.10.11.0/24"
|
jail_net_v4 = "10.193.223.0/24"
|
||||||
|
|
||||||
dhcp = "{ bootpc, bootps }"
|
dhcp = "{ bootpc, bootps }"
|
||||||
allow = "{ nat_uplink0 }"
|
allow = "{ nat_uplink0 }"
|
||||||
|
@ -24,7 +24,7 @@ mkpeer jail_nat_wg0: eiface link2 ether
|
|||||||
name jail_nat_wg0:link2 nat_link2
|
name jail_nat_wg0:link2 nat_link2
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
ifconfig $(ngctl msg 'nat_uplink0:' getifname | grep Args | cut -d '"' -f 2) name nat_uplink0 10.10.11.1/24 up
|
ifconfig $(ngctl msg 'nat_uplink0:' getifname | grep Args | cut -d '"' -f 2) name nat_uplink0 10.193.223.1/24 up
|
||||||
ifconfig $(ngctl msg 'jail_nat_wg0:link2' getifname | grep Args | cut -d '"' -f 2) name nat_link2
|
ifconfig $(ngctl msg 'jail_nat_wg0:link2' getifname | grep Args | cut -d '"' -f 2) name nat_link2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user