This is probably really stupid, and I'm in no way a FreeBSD newb, but I'm new to jails, I used to run everything on the main OS, but now I'm trying to setup things that are going to be open to the Internet (like NextCloud, a VPN, DNS) so I want them jailed... I've setup my jails no problem (thanks to
My router doens't support tagged VLANs, btw, if that could be part of my problem...
I've tried to setup forwarding rules in
I'm trying to open a HTTP connection to a jailed process on port 32400 (the NextCloud server)... I've loaded
Could anyone please tell me how you setup networking in a jail properly?
I can connect to it locally no problem, on the same machine, but I can't connect to my jail from the LAN... I need to open the jail to the LAN, and assigning a secondary IP to my interface doesn't work, and ideally, I'd want my jail to acquire a DHCP lease from the router...
Thanks in advance for any help,
bsdinstall jail
[that's really neat, thanks]), and I know jail, jls, jexec
, and I've tried to create pseudointerfaces like bge0.1 and binding the jail to that, I've also tried to bridge bge0.1 to bge0, and then I could get a DHCP lease for bge0 from my cable modem/router, but I can't get a DHCP lease from my jail, it broadcasts to 255.255.255.255 but gets no reply...My router doens't support tagged VLANs, btw, if that could be part of my problem...
I've tried to setup forwarding rules in
ipfw
and that doesn't seem to work either...I'm trying to open a HTTP connection to a jailed process on port 32400 (the NextCloud server)... I've loaded
accf_data
and accf_http
, that wasn't it either...Could anyone please tell me how you setup networking in a jail properly?
I can connect to it locally no problem, on the same machine, but I can't connect to my jail from the LAN... I need to open the jail to the LAN, and assigning a secondary IP to my interface doesn't work, and ideally, I'd want my jail to acquire a DHCP lease from the router...
Thanks in advance for any help,