Re: 10.0-RELEASE openvpn jail with ezjail

看板FB_questions作者時間11年前 (2014/07/07 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
July 6 2014 5:36 AM, "Marko Turk" wrote: > Hi, > > I'm trying to create an OpenVPN jail on 10.0-RELEASE using tun device. I have it working without issues. The only problem is that you cannot restart the daemon within the jail, you have to restart the jail. host's /etc/rc.conf: # needed for openvpn gateway_enable="YES" cloned_interfaces="tun0" in my ezjail openvpn config: export jail_openvpn_exec_prestart0="ifconfig tun0 10.8.0.1 10.8.0.2 netmask 255.255.255.0" export jail_openvpn_exec_prestart1="route add -net 10.8.0.0/24 10.8.0.2" That should get you pointed in the right direction. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1JkOxWy9 (FB_questions)
文章代碼(AID): #1JkOxWy9 (FB_questions)