Skip to contentSkip to conversation

2 internet connections for 2 different purposes

LARTC brooke 2 participants 3 messages Dec 29, 2004 – Jan 12, 2005

lore
Share & tools
lore

brooke

author
#0 lore raw

I've got a linux machine (fedora core 3) with 4 network cards.

I looked at the howto and the only example that is close to what I need to do is section 4.2 on multiple uplink providers. I feel like I'm so close but just can't get my head around the final part.

Here is what I have

eth2 and eth4 connect to 2 different isps.
I want all connections the come from my dmz on eth3 to go out of my connection on eth4
I want all connections from my local network on eth0 to go out of my connection on eth2

can anyone help me out with this?
thanks in advance
Brooke

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

When you say you are so close but can't get your head around the final part... what do you mean? Exactly what is working and what is not? How far have you gotten?

----- Original Message -----
From: "brooke" <[email protected]>
To: <[email protected]>
Sent: Wednesday, December 29, 2004 4:56 PM
Subject: [LARTC] 2 internet connections for 2 different purposes

Quoted 14 lines

I've got a linux machine (fedora core 3) with 4 network cards.

I looked at the howto and the only example that is close to what I need to do is section 4.2 on multiple uplink providers. I feel like I'm so close but just can't get my head around the final part.

Here is what I have

eth2 and eth4 connect to 2 different isps.
I want all connections the come from my dmz on eth3 to go out of my connection on eth4
I want all connections from my local network on eth0 to go out of my connection on eth2

Quoted 8 lines

can anyone help me out with this?
thanks in advance
Brooke

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

author
#2 lore raw
In reply to brooke

Well, I found a FAQ on the site of shorewall.net site, the config files for the iptables setup I'm using.
http://shorewall.net/FAQ.htm#faq32
but it's not what I want to do.

So for nowI've got the incoming NAT working for the dmz network, if you come in eth4 on a proper address I route you to eth3 the dmz network and translate it to a 10.2 address.

My problem seems to be the outgoing. I don't understand how I tell all machines who are on the 10.1.x.x network connected via eth0 to go out of the ISP connected via eth2.

Also, I don't understand how I make machines on the 10.2.1.x network on eth3 to use the interenet connection via eth4.

anyone care to get me going in the right direction? Thanks in advance
Brooke

Quoted 28 lines · Chris Bennett

When you say you are so close but can't get your head around the final part... what do you mean? Exactly what is working and what is not? How far have you gotten?

----- Original Message ----- From: "brooke" <[email protected]>
To: <[email protected]>
Sent: Wednesday, December 29, 2004 4:56 PM
Subject: [LARTC] 2 internet connections for 2 different purposes

Quoted 18 lines

I've got a linux machine (fedora core 3) with 4 network cards.

I looked at the howto and the only example that is close to what I need to do is section 4.2 on multiple uplink providers. I feel like I'm so close but just can't get my head around the final part.

Here is what I have

eth2 and eth4 connect to 2 different isps.
I want all connections the come from my dmz on eth3 to go out of my connection on eth4
I want all connections from my local network on eth0 to go out of my connection on eth2

can anyone help me out with this?
thanks in advance
Brooke

Quoted 10 lines
Quoted 4 lines

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/