From 4de74765af9f8c1100ce27839be61e26f4db8316 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 29 Oct 2022 20:11:25 -0400 Subject: [PATCH] Switch to a different ip address range. --- ansible/roles/firewall/files/odofreebsd_pf.conf | 2 +- ansible/roles/jail/files/setup_netgraph_odo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/firewall/files/odofreebsd_pf.conf b/ansible/roles/firewall/files/odofreebsd_pf.conf index 1b942d0..33851d9 100644 --- a/ansible/roles/firewall/files/odofreebsd_pf.conf +++ b/ansible/roles/firewall/files/odofreebsd_pf.conf @@ -1,5 +1,5 @@ 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 }" allow = "{ nat_uplink0 }" diff --git a/ansible/roles/jail/files/setup_netgraph_odo b/ansible/roles/jail/files/setup_netgraph_odo index 3241a27..86eefb0 100644 --- a/ansible/roles/jail/files/setup_netgraph_odo +++ b/ansible/roles/jail/files/setup_netgraph_odo @@ -24,7 +24,7 @@ mkpeer jail_nat_wg0: eiface link2 ether name jail_nat_wg0:link2 nat_link2 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 }