Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2005 13:57:04 -0400
From:      "Raymond Wagner" <wagnerrp@email.uc.edu>
To:        <freebsd-net@freebsd.org>
Subject:   Routing path of jail
Message-ID:  <200506271757.CNA88994@mirapoint.uc.edu>

next in thread | raw e-mail | index | archive | help
I am setting up a firewall (IPFW and NATD) for use on a DSL line with
several public IPs.  I have set up one alias on my external interface for
each IP I am allotted and am trying to force a program to run on one of the
aliased addresses.  I am using lynx and the website www.whatismyip.com to
determine what IP it is using.

Currently, I have been trying to use a jail to achieve this.  From what I
can tell, the jail uses the first address on the external interface as a
gateway.  Lynx returns the public IP bound to the first address, and my IPFW
logs show the same thing.  Now using NATD, I have been able to forward
computers inside the firewall to one of the other public IP addresses, but I
can't get it to work for jail.  If there some setting I need to put into the
routing tables?  Or is there some weird forwarding scheme I can use with
NATD to achieve this?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506271757.CNA88994>