All of lore.kernel.org
 help / color / mirror / Atom feed
* what rules to use
@ 2002-10-23 13:00 Julio Cesar Ody
  2002-10-23 15:23 ` Antony Stone
  0 siblings, 1 reply; 2+ messages in thread
From: Julio Cesar Ody @ 2002-10-23 13:00 UTC (permalink / raw)
  To: netfilter

Hello, I have the following scenario:


internal ips: 10.2.56.0

Topology:

  --------                       --------
|gatebox1|  ----------------   |gatebox2|
  --------                       --------
     |      \
     |       \
     |        \
     |         \
     |          \
  --------         --------
|userbox1|       |userbox2|
  --------         --------


gatebox1(10.2.56.5) is the main router in the network. It's a red hat 
7.3 box performing NAT, and uses a 802.11b connection to the internet.

gatebox2(10.2.56.3) is a WinNT 4 machine equipped with a sattellite
connection device used to access a private site/intranet (gmconnect 
domain) that only accepts requests made by that device (or real ip range).

when the userboxes make any request for the gmconnect domain, I need 
them to get routed to gatebox2, instead of going straight to the 
internet via gatebox1, so gatebox2 can make the request and deliver the 
content to the userboxes (since it's the only way to get it).

Any ideas ? Thanks in advance.


Julio Cesar Ody



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: what rules to use
  2002-10-23 13:00 what rules to use Julio Cesar Ody
@ 2002-10-23 15:23 ` Antony Stone
  0 siblings, 0 replies; 2+ messages in thread
From: Antony Stone @ 2002-10-23 15:23 UTC (permalink / raw)
  To: netfilter

On Wednesday 23 October 2002 2:00 pm, Julio Cesar Ody wrote:

> Hello, I have the following scenario:
>
>   --------                       --------
> |gatebox1|  ----------------   |gatebox2|
>   --------                       --------
>      |      \
>      |        \
>      |          \
>   --------         --------
> |userbox1|       |userbox2|
>   --------         --------
>
> gatebox1(10.2.56.5) is the main router in the network. It's a red hat
> 7.3 box performing NAT, and uses a 802.11b connection to the internet.
>
> gatebox2(10.2.56.3) is a WinNT 4 machine equipped with a sattellite
> connection device used to access a private site/intranet (gmconnect
> domain) that only accepts requests made by that device (or real ip range).
>
> when the userboxes make any request for the gmconnect domain, I need
> them to get routed to gatebox2, instead of going straight to the
> internet via gatebox1, so gatebox2 can make the request and deliver the
> content to the userboxes (since it's the only way to get it).

This is simply a routing question - nothing to do with netfilter really.

All you need to do is set up a route on gatebox1 so that packets for the 
gmconnect domain are routed via gatebox2.

gatebox2 also needs a route back to your userboxes via gatebox1 of course.

Antony.

-- 

This is not a rehearsal.
This is Real Life.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-23 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-23 13:00 what rules to use Julio Cesar Ody
2002-10-23 15:23 ` Antony Stone

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.