LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2004, 06:10 PM   #1
neozero62
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 103

Rep: Reputation: 15
Post Network Relay


Hello, I was wondering if there was a way I could pass my internet connection threw a linux box, probably Redhat or Fedora. I have multi clients internaly with internal Class C IP's. I would like to put the linux box between my router, and my clients, to enable me to run etherape/ethereal. I have two NIC's in the box, and my router is also a DHCP Server. Is this possable to do? Thanks for your time.
-Randy
 
Old 05-03-2004, 06:43 PM   #2
bardinjw
Member
 
Registered: Apr 2003
Location: boston
Distribution: ubuntu debian redhat fedora
Posts: 108

Rep: Reputation: 15
you can setup the computer as a proxy server.

if you want a quick way to view traffic on the switch, enable ipforwarding, and use arpspoof.
do some searching if you want to learn about them.
i'm sorry i don't have time to type up arp poisoning tutorial. besides, if i use tools, i like to know a little about how they work
 
Old 05-03-2004, 07:24 PM   #3
neozero62
Member
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 103

Original Poster
Rep: Reputation: 15
Hey, Thanks man, I have no problem with reading, I was just comming up short handed.
 
Old 05-03-2004, 07:32 PM   #4
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
You could have one network from the NAT router to a hub, the sniffer/monitor box plugged into the hub, a cable from the hub to a switch that connects to the rest of the network.

If you want the traffic to pass from one NIC to the other in the linux box then you can either a) get it to act as a bridge or b) put the NAT router and the interface it is connected to in a different subnet to everything else, run a dhcp server on the LAN interface that points the clients default gateway to that interfaces ip and enable ip forwarding

or c) use the linux box as a NAT+dhcp server or d)use a proxy and configure all the machines to use it.

I'd use a hub or option b
 
  


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
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
Redhat Linux 9 as mail relay for Windows Network mediamvp Linux - Networking 1 02-20-2004 02:57 PM
Smtp Relay john8675309 Linux - Networking 2 02-12-2004 12:14 AM
Relay or not to relay? Manuel-H Linux - General 2 04-20-2003 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 PM.

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