It is currently Thu, 08 Jun 2023 12:17:56 GMT



 
Author Message
 Problem with addressing using ipfw and natd.
I have a small LAN with three computers on it, and a fourth operating as a
gateway.  The gateway runs natd/ipfw to provide Internet access to the
internal systems.  I have several public IP addresses so all four systems
are addigned a public IP and a natd 'redirect_address' is used to divert
appropriate traffic to the internal systems.  I use ipfw to firewall what
can get there.  So far so good.  Works.  Works well.

Problem now is that I want to do some traffic monitoring and track the
traffic diverted to each of the internal systems.  I thought I could simply
do this using something like:

  ipfw add 50 count all from any to {address1}
  ipfw add 50 count all from {address1} to any
  ipfw add 50 count all from any to {address2}
  ipfw add 50 count all from {address2} to any
   ...etc...

Having done this I can see that the incoming traffic is counted fine but
outgoing is not... probably because it shows the private (192.168.x.x)
address as the origin.  I don't really want to count all the traffic on the
internal network because there is a lot there that I am not interested in --
just what goes in and out to the Internet.

Can anyone suggest how I may be able to get around this?

Thanks
Don



 Fri, 17 Oct 2003 23:21:34 GMT   
 
   [ 1 post ] 

Similar Threads

1. need help with port redirects using natd/ipfw

2. Firewall Using IPFW NATD and DHCP

3. Help: Using ipfw/natd to connect+control an unregistered net to the Internet

4. ipfw + natd problem

5. ipfw + natd; port redirection problem

6. ipfw + natd problem

7. IPFW/NATD redirect_port problem

8. natd and ipfw problem?

9. Problem with NATD,IPFW and PORT_REDIRECT

10. Newbie problem - IPFW and NAtd


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software