Solved

ubuntu machine as bridge between two eth cards

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now