LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to forward eth1 to eth0 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-forward-eth1-to-eth0-786187/)

y.e.esen 02-01-2010 07:04 AM

how to forward eth1 to eth0
 
Hi
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
1.2.1.xxx
255.255.255.0
1.2.1.1
and I don't wanna edit their connection setting on their sides.

modem-------eth0 ---------eth1--------switch-----clients

sohail0399 02-01-2010 08:10 AM

you can use these links to forward packets:


http://www.linuxjournal.com/article/2408

http://www.cyberciti.biz/tips/linux-...etworking.html

http://ftp.utcluj.ro/pub/docs/how-to...tiple-Ethernet

y.e.esen 02-01-2010 08:27 AM

Quote:

Originally Posted by sohail0399 (Post 3848287)


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.


All times are GMT -5. The time now is 07:52 PM.