jail questions

Chuck Musser cmusser at sonic.net
Mon Jun 1 22:46:26 PDT 2020


Thanks, that did work

> cd /usr
> make pkg-bootstrap

Thanks, that worked great. 

As for the other question about how the loopback address behaves, it
seems to act like that article describes: 127.0.0.1 in the jail
represents the first assigned address (at least for IPv4, I didn't test
IPv6). This is how it looks: 

xo# jail /home/chuck/full-jail/ full-jail 192.168.50.200 /bin/sh
# python3 -m http.server --bind 127.0.0.1 --directory /root/a 8000
Serving HTTP on 192.168.50.200 port 8000 (http://192.168.50.200:8000/)
... 

You can bind to 127.0.0.1, as shown, or to 192.168.50.200 directly.
Either way, the service is available at 192.168.50.200. 

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20200601/5a664a1c/attachment.htm>


More information about the Users mailing list