LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-30-2010, 05:32 PM   #1
bulletxt
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
Make eth0 with its own gateway be accessable on second eth1 which is on internetroute


Hi,
I have a server with 2 nics. Eth1 has its own gateway and goes on the internet router. Eth0 instead goes to an internal lan and has its own gateway too. Eth0 network can access and resolv an internal website.

My goal is to be able to access that "eth0" website from the "world" thanks to the eth1 card. Is this possible?

Please note that I can open any port from the internet router towards eth1 card.

I'm runnning Ubuntu 10.04..

Thanks a lot guys....


Some Info:
- eth0 has ip 10.143.36.4 with gateway-> 10.143.36.1 and dns 10.143.36.246
- eth1 has ip 10.0.1.10 with gateway-> 10.0.1.1 (the internet router)

Last edited by bulletxt; 06-30-2010 at 05:35 PM.
 
Old 06-30-2010, 09:14 PM   #2
MrChilly0
Member
 
Registered: Jan 2007
Location: midwest USA
Distribution: gentoo w/ funtoo overlay
Posts: 146

Rep: Reputation: 23
google: gateway gentoo iptables howto
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 fixed IP. eth1 DHCP gateway. Need access to eth0 fopetesl Linux - Networking 69 02-01-2010 03:45 AM
How do I tell my server to use eth0 for the internet [DNS + gateway] in stead of eth1 elvisious Linux - Networking 1 02-14-2009 05:53 PM
how to make sure vpnc using eth1 rather than eth0 zyuadl Linux - Wireless Networking 2 03-09-2006 05:57 AM
How do I set the ip address for eth0, eth1 and the default gateway? abefroman SUSE / openSUSE 5 05-19-2005 04:15 AM
How can i make one program use eth1 and others still use eth0? jim64 Linux - Networking 2 10-27-2004 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration