Link to home
Start Free TrialLog in
Avatar of catalini
catalini

asked on

ubuntu machine as bridge between two eth cards

I would like to use an ubuntu machine as a safe filter for an internet connection. The machine has two ethernet cards, one connected to the internet with dhcp and another connected to a local LAN with static IP.

How should i configure the ubuntu machine to send only port 80 traffic to the local LAN? thanks!
ASKER CERTIFIED SOLUTION
Avatar of Fatal_Exception
Fatal_Exception
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of catalini
catalini

ASKER

i just would like to make local lan access port 80...

when i boot ubuntu with both cards enabled i cannot navigate anymore even on the linux machine...
Did you setup the firewall?  as shown in the link above?

Masquerading is also known as NAT. To enable it, login to Webmin, go to the networking section, and click on firewall. It will ask you to configure it now. press "Do network address translation on external interface:" and choose the external interface (the one that is connected to the internet) and click on "Enable firewall at boot time?" then click on "Setup Firewall".
Hope you got it, and thanks!

FE