From owner-freebsd-jail@FreeBSD.ORG Sat Oct 18 08:28:34 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD89810656A0 for ; Sat, 18 Oct 2008 08:28:34 +0000 (UTC) (envelope-from uros.gruber@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id B45C58FC19 for ; Sat, 18 Oct 2008 08:28:34 +0000 (UTC) (envelope-from uros.gruber@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so828498rvf.43 for ; Sat, 18 Oct 2008 01:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=AYQriRKFFQ9cd6iQWYi6VLh3VwYLIjrPGVK5blM+qYY=; b=rkIfS5lakQjbdVURCZaKFdvU5UKkpZ6NfPdyFXj6ZABY/8jLXuui/zbP3yw0Lg5XB/ 71oPf51d33v8z+szZZQAKhqsawxPNfkZIzun98pfhNtcjZso3v9ooKD4WN1dcqrSw6Wd 8oIUDCP9WPnld3CstFpGmE+Nw2TDznOf5FIls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=jMWu/5g2W7lHOkFsL+rNZjvFA2y08qGSRId+L3reC3v46Nf11M6oaGq1xcKeJYFUxD 0KsOF7XmwdFxr+uKJ2gjBaO2fxjRfBAc0Q71Ie9yI3byFVzLbTgedPWMslX7DJxf6B4a dO4uE113CH3KzPDqYwGOkBGFPTN7tkr7HLLtY= Received: by 10.140.249.20 with SMTP id w20mr3128316rvh.189.1224317259960; Sat, 18 Oct 2008 01:07:39 -0700 (PDT) Received: by 10.140.172.10 with HTTP; Sat, 18 Oct 2008 01:07:39 -0700 (PDT) Message-ID: <3ef844230810180107k6d1c4c67vd33f83aa25960ee@mail.gmail.com> Date: Sat, 18 Oct 2008 10:07:39 +0200 From: "=?UTF-8?Q?Uro=C5=A1_Gruber?=" To: freebsd-jail@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Local IP in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 08:28:35 -0000 Hi, I'm setting up new jail and I was thinking enabling it on some local IP (10.1.1.1 for example). I added an alias in rc.conf and also created the jail. The only problem I have is routing is not working as it should. I don't know if it is because of jail or do I need to add manual routing for this IP to be able comunicate with outside world. Is it even possible to work this way and than use ipf to redirect trafic onto jail itself? Thanks in advance Uros