Re: Jails routing and localhost

2018-06-11 Thread Ole
Thu, 18 Jan 2018 14:32:06 -0500 - "Isaac (.ike) Levy" : > Hope this helps, tell us how it goes! Sorry for the delay. I couldn't figure out how to solve this problem and I decided to to take the bull by the horns and migrated everything from ezjail to iocage with vnet interfaces. This solves the

Re: Jails routing and localhost

2018-01-19 Thread Ole
Hi Dewayne, Fri, 19 Jan 2018 10:36:43 +1100 - Dewayne Geraghty : > If you're paranoid, I also add a firewall rule to restrict traffic > from/to specific ports and IP's over lo0.  If you have anything > sensitive you might also consider this restriction.   Though I would > recommend using "tcpdum

Re: Jails routing and localhost

2018-01-19 Thread Ole
Hi Luke, Thu, 18 Jan 2018 19:03:32 + - Luke Crooks : > Hi Ole, > > I am by no means an expert, but to me I see your problem is here.. > > > # ezjail-admin create somejail 'lo1|b.b.b.238,lo1|127.b.b.238' > > You are binding the jail to the same network controller lo1. > > Usually you w

Re: Jails routing and localhost

2018-01-18 Thread Dan Langille
> On Jan 18, 2018, at 2:32 PM, Isaac (.ike) Levy > wrote: > > Hi Ole, > > I cannot comment on ezjail specifics, but can add notes on how jails > fundamentally handle localhost, which may help you, > > On Thu, Jan 18, 2018, at 7:23 AM, Ole wrote: >> Hi, >> >> I have some questions about how r

Re: Jails routing and localhost

2018-01-18 Thread Dewayne Geraghty
___ freebsd-jail@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"

Re: Jails routing and localhost

2018-01-18 Thread Isaac (.ike) Levy
Hi Ole, I cannot comment on ezjail specifics, but can add notes on how jails fundamentally handle localhost, which may help you, On Thu, Jan 18, 2018, at 7:23 AM, Ole wrote: > Hi, > > I have some questions about how routing works for jails. > > I have a FreeBSD 11.1 host in a datacenter. Whic

Re: Jails routing and localhost

2018-01-18 Thread Luke Crooks
Hi Ole, I am by no means an expert, but to me I see your problem is here.. # ezjail-admin create somejail 'lo1|b.b.b.238,lo1|127.b.b.238' You are binding the jail to the same network controller lo1. Usually you would bind the jail like.. # ezjail-admin create somejail 'lo1|127.0.0.238, em

Jails routing and localhost

2018-01-18 Thread Ole
Hi, I have some questions about how routing works for jails. I have a FreeBSD 11.1 host in a datacenter. Which has only a routed IP and different /29 routed networks. The IP is setup as /32 and there is a default route to the router of the datacenter: #ifconfig em1 (...) inet a.a.a.5