At first according to your provided configuration you did not enable L2TP server.
Second problem is that firewall blocks everything arrving to wan port except ICMP
I have some problem with my Ipsec vpn between multiple sites. my 5 sites are connected with same ISP through MIKROTIOK ROUTER IPSEC TUNNEL. sites are a,b,c,d,e. a site is my head office and b,c,d,e sites is my clients(branches). all clients are connected with head office (a) through ipsec tunnel and working properly.But problem is that (b) not connected to (c,d,e) and (c) not connected to (b,d,e) and (d) not connected to (b,c,e) and (e) not connected to (b,c,d). Other words is (b,c,d,e) are not connected to eachother. All sites have different subnets.
Kindly give me some help that what i do work on my head office mikrotik router (a).
Although i was add subnet on routes opetion of my branches. but issed are same.
I need some help, i have setting L2TP/IPsec configuration and i can successfully connected from LAN to Router using win7 and android, but if i try to connect from internet to router it cannot working, but if i first connected using PPTP then using L2TP is working, can somebody help me ? and bellow are my config so far.
may i know is L2TP Server can work if in behind Nat ? because my topology is PC—Mikrotik(L2tp Server)—Mikrotik Internet Provider—Internet (cloud).
I used RB450G and set L2TP over IPsec done.
Because I had 6 public IPs and I address all of my public IPs to eth1 ( WAN ),
then I found that I can connect to VPN server from WAN,
but the connection can be established from LAN.
I have let UDP1701, UDP500, UDP4500 and ipsec-esp to be acceptable from WAN.
and set nat rules as below:
/ip firewall nat add chain=dstnat dst-address=PublicIp1 action=dst-nat to-addresses=192.168.0.20
/ip firewall nat add chain=srcnat src-address=VpnAddressList action=src-nat to-addresses=PublicIp1
/ip firewall nat add chain=srcnat src-address=PrivateNetWorks/24 action=src-nat to-addresses=PublicIp2
VpnAddressList=192.168.0.10-192.168.0.20
VPN’s IP pool is 192.168.0.10-192.168.0.19
RB450G’s eth2 LAN IP is 192.168.0.20
Since PPTP works fine, I think it may be routing problem.
Do you know how to fix this issue?