martinrame So I have tried to emulate this with no luck. I am running FreeBSD 12.2 Stable in a virtual box. My host ip is 10.0.2.15 my gateway is 10.0.2.2. I can't even get an ip for the jail. My goal is to have VPN running on the host and the jail not use the VPN interface.
My hosts...
I have allowed raw sockets and I can ping when I disable the firewall. When I enable the firewall I can no longer ping because the jail is not using the tun0 interface and if I change the interface it doesn't work I get a error in the jail.conf because the ip is not in the range for tun0 I will...
You would think that by default it uses the tun0 interface but in fact it doesn't because when I ping I get "permission denied" and not "timed out" that means the firewall is blocking it because it is not using tun0. I think it would be my fault because qjail allows to change the network...
I am using finch for managing the jails and qjail console "$jailname" is how I enter the jail. I am not sure if finch uses ezjails but I think it does and that might explain some of my problems with getting it working.
Thanks
Thanks a lot for the update I really appreciate it. I actually stumbled across the github link you have given here yesterday but have not have had a chance to try it out. I am very new to FreeBSD and am just wondering if I create a jail (not for the VPN) but run the VPN on the host will the jail...
Hello Junovitch,
Thanks for the help can you let me know where are these rules supposed to go rc.conf file on the host?
jail_<jail name>_ip_multi0="tun0|10.8.0.1 10.8.0.2 netmask 255.255.255.255"
jail_<jail name>_exec_prestart0="/sbin/route add -net 10.8.0.0/24 10.8.0.2"
jail_<jail...
Where do you place the jail_vpn_ip_multi0="tun0|10.0.51.66 10.0.51.65 mtu 1500 netmask 255.255.255.255" is that going in the rc.conf for the host system? this thread really jumps around and is hard to follow could you possibly paste the steps taken that achieve the end result? I could really use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.