PPTP VPN problem

Hello,
I’m using PPTP VPN to connect to the local area via Windows XP. It has worked during the version 2.9.x, but now I have problem. Connecting from WinXP is all right, but WinXP machine doesn’t get default gateway(192.168.10.1) and also netmask is bad. In WinXP setting I have “Use gateway of remote router.”.

Thank you for your help, marxin

[quote=“marxin”]Hello,
I’m using PPTP VPN to connect to the local area via Windows XP. It has worked during the version 2.9.x, but now I have problem. Connecting from WinXP is all right, but WinXP machine doesn’t get default gateway(192.168.10.1) and also netmask is bad. In WinXP setting I have “Use gateway of remote router.”.
[/quote]

What version are you running now?

The default gateway of your XP machine is 192.168.10.1 when you’re NOT connected to the VPN (normal use). If you choose the option of ‘use remote gateway’ in the XP VPN settings then you’ll get the remote gateway of the router but it will appear as the same address you’ve been assigned. If you don’t use that setting (disable it) then you’ll not be assigned the remote gateway address and you’re remote ipconfig wont show a gateway address.

Is there any reason why you need to use the remote gateway?

Hello,
there is no reason to use gateway of remote machine. I tried to connect without this option to PPTP server and I get these adresses:
IP:200.0.0.2 // all right
NM: 255.255.255.255
GW: nothing

VPN is not working, becuse I need in PPT interface set gateway: 200.0.0.1/255.255.255.0.

Now I ping to remote PPT server, but I can’t ping to another PC’s is VPN area because of no gateway.

Please, how to set it to work ?

Ah, you need to proxy-arp either the bridge or the ether port that your LAN is on.

Hope this helps?

What version of ROS are you using?

I’m using 3.4 version.

OK, so give me please easy advice to configure it to see from the remote machine all computers in VPN lan area ?

f.e. I’m connecting remote to 172.16.17.2(wlan0) and I want to see all computers is 200.0.0.0/24(ether1) ?

This is a public range 200.0.0.0/24 ???

public address of router(wireless interface): 172.16.47.2
local addree area( ether1 ): 200.0.0.0/24

And I want to make VPN connection remotelly to 172.16.47.2 to see all computers in local area(200.0.0.0/24) ?

What jwcn is saying is that 200.x.x.x is a public address range (class C) and you shouldn’t be using that on your LAN.

At least that’s what I’m saying :slight_smile:

Hilton:
LAN(ethernet): 200.0.0.1/24
WAN(wireless): 172.16.47.2/30 ( public IP )

And I need to make VPN tunner throw public 172.16.47.2 to LAN area 200.0.0.0/24

read my previous post about proxy-arp.

Without changing your private IP subnet it’s not going to work properly.