Switch to a different ip address range.

This commit is contained in:
Tom Alexander 2022-10-29 20:11:25 -04:00
parent 2e893733a8
commit 4de74765af
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 2 additions and 2 deletions

View File

@ -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 }"

View File

@ -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
} }