Solved

ubuntu machine as bridge between two eth cards

Posted on 2007-04-06
4
1,521 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
  • 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
High Bandwidth Usage 6 57
Need some help with Cisco 3750 switch configuration 8 29
QoS for Voip 7 40
Setting up static routes to  sonicwll 4 41
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

810 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