From owner-freebsd-questions Sun Dec 16 11:11:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from SRDMAIL.SINP.MSU.RU (bigking.sinp.msu.ru [213.131.9.130]) by hub.freebsd.org (Postfix) with ESMTP id DE72237B41D for ; Sun, 16 Dec 2001 11:11:36 -0800 (PST) Received: from dima (helo=localhost) by SRDMAIL.SINP.MSU.RU with local-esmtp (Exim 3.33 #3) id 16Fggr-000IXt-00 for freebsd-questions@freebsd.org; Sun, 16 Dec 2001 22:11:13 +0300 Date: Sun, 16 Dec 2001 22:11:13 +0300 (MSK) From: Dmitry Mottl To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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