[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

routing help please...



Thanks for reading!

I hope someone can help me with a routing issue:

I've attached a situation scetch.

The thing is, my road warriors connect via a pptp connection to my VPN server via GW2. This fails because the default gateway (GW) on the VPN is GW1, so all request attempts end up beeing sent through GW2 but answered by my VPN server to GW1.

But as soon as I put GW2 as default gateway, My local lan's do not get routed as they should anymore...

So all PPP connections should have GW2 as the default gateway, and set up routes so data between the local lans and ppp connections should go through GW1.

But how?
Thanks for any pointers...

Mark
                                   +--------+
                                   |        |
                                   |PPTPD   |
                                   |VPN     |
                                   |Server  |
                                   |        |
                            +------+        +---+
                            |      |        |   |
                            |      |        |   |
                            |      |        |   |
                            |      +--------+   |
                            |                   |
                           ETH0                ETH1
                       GW1  |              GW2  |
                       +----+----+         +----+----+
                       |Gateway  |         |Gateway  |
                       +---------+         +---------+
                       192.168.8.4       192.168.123.254
                            |                   |
     ///----\\\  -----------+                   |
   ||10.1.0.0  ||           |                   |
     \\\----///             |           +-------+
          ///----\\\ -------+           |
        ||192.168.8.0|      |           |
          \\\----///        |           |
               ///----\\\   |           |
             ||192.168.3.0|-+           |
               \\\----///   |      ///--+-\\\
                            +----|| Internet ||
                                   \\\--+-///
                                        |
                                        |ppp link
                                +-------+-------+
                                |Road Warrior(s)|
                                +---------------+

Reply to: