Re: How to pass two routers

2010-09-13 Thread Bill Davidsen
roland wrote: > I have a client with a network at city A en one at city B > A:192.168.9.0/24 > B:192.168.0.0/24 > > Site A is connected to site B via a special Internet connection using a > router-B,to which I don't have access. > From the internet we enter site A through a router-A, and from the

Re: How to pass two routers

2010-09-08 Thread JB
Gordon Messmer eburg.com> writes: > > There's no need to use NAT, proxy servers, or oddball iptables rules to > accomplish what roland described. > > As Dario pointed out, you have two options: > > 1) Set up a static route on each server in LAN A so that they use > 192.168.0.99 as their defa

Re: How to pass two routers

2010-09-08 Thread Gordon Messmer
There's no need to use NAT, proxy servers, or oddball iptables rules to accomplish what roland described. As Dario pointed out, you have two options: 1) Set up a static route on each server in LAN A so that they use 192.168.0.99 as their default gateway and 192.168.0.98 as the gateway for the

Re: How to pass two routers

2010-09-08 Thread JB
roland cat.be> writes: > ... > suppose you are in a situation: > site A: 192.168.0.0/24 server 192.168.0.1 > gateway 192.168.0.99 for incoming Internet connections through port XX > gateway 192.168.0.98 for outgoing connections to site B > site B: 192.168.1.0/24 server to contact 192.

Re: How to pass two routers

2010-09-08 Thread Dario Lesca
Il giorno mer, 08/09/2010 alle 09.28 +0200, roland ha scritto: > Is there a way to tell the server at site A to pass all traffic > 192.168.0.0/24 to site B? Suppose - router on lan B have IP 192.168.0.254/24 - router on lan A have IP 192.168.9.254/24 - server on lan A have IP 192.168.9.69/

Re: How to pass two routers

2010-09-08 Thread roland
On Wed, 08 Sep 2010 11:56:09 +0200, JB wrote: > roland cat.be> writes: > >> >> On Wed, 08 Sep 2010 09:52:27 +0200, JB gmail.com> >> wrote: >> >> > roland cat.be> writes: >> > >> >> ... >> >> Is there a way to tell the server at site A to pass all traffic >> >> 192.168.0.0/24 to site B? >> >

Re: How to pass two routers

2010-09-08 Thread JB
roland cat.be> writes: > > On Wed, 08 Sep 2010 09:52:27 +0200, JB gmail.com> wrote: > > > roland cat.be> writes: > > > >> ... > >> Is there a way to tell the server at site A to pass all traffic > >> 192.168.0.0/24 to site B? > >> ... > > > > Hi, > > iptables, FORWARD, forwarding ? > > JB >

Re: How to pass two routers

2010-09-08 Thread roland
On Wed, 08 Sep 2010 09:52:27 +0200, JB wrote: > roland cat.be> writes: > >> ... >> Is there a way to tell the server at site A to pass all traffic >> 192.168.0.0/24 to site B? >> ... > > Hi, > iptables, FORWARD, forwarding ? > JB > Can you give me an example. I'm not familiar with iptables. Wou

Re: How to pass two routers

2010-09-08 Thread JB
roland cat.be> writes: > ... > Is there a way to tell the server at site A to pass all traffic > 192.168.0.0/24 to site B? > ... Hi, iptables, FORWARD, forwarding ? JB -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedorapr

How to pass two routers

2010-09-08 Thread roland
I have a client with a network at city A en one at city B A:192.168.9.0/24 B:192.168.0.0/24 Site A is connected to site B via a special Internet connection using a router-B,to which I don't have access. From the internet we enter site A through a router-A, and from there I can connect to site