LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-28-2006, 07:17 PM   #1
gjhicks
Member
 
Registered: Jun 2004
Location: Melbourne, Australia
Posts: 47

Rep: Reputation: 15
monitoring masqueraded ip addresses?


Hi,

I am trying to find a way to monitor the usage by individual IP addresses of a masqueraded NAT internet connection, using a 2 nic linux server box, like below:

[internet] ---- [adsl modem] ---- nic-1 [linux server box, using iptables] nic-2 ---- [internal lan]

The nic connected to the adsl modem is called 'outside' and the nic connected to the internal lan is called 'inside'.

So, tried 'tcpdump' and 'ethereal' but all I get is:
- information on the traffic from/to the internal lan IP addresses to the inside nic
- information on the traffic from/to the outside nic to the internet.

Thus, no information on which of the internal lan IP addresses is requesting which information from the internet.

Is there a way to get information on which internal lan IP address is making which external internet request? That is, is it possible to 'see' through the masqueraded linux server box?

Thanks and regards,

Geoff.
 
Old 05-28-2006, 07:40 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I am not at my router to experiment with but maybe IPtraf can work. Also filter the dump using the mac address of the nic may help as well.

Brian1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
restrict masqueraded users to access an IP, only one at a time Menestrel Linux - Networking 1 11-22-2005 12:46 PM
How does a masqueraded machine get scanned? oneandoneis2 Linux - Security 2 05-23-2005 05:52 AM
Setting up email on an ip masqueraded box bulliver Linux - Networking 5 06-01-2004 06:03 AM
checking outgoing (masqueraded) ip-number of gatway from a lan client. eNTi Linux - Networking 1 12-10-2002 04:23 PM
Bypassing a router to a masqueraded PC DarkBeethoven Linux - Networking 1 06-01-2002 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration