Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2001 22:11:13 +0300 (MSK)
From:      Dmitry Mottl <dima@sinp.msu.ru>
To:        freebsd-questions@freebsd.org
Message-ID:  <Pine.BSF.4.43.0112162210510.71267-100000@BigKing.sinp.msu.ru>

next in thread | raw e-mail | index | archive | help
Hi All!

I have an error when I try to use IPv4 ping under jail:
socket: Operation not permitted

I have FreeBSD 4.4-RELEASE
#/sbin/ifconfig -a
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::200:e8ff:fe62:b65%ed0 prefixlen 64 scopeid 0x1
        inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:00:e8:62:0b:65
#mount -t union /sbin /jail/sbin
#mount -t union /bin /jail/bin
#jail /jail host1 192.168.0.2 /bin/sh
#ping 192.168.0.1
ping: socket: Operation not permitted
ps. tcp/udp routines runs fine.

And I have a second question.
I have two interfaces:
ed0 192.168.0.1 - my private subnet
ppp0 xxx.xxx.xxx.xxx - internet
and a jail on ed0: 192.168.0.2

So, can I organize routing between jail (192.168.0.2) and internet?
Only throw local proxy?

Thank You!

--
best regards,
Dmitry Mottl


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.43.0112162210510.71267-100000>