Community discussions

MikroTik App
 
User avatar
MarTux
just joined
Topic Author
Posts: 14
Joined: Mon Apr 23, 2007 11:42 pm
Location: Casablanca - Morocco

[Resolved]PPTP vpn configuration[Resolved]

Mon Jul 02, 2007 6:35 pm

Hi all
I want to setup a vpn connexion from a remote client (Microsoft pptp client) and a Mikrotik pptp server.
The goal is to have an acces (from the remote client) to a LocalWebServer in the LAN behind the MT Router.
The Mikrotik router is nated on a ADSL router (on the port 1723):
Image

Server configuration on MT Router:
ppp secret> add name=test password=test
local-address=10.23.53.60 remote-address=10.23.53.60
interface pptp-server> add name=pptp-vpn user=test
interface pptp-server server> set enabled=yes
The VPN connexion is estabilished correctely, but i can't acces the LocalWebServer.
Where is the problem??
Last edited by MarTux on Thu Jul 05, 2007 5:58 pm, edited 1 time in total.
 
User avatar
andrewluck
Forum Veteran
Forum Veteran
Posts: 700
Joined: Fri May 28, 2004 9:05 pm
Location: Norfolk, UK

Re: PPTP vpn configuration

Mon Jul 02, 2007 11:21 pm

Usually it's because proxy arp is not enabled on the LAN interface of the MT box.

Regards

Andrew
 
User avatar
MarTux
just joined
Topic Author
Posts: 14
Joined: Mon Apr 23, 2007 11:42 pm
Location: Casablanca - Morocco

Re: PPTP vpn configuration

Tue Jul 03, 2007 2:23 am

Hi
In fact i have 5 Ethernet port on my MT Router and they are all in the same bridge (ip of the bridg is10.23.53.254), the LocalWebServer is pluged in the Ethernet4 and the ADSL Router is pluged in an other Ethernet port.
I used the proxy-arp on the Ethernet4
interface ethetnet> set ethernet4 arp=proxy-arp
but the problem is always there.

is it the good configuration??
what it the problem plz.
 
User avatar
usrox
just joined
Posts: 23
Joined: Sat Sep 17, 2005 7:59 am

Re: PPTP vpn configuration

Tue Jul 03, 2007 6:23 am

From my experiece i can't build pptp-server works on bridged interface, if i use non-bridged interface it works just fine. I dont know why :D Maybe my configuration not perfect enough doh.
 
User avatar
winxp2000
Member Candidate
Member Candidate
Posts: 113
Joined: Mon Jan 30, 2006 8:57 pm
Location: China
Contact:

Re: PPTP vpn configuration

Tue Jul 03, 2007 9:10 am

Hi MarTux:

When your remote client got the ip ......60

Whether it can PING successful to your local IP??
 
User avatar
MarTux
just joined
Topic Author
Posts: 14
Joined: Mon Apr 23, 2007 11:42 pm
Location: Casablanca - Morocco

Re: PPTP vpn configuration

Tue Jul 03, 2007 12:56 pm

When the vpn is estabilished, the remote client got the adress 10.23.53.61 and he can ping the Mikrotik router (10.23.53.254) but it can ping nothing else on the LAN (i don't understand this behaviour)
 
amee
just joined
Posts: 16
Joined: Mon Apr 17, 2006 3:44 pm

Re: PPTP vpn configuration

Tue Jul 03, 2007 2:27 pm

you shuld add nat:
ip firewall nat> add chain=srcnat src-address=10.23.53.61 out-interface="yourlocalinterface" action=masquerade