Assign Lookback address 127.0.0.1 to jail

s7r at sky-ip.org s7r at sky-ip.org
Wed Jun 11 00:12:25 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Operating system is FreeBSD 10.0 64 Bit

I have installed ezjail from ports and properly configured a jail with
its own static and dedicated IP address. Everything works good, it's
just that I have an application which requires to talk to another one
via RPC on IP 127.0.0.1, and I have noticed the jail does not have a
lo0 interface or localhost 127.0.0.1 IP address.

This is bad because the application has no choice but to bind to the
public IP address assigned to the jail, and it's not safe.

How can I add a lo0 interface with IP 127.0.0.1 to a jail?

Thanks in advance.
- -- 
s7r
PGP Fingerprint: 7C36 9232 5ABD FB0B 3021 03F1 837F A52C 8126 5B11
PGP Pubkey: http://www.sky-ip.org/s7r@sky-ip.org.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTl52nAAoJEIN/pSyBJlsRAgUH/iAk37ZUDob/HOfkcRHsKlwI
hMrbPN6c6Beyx9unwKnyjtO+uP2R4PXK9acDM2vSRWlRrXWcanyQRpuf2gFlsaw4
H+MXNnHd/h5DX4ImfgNpajhpPEWB+inGJgWtP0rK4cmNAGk2YxdI1kkjgK4sCTxb
RYhD2dlbO9hSqLAV52CFEDAX1qOpl2/+sQR7mODfwCuaa/G9M4/tTwwOqK5/EAYA
ebjB2iZC0ll6Z51ARFKt9nbKuZOcD5ut1+yU4LcRHst+R/DSG/V5OzAnhsvDy7ma
zd34fEje83ZRA1v4HZRGixM/r5Hk/4mQQFHg6wQPjZPGo+JKGxP3sWOv3lJj6pI=
=ic9O
-----END PGP SIGNATURE-----


More information about the freebsd-jail mailing list