Page 1 of 1

VPN problem - 1

Posted: Wed Apr 14, 2010 9:05 am
by konstg
Hello to all!

In "PPP" module in tab "Interface" I created new "PPTP Server" (pptp-in1) for user "user1". Then I made enabled "PPTP Server" (using checkbox). Then in tab "Secrets" I created new "user1" with "Local Address" = "192.168.200.1" and "Remote Address" = "192.168.200.200". VPN connection from Windows client works normally.

In "IP->Firewall->Filter Rules" created two rules:
"Chain" = "forward", "In.Interface" = "pptp-in1", "Out.Interface" = "local_ether2", "Action" = "accept"
"Chain" = "forward", "In.Interface" = "local_ether2", "Out.Interface" = "pptp-in1", "Action" = "accept"

Therefore, I can ping from 192.168.200.200 (vpn client) to 192.168.200.x (office lan) but can't ping back.

When "user1" was created with "Remote Address" = "192.168.100.200" (for example) ping going well in both ways. I think this is routing issue.

Can anybody tell me what is wrong in my configuration and show right one? :shock:

Thanks in advance,
Konstantin.

Re: VPN problem - 1

Posted: Wed Apr 14, 2010 11:18 am
by Chupaka
have you enabled Proxy ARP on your ether interface?

Re: VPN problem - 1

Posted: Wed Apr 14, 2010 12:31 pm
by konstg
have you enabled Proxy ARP on your ether interface?
Yes, I have. You mean local_ether?

Re: VPN problem - 1

Posted: Wed Apr 14, 2010 12:42 pm
by Chupaka
yes, local_ether.

so, you can ping in one direction, and at the same time cannot ping in another one? maybe check you firewall?..

Re: VPN problem - 1

Posted: Wed Apr 14, 2010 2:54 pm
by konstg
yes, local_ether.

so, you can ping in one direction, and at the same time cannot ping in another one? maybe check you firewall?..
Yes, can ping in one direction only...

Re: VPN problem - 1

Posted: Wed Apr 14, 2010 2:58 pm
by mrz
looks to me like a firewall issue. Try to disable all drop rules in your firewall and check if you can ping then.

Re: VPN problem - 1

Posted: Wed Apr 14, 2010 3:05 pm
by Chupaka
or maybe even NAT or load balancing helps to mess up things...

Re: VPN problem - 1

Posted: Wed Apr 14, 2010 3:22 pm
by konstg
Drop rules are disabled. The same...

Re: VPN problem - 1

Posted: Wed Apr 14, 2010 3:37 pm
by Chupaka
what does tracert show? look at your mangle rules - maybe you're routing those packets to the Internet, not to your VPN client...

Re: VPN problem - 1

Posted: Wed Apr 14, 2010 3:59 pm
by konstg
Here two routes, they are created dynamically. May be here is some contradiction?
Tracert show only asterisks... :shock:

Cos when route2 is for 192.168.100.50, it works...

Re: VPN problem - 1

Posted: Wed Apr 14, 2010 4:45 pm
by Chupaka
mangle, mangle =)

Re: VPN problem - 1

Posted: Thu Apr 15, 2010 9:00 am
by konstg
Mangle rules: