Hi there
I need to setup a VPN server on a MikroTik.
The plan is to allow 'remote' WindowsXP VPN client to connect to this server to access Database on the 'office' network.
I've tried to follow the instructions from the manual: RouterOS_Reference_Manual_v2.9 as show below:
PPTP Server Setup
(1) Add a user on the PPTP server:
[admin@MikroTik] ppp secret> add name=jack password=pass
local-address=10.0.0.1 remote-address=10.0.0.2
(2) Enable the PPTP server:
[admin@MikroTik] interface pptp-server server> set enabled=yes
[admin@MikroTik] interface pptp-server server> print
enabled: yes
mtu: 1460
mru: 1460
authentication: mschap2,mschap1
keepalive-timeout: 30
default-profile: default
(3) Add a static entry for the user
[admin@MikroTik] interface pptp-server> add user=ex1
[admin@MikroTik] interface pptp-server> print
Flags: X - disabled, D - dynamic, R - running
NAME USER MTU CLIENT-ADDRESS UPTIME ENC...
0 DR ex 1460 10.0.0.202 6m32s none
1 pptp-in1 ex1
Well I replaced the document addresses with the relevant ones on my network.
I was not quite sure how to replace in step (1) above but I tried different things
local-address=10.0.0.1 remote-address=10.0.0.2
Created the winXP VPN client connection & it does not connect.
I would appreciate any help but I know my information may be vague so I'll try some specific questions:
(1) if I assigned IP address of x.x.x.x to my MikroTik, can I use that same address for the 'local-address' when I'm adding user, or should I stick to 10.0.0.1 ??
(2) when I'm adding user, should I use 'remote-address' 10.0.0.2 or use the IP address of the windowsXP machine/gateway router ?.
(3) To see what might be blocking the VPN when it tries to connect I checked my firewall logs & I saw nothing there to deny the connection.
I also began to check access-lists on gateway router but I don't know what port number the VPN will be trying on. What would that be??
Thanx for any help