How to connect a jail to the web ?
Oliver Fromme
olli at lurza.secnetix.de
Thu Aug 12 12:52:18 UTC 2010
Brice ERRANDONEA <berrandonea at yahoo.fr> wrote:
> 192.168.1.38 is the private address of rl0 on my host. 93.0.168.242 is the
> public one. I tried both as the jail's address. With the private one, neither
> portsnap nor ping work at all.
>
> With the public one, I get this result :
> [...]
> FreeBSD# jexec 2 ping www.yahoo.fr
> ping: cannot resolve www.yahoo.fr: Host name lookup failure
> FreeBSD# jexec 2 ping 69.147.83.33
> PING 69.147.83.33 (69.147.83.33): 56 data bytes
> [...]
> 32 packets transmitted, 0 packets received, 100.0% packet loss
Please show the _complete_ output from "ifconfig" and "netstat -rnfinet".
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd
PI:
int f[9814],b,c=9814,g,i;long a=1e4,d,e,h;
main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a)
while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;}
More information about the freebsd-questions
mailing list