Solved

ubuntu machine as bridge between two eth cards

Posted on 2007-04-06
4
1,525 Views
Last Modified: 2013-11-15
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!
0
Comment
Question by:catalini
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 40

Accepted Solution

by:
Fatal_Exception earned 500 total points
ID: 18868063
You just set it up as a router, and allow traffic to the internal LAN from a request by your local PC..  anything else should be discarded...

Here is a basic router setup for ubuntu..

http://ubuntulinuxhowto.blogspot.com/2006/06/setup-your-computer-to-be-router.html
0
 

Author Comment

by:catalini
ID: 18868096
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...
0
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 18868109
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".
0
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 18879675
Hope you got it, and thanks!

FE
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question