Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 18:49:50 -0700
From:      Chris <snagit@cbpratt.prohosting.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   rewrite of multiple incoming IPs into a single IP
Message-ID:  <BFB90477-84A5-449D-9AA7-66CF46FE09B4@cbpratt.prohosting.com>

next in thread | raw e-mail | index | archive | help
I have spent the day trying to get multiple IP addresses rewritten to  
a single address using IPFW and NATD. Is there a simple way to do  
this. If I put natd on the public interface, it grabs it and the  
system hangs at boot. Is there an interface for keeping the packets  
local to the system where divert can pass them, natd rewrite them and  
reinsert them into ipfw? The application is what I asked about two  
days ago, funneling multiple external websites on different addresses  
into a single jail that works of Apache's NameVirtualHost. Thought it  
was the easy part but so far it's the only part that is not working,  
the jail and apache work great. I think I need a divert rule that  
goes to an internal interface (tun0?) and be able to start natd on  
that interface. I actually tried tun0 but it was not recognized (I'm  
not configuring for ppp). It would seem that if I can get over this  
hurdle, I could use the redirect_address within natd to perform the  
magic I need.

Please tell me if I'm trying to do something absurd or if this should  
be directed to a different list.

Thanks
Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFB90477-84A5-449D-9AA7-66CF46FE09B4>