Search results

  1. F

    Solved iocage jail with vnet cannot ping

    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...
  2. F

    Solved iocage jail with vnet cannot ping

    martinrame When you say you changed the gateway from 192.168.0.1 to 192.168.0.111 where did you change that? in the jail or on the host?
  3. F

    OpenVPN server in jail (using a tun device)

    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...
  4. F

    OpenVPN server in jail (using a tun device)

    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...
  5. F

    OpenVPN server in jail (using a tun device)

    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
  6. F

    OpenVPN server in jail (using a tun device)

    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...
  7. F

    OpenVPN server in jail (using a tun device)

    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...
  8. F

    OpenVPN Client in a 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...
Back
Top