Skip to contentSkip to conversation

Port forward and two ISP

LARTC Remus 2 participants 2 messages Aug 27, 2003

lore
Share & tools
lore

Remus

author
#0 lore raw

Hi folks,

I have a question regarding some port forward via diffrent route.

Ok, my configuration is like this:

I have to Internet lines.
1 is for the email server
2 (default) is for web browsing.
Linux box (firewall/router)
Local network 192.168.0.x

I did IP routing for particular local IP (email server) via not the default route, everything works fine.

But how to route via line 1 some IP port for the IP which one already has default route via 2 line ?
For example for the IP 192.168.0.20 - the TCP ports 80,443 go via default route (line 2) and the TCP port 110 goes via second route (line 1).

Any ideas?

Thanks in advance

Remus

#1 lore raw

Remus <[email protected]> wrote:Hi folks,

I have a question regarding some port forward via diffrent route.

Ok, my configuration is like this:

I have to Internet lines.
1 is for the email server
2 (default) is for web browsing.
Linux box (firewall/router)
Local network 192.168.0.x

I did IP routing for particular local IP (email server) via not the default route, everything works fine.

<snip>

But how to route via line 1 some IP port for the IP which one already has default route via 2 line ?
For example for the IP 192.168.0.20 - the TCP ports 80,443 go via default route (line 2) and the TCP port 110 goes via second route (line 1).

DO the subnetting and route the traffic based on subnet from the specific gateway.

Any ideas?

Thanks in advance

Remus

---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.