Hello,
I'm trying to achieve multiple IPSec tunnels using racoon, and I am interested in taking a shot at the separation of the network flow between the three tunnels using jails. So each tunnel would be running on a single jail. I am curious to know if this is even possible.
I have successfully installed racoon, and did the tunnels without using the jails. Now I just installed ezjail. I'm just not sure what are the correct configuration for this.
I am following this guide. I need to include an IP address for each jail. Which IP address should I use? The physical IP address or the virtual?
Here is my network configuration from rc.conf
So as you can see, I have the physical addresses 192.168.1.1, 192.168.1.10, 192.168.1.100 and the tunnels are starting with 10s.
I'm trying to achieve multiple IPSec tunnels using racoon, and I am interested in taking a shot at the separation of the network flow between the three tunnels using jails. So each tunnel would be running on a single jail. I am curious to know if this is even possible.
I have successfully installed racoon, and did the tunnels without using the jails. Now I just installed ezjail. I'm just not sure what are the correct configuration for this.
I am following this guide. I need to include an IP address for each jail. Which IP address should I use? The physical IP address or the virtual?
Here is my network configuration from rc.conf
Code:
ifconfig_msk0="inet 192.168.1.1 netmask 255.255.255.0"
ifconfig_msk0_alias0="inet 192.168.1.10 netmask 255.255.255.255"
ifconfig_msk0_alias1="inet 192.168.1.100 netmask 255.255.0.0"
cloned_interfaces="gif0 gif1 gif2"
gif_interfaces="gif0 gif1 gif2"
gifconfig_gif0="192.168.1.1 192.168.1.2"
ifconfig_gif0="inet 10.0.0.1 10.0.0.2 netmask 255.255.255.0 mtu 1500"
gifconfig_gif1="192.168.1.10 192.168.1.20"
ifconfig_gif1="inet 10.30.0.1 10.30.0.2 netmask 255.255.255.0 mtu 1500"
gifconfig_gif2="192.168.1.100 192.168.1.200"
ifconfig_gif2="inet 10.60.0.1 10.60.0.2 netmask 255.255.255.0 mtu 1500"
So as you can see, I have the physical addresses 192.168.1.1, 192.168.1.10, 192.168.1.100 and the tunnels are starting with 10s.