Re: How to connect a jail to the web ?
- From: "Jack Raats" <jack@xxxxxxxxxxxx>
- Date: Wed, 11 Aug 2010 19:30:08 +0200
It seems that you have DNS problems.
Login in your jail
go to /etc
Make a file called resolv.conf
and it will work...
PS sorry for the top posting.
I'm using outlook express :-(
----- Original Message ----- From: "Brice ERRANDONEA" <berrandonea@xxxxxxxx>
To: "Roland Smith" <rsmith@xxxxxxxxx>; <freebsd-questions@xxxxxxxxxxx>
Sent: Wednesday, August 11, 2010 5:35 PM
Subject: Re : How to connect a jail to the web ?
I tried all of this without any result. But I won't give up.
What I want is a jail with an Apache http server running inside. So, the jail
must have a public IPv4 and access to the web.
What I'd understood of the jails' role (but I must have misunderstood) is that
it will have a different public ip than the host, so that if a pirate manage to
crack the server, he will only have access to the jail (the real public ip of
the host remaining secret). Then I'm surprised to learn that such traffic will
be routed through the host.
The jail is created. The next step now is to install the ports collection inside
with portsnap fetch. But each time I try to run this command inside the jail
(with jexec), I get the same answer :
Looking up portsnap.FreeBSD.org mirrors... none found.
Fetching public key from portsnap.FreeBSD.org... failed.
No mirrors remaining, giving up.
This makes me think my jail is not connected to the web. To check this, I tried
to ping various know websites. When I tried domain names, like "ping
www.freebsd.org", this error message appears :
ping: cannot resolve www.freebsd.org : Host name lookup failure
So, I can't contact DNS servers able to translate www.freebsd.org to its ip.
Since I know this ip, I tried : "ping 220.127.116.11". This time, the error
message is :
freebsd-questions@xxxxxxxxxxx mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Prev by Date: Re : Re : How to connect a jail to the web ?
- Next by Date: Re: How to connect a jail to the web ?
- Previous by thread: Re : Re : How to connect a jail to the web ?
- Next by thread: Re: Re : How to connect a jail to the web ?