Download your favorite Linux distribution at LQ ISO.
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 02-01-2010, 07:04 AM   #1
LQ Newbie
Registered: Jul 2007
Location: Russia
Posts: 3

Rep: Reputation: Disabled
how to forward eth1 to eth0

we are currently having a windows virus outbreak in our corporate network, all the it guys using windows machines and they are infected of course.

My question is I have a internet enabled ubuntu 9.10 machine with two nics.

eth0 is for internet and I wanna distribute my internet connection from my other nic.

There are alotta switches and access points in our network but i placed my ubuntu desktop just like the infected windows machine. Everything seems working except other clients internet connections.

Please can you show me how to share internet connection on eth0 to eth1

all the clients use this ip schema
and I don't wanna edit their connection setting on their sides.

modem-------eth0 ---------eth1--------switch-----clients
Old 02-01-2010, 08:10 AM   #2
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154

Rep: Reputation: 23
you can use these links to forward packets:
Old 02-01-2010, 08:27 AM   #3
LQ Newbie
Registered: Jul 2007
Location: Russia
Posts: 3

Original Poster
Rep: Reputation: Disabled

Thank you for your quick response but last two links generate 404 error.

I solve my problem (not packet forwarding but the connection sharing over network problem) with Untangle distribution but I don't like it because now we can't control users' bandwidth.Maybe there is a way I don't know yet.

Any help appreciated
Thanks in advance.


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
Forward Port 80 from eth0 to eth1 emjga Linux - Networking 1 02-04-2009 11:57 AM
howto acess intrnet thru eth1(wireless card)in winXP via briging in linux(eth0-eth1) labhesh_popli Linux - Wireless Networking 1 09-21-2006 01:11 AM
port forward from eth0 to eth1 ryanzietlow Linux - Networking 8 03-01-2005 10:08 AM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 12:12 PM
Kernel 2.4.22 finds eth0 and eth1 but 2.6.0 does not find eth1 coollink Linux - Networking 3 01-13-2004 07:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:04 AM.

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
Open Source Consulting | Domain Registration