From owner-freebsd-questions Wed Aug 22 10:40:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from thunder.shellsandhosting.com (shellsandhosting.com [64.39.176.9]) by hub.freebsd.org (Postfix) with ESMTP id 7274137B406 for ; Wed, 22 Aug 2001 10:39:31 -0700 (PDT) (envelope-from admin@shellsandhosting.com) Received: from critter (enzo@critter [10.0.0.2]) by thunder.shellsandhosting.com (8.11.5/8.11.3) with SMTP id f7MHdQh41670; Wed, 22 Aug 2001 17:39:26 GMT (envelope-from admin@shellsandhosting.com) Message-ID: <006001c12b31$47694e00$0200000a@critter> From: "ShellsAndHosting.com Administration" To: Cc: Subject: vhosts problem Date: Wed, 22 Aug 2001 13:38:38 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 ----- Original Message ----- From: "ShellsAndHosting.com Administration" To: Sent: Wednesday, August 22, 2001 7:29 AM Subject: Re: vhosts problem > Hi, > Thank's for your reply. > Currently I only have 1 rdr rule pointing 1 of my external ips to an > internal web server. > How would bimap rulesets help export vhosts for say irc from the FreeBSD > gateway? > All help is greatly appreciated. > > Jason > > ----- Original Message ----- > From: "Crist J. Clark" > To: "ShellsAndHosting.com Administration" > Cc: > Sent: Wednesday, August 22, 2001 1:00 AM > Subject: Re: vhosts problem > > > > On Tue, Aug 21, 2001 at 09:04:02PM -0400, ShellsAndHosting.com > Administration wrote: > > > Hi everyone, > > > > > > For the last week I have been trying everything I know to try an work > out my problem. Since it seems I have exausted all my resources, I figured > I'd try here. > > > I'm trying to export vhosts on my system and it isnt working. > > > I'm using FreeBSD 4.4-RC, along with ipnat/ipf and my connection is > pppoe. > > > I have 1 assigned ip I connect with(static), the one tun0 obtains. > > > I also have a block of static external addressed assigned on my external > interface rl0, also obtained from my isp. > > > My connection ip isn't from the same ip block as my /29 obtained from my > ISP. > > > It seems all my incoming connections to each different ip on the block > worka fine. I am fully able to ipnat the ip to another internal box via sis0 > the internal interface. > > > The problem is all my outbound connections are all seen as from tun0 > interface ip, even when I export an ip or hostname locally. > > > How is it possible to be able to export hosts, and have one of my ip > block addresses seen on the internet, as opposed to having all outbound > traffic seen from the 1 tun0 connection ip? > > > > Sounds like you want to be using 'bimap' rules in ipnat(5). How is > > ipnat(1) currently configured? > > -- > > Crist J. Clark cjclark@alum.mit.edu > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message