This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Jail Internet Connectivity Behind VPN

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
jay610
Starter
Starter
Posts: 22
Joined: 07 Jan 2013 17:19
Status: Offline

Jail Internet Connectivity Behind VPN

Post by jay610 »

NAS4Free 9.0.0.1 (revision 249) x64-full
INTEL MOPNV10N Intel(R) Atom(TM) CPU D510 @ 1.66GHz 4864MiB RAM

bus=1 hubaddr=2 port=4 devaddr=2 interface=0 PLIP network interface
RTL8169S/8110S/8211 1000BASE-T media interface Intel 82801GB/R (ICH7)
USB 2.0 controller Intel 82801G (ICH7) USB controller USB-A Intel
82801G (ICH7) USB controller USB-B Intel 82801G (ICH7) USB controller
USB-C Intel 82801G (ICH7) USB controller USB-D
Description:
Hi.

I've now got everything setup with a wiki-created jail (no brig for me because
legacy version) and installs of the usual python friends CP, SB, Sabz, etc. I
also have OpenVPN running on my host machine at boot.

HOWEVER.

The jail has no internet connectivity when the VPN is on. It works fine when the VPN is killed, but I'd kind of like to have the VPN on :).

I've seen the question posed around the forum before but not clearly answered. I have a feeling TheBrig allows for a ticked box to solve this, but I had to use
the wiki to create my jail so I am lost here.

Surely this is not so difficult to sort out?

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: Jail Internet Connectivity Behind VPN

Post by chrisf4lc0n »

Sorry I cannot help here, never worked with Jails, as I do not see the point of creating a Jail for the openVPN.
Watercooling is just the beginning ;)

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Jail Internet Connectivity Behind VPN

Post by alexey123 »

jay610 wrote: Description:
Hi.

I've now got everything setup with a wiki-created jail (no brig for me because
legacy version) and installs of the usual python friends CP, SB, Sabz, etc. I
also have OpenVPN running on my host machine at boot.

HOWEVER.

The jail has no internet connectivity when the VPN is on. It works fine when the VPN is killed, but I'd kind of like to have the VPN on :).

I've seen the question posed around the forum before but not clearly answered. I have a feeling TheBrig allows for a ticked box to solve this, but I had to use
the wiki to create my jail so I am lost here.

Surely this is not so difficult to sort out?
TheBrig use /etc/rc.d/jail file for create and start jails. It way was simple for make TheBrig compatible to wiki style
But this way have many minors.
1. Jail root user connot mount jail-friendly filesystems.
2. Currently jail user cannot mount zfs volumes
3. VPN not work properly under jail.
I work on this issues
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

jay610
Starter
Starter
Posts: 22
Joined: 07 Jan 2013 17:19
Status: Offline

Re: Jail Internet Connectivity Behind VPN

Post by jay610 »

Thanks for the explanation. I have found some topics around the BSD forums from people getting this to work and have tried some stuff that didn't work.

It's above my level so I will work around it until someone more skilled than me figures it out.


Cheers alexey

joed
NewUser
NewUser
Posts: 1
Joined: 06 Jan 2014 16:51
Status: Offline

Re: Jail Internet Connectivity Behind VPN

Post by joed »

Hi,

I have the same problem, when OpenVPN is running on the host i get no connection to internet on my jail. But when my VPN is down it's all working smoothly. But of course, I'd rather have my vpn-connection up.

Have you found a solution @jay610?

// Joe

jay610
Starter
Starter
Posts: 22
Joined: 07 Jan 2013 17:19
Status: Offline

Re: Jail Internet Connectivity Behind VPN

Post by jay610 »

Hi Joe

I punted. I found some suggestions on the FreeBSD forums as well as some general advice elsewhere on the net about ARP tables, but never could get it going. Time is scarce for me these days so I just had to forget about it unless someone else can post a solution here.

Post Reply

Return to “Jails”