Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: NeoRouter inside FreeBSD jail
PostPosted: Thu Jul 28, 2011 1:20 pm 
Offline

Joined: Mon Jul 25, 2011 9:01 pm
Posts: 14
As one of the dev's pointed out to me, OpenVPN works inside jails once you expose the tun device to the jail. I am trying to get the nrservice to run inside the jail and have tried the OpenVPN trickery by modifying devfs.rules for the jail but it still will not start. Wondering if anyone else has tried this and managed to successfully get it working?

I have followed this post on the FreeBSD forums and the included links at the bottom as well for OpenVPN to attempt to get it to work:

http://forums.freebsd.org/showthread.php?t=22143


However I still get the usual:

Quote:
/usr/local/bin/nrservice failed to start due to error -2147024894.


Top
 Profile  
 
 Post subject: Re: NeoRouter inside FreeBSD jail
PostPosted: Thu Jul 28, 2011 2:41 pm 
Offline

Joined: Mon Jul 25, 2011 9:01 pm
Posts: 14
Update:

I can get the nrservice to start in the jail and register as long as it is not started in the host.

Sorry if I wasted forum space but following the link below and giving jails access to the /dev/tap device will allow the jail to connect.


Top
 Profile  
 
 Post subject: Re: NeoRouter inside FreeBSD jail
PostPosted: Thu Jul 28, 2011 3:38 pm 
Offline

Joined: Mon Jul 25, 2011 9:01 pm
Posts: 14
Now I just need to work out the routing issues with it. Registering the jail if the nrserver service is on the jail host confuses things and the traffic gets routed to the host and not the jail.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron