"Pascal Nobus" <(E-Mail Removed)> wrote in message
news:beqe9v$2en$(E-Mail Removed)...
> I looked into CIPE but couldn't figure out the routing (thought you need
to
> setup the tunnel for each machine)
>
> maybe better with an example
>
>
> [company-server]---[companyvpnserver]
> (w2K) (redhat)
> 192.168.0.111 192.168.0.1
> 123.123.123.123 (static)
> 10.0.0.10 (cipe-fake)
> |
> |
> [INTERNET]
> |
> |
> [home PC]--------[NAT-firewall]
> (win95) (redhat)
> 192.168.1.111 192.168.1.1
> 234.234.234.234 (dynamic)
> 10.0.0.11 (cipe-fake)
>
> Say I am at the home PC and want to use PC-anywhere to connect to
> company-server.
> I need to make a tunnel from the NAT-firewall at home to the
> company-VPNserver.
> setup a link between 10.0.0.10 and 10.0.0.11.
>
> home-PC: nothing changes (gw 192.168.1.1)
> NAT-firewall: add a route for 192.168.0.0 to gw 10.0.0.10
> companyvpnserver: add a route for 192.168.1.0 to gw 10.0.0.11
> companyserver: add a route for 192.168.1.0 to gw 192.168.0.1
>
> If that will do the trick, it's almost a piece of cake.
> Both machines have redhat with cipe-ready, clients don't need changes..
>
> But I'm still puzzled about the routing of the companyserver back to my
> HomePC..
Yes, on Linux the cipe tunnels are point-to-point interfaces (the windows
version is a little different) so you add routes to the remote network
through
the remote endpoint. If you set it up by hand, the routes would go in the
cipe 'ip-up' script. I think the RedHat GUI has a provision to set that up
for you. That takes care of the directly connected machines. Then you
need to make sure any other networked machines route the remote
network addresses to the ethernet address of the cipe server. In your
home-PC example this is probably already the default so it doesn't need
any change. If companyvpnserver isn't already the default gateway for
the company net then you can either add a route in every machine that
you want to access like your companyserver route example. However, if
you control the router that is the default gateway you can put a static
route
there which will work for the whole network. Some other details: any
firewalls have to be configured to pass the UDP port number you choose,
and if you have multiple tunnels on a single machine each must use a
unique UDP port.
----
Les Mikesell
(E-Mail Removed)