Hi, I’m trying to connect two miktorik RB2011 with vpn. I’m testing all in lab and removed the default configuration of routerboards
The configuration is the following:
Site A (Client)
Wan: 10.10.10.1/24 (eth1)
Lan: 192.168.10.1/24 (eth2)
local-address: 172.16.1.2
remote: 172.16.1.1
Site B (Server)
Wan: 10.10.10.2/24 (eth1)
Lan: 192.168.20.1/24 (eth2)
local-address: 172.16.1.1
remote: 172.16.1.2
I’ve tried with SSTP and now with L2TP and I can connect the two routerboards, by when I try to ping internal lan from one device I receive timeout error.
[admin@MikroTik - Client] > /ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 ether1-wan 1
1 ADC 10.10.10.0/24 10.10.10.1 ether1-wan 0
2 ADC 172.16.1.1/32 172.16.1.2 l2tp-out1 0
3 ADC 192.168.10.0/24 192.168.10.1 ether2 0
4 A S 192.168.20.0/24 172.16.1.1 1
[admin@MikroTik - Client] > /ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=src-nat to-addresses=192.168.20.1 out-interface=ether2
log=yes log-prefix=“”
1 chain=srcnat action=masquerade src-address=192.168.10.0/24 log=no
log-prefix=“”
[admin@MikroTik - Server] > /ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADC 10.10.10.0/24 10.10.10.2 ether1 0
1 ADC 172.16.1.2/32 172.16.1.1 l2tp-in1 0
2 A S 192.168.10.0/24 172.16.1.2 1
3 DC 192.168.20.0/24 192.168.20.1 ether2 255
[admin@MikroTik - Server] > /ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=accept src-address=192.168.20.0/24 dst-address=192.168.10.0/24 log=yes
log-prefix=“”
1 chain=srcnat action=masquerade src-address=192.168.20.0/24 out-interface=ether1 log=no
log-prefix=“Masq”
[admin@MikroTik - Server] > ping 192.168.10.254
SEQ HOST SIZE TTL TIME STATUS
0 192.168.10.254 timeout
1 192.168.10.254 timeout
2 192.168.10.254 timeout
3 192.168.10.254 timeout
4 192.168.10.254 timeout
5 192.168.10.254 timeout
sent=6 received=0 packet-loss=100%
NB: 192.168.10.254 is a notebook connected with eth2 con client routerboard.
What’s the problem with my config?