Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-03-2004, 07:10 PM   #1
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.
Old 05-03-2004, 07:43 PM   #2
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, 08:24 PM   #3
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, 08:32 PM   #4
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:15 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 05:54 PM
Redhat Linux 9 as mail relay for Windows Network mediamvp Linux - Networking 1 02-20-2004 03:57 PM
Smtp Relay john8675309 Linux - Networking 2 02-12-2004 01:14 AM
Relay or not to relay? Manuel-H Linux - General 2 04-20-2003 04:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 PM.

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