Routing problem

A

acon

I need to conect my home network with mi office network.
At office, i have a linux machine acting as a router.
At home, i have a ADSL router and 2 XPpro machines.
The network at the office is not conected to internet, but to a VPN provided
by the ISP that connects all sites in the same subnet.
This means i cant map nat ports to my server, so y cant use IPSEC. The only
way is PPTP.
I have succefuly conected the Linux server (pptp client) to my home router
(pptp server) and the link is working fine. I have configured the routing
part of the linux box so i can ping any machine in my home network.
The problem is the routing at windows side.

The network is configures this way:

Office:
home:

Linux (172.25.11.15)-----router (172.25.11.1)--|internet|----router
(192.168.0.1)--------XP(192.168.0.10)
PPTP tunel
(192.168.0.151)-------------------------------(172.25.11.221)

In the linux box i add a route from 192.168.0.0/24 network with GW
192.168.0.151.
In the XP box, when i try Route add 172.25.11.0 mask 255.255.255
172.25.11.221 i get a meesage "wrong interface index or the gateway is not
on the same network as the interface".
From XP i can reach 172.25.11.221 with ping.

Is it any way to sove this?
 
P

Pierrot Robert

I think you need 2 VPNs, one each way.

So you need you home router to work as a pptp client to the linux box too.

Pierrot
 
P

Pierrot Robert

I think you need 2 VPNs, one each way.

So you need you home router to work as a pptp client to the linux box too.

Pierrot
 
A

acon

Im am using PPTP because i cant reach mi office router from the internet.
The wan side of this router is not conected to internet, but to a private
vlan from the ISP. If i could do this, i would use ipsec tunel.
I have done this previously with a linux box in each side and it works fine
as long as you configure the apropiate static routes in each side, but i
d'ont want to add a linux machine at home now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top