Page 1 of 1
Help needed to setup L2TP with IPSEC
Posted: Tue Oct 08, 2013 9:38 pm
by jamessg
Sorry for repost, somehow my previous post disappeared?
Attach is how I setup my network and I have problem getting internet connectivity and cannot access the LAN devices in 192.168.1.x
I can connect though but just nothing. Followed the wiki and write up etc, still don't work.
Any help is very much appreciated please. Thank you.
InfoMikroTik.pdf
Re: Help needed to setup L2TP with IPSEC
Posted: Mon Feb 17, 2014 7:56 am
by rickfrey
Did you enable proxy arp on the LAN interface?
Re: Help needed to setup L2TP with IPSEC
Posted: Mon Feb 17, 2014 2:22 pm
by jamessg
Did you enable proxy arp on the LAN interface?
how do i do that?
Re: Help needed to setup L2TP with IPSEC
Posted: Mon Feb 17, 2014 7:27 pm
by rickfrey
Goto the LAN interface and in the ARP section, choose proxy-arp.
Re: Help needed to setup L2TP with IPSEC
Posted: Tue Mar 04, 2014 6:44 pm
by jamessg
Goto the LAN interface and in the ARP section, choose proxy-arp.
just realised, yes it is already proxy-arp.
Re: Help needed to setup L2TP with IPSEC
Posted: Wed Mar 05, 2014 11:58 am
by evince
Hello,
In your L2TP_Profile, your local address seems to be wrong, it should be 192.168.1.1 instead, isn't it?
Re: Help needed to setup L2TP with IPSEC
Posted: Wed Mar 05, 2014 12:13 pm
by jaytcsd
I'm only running one MT, this works for me, your screen prints look very similar.
http://mikrotik.patokatech.com/
Re: Help needed to setup L2TP with IPSEC
Posted: Tue Mar 18, 2014 5:23 pm
by rickfrey
I can't tell from the pdf if you are NAT'ing the VPN traffic to be able to reach the Internet, but I could see that you seem to be missing the src-nat rules for IPSEC. I also agree that it does not make sense to terminate your VPN at 192.168.1.40 when the router is already 192.168.1.1. Usually, I make the local address something that is within the subnet of the remote address. As for the firewall, I believe you will also need to open up the GRE protocol for IPSEC. One last thought, you may have to use PBR or and exclusion rule to ensure that the VPN connection is not using the PCC. Try troubleshooting it this way:
Can the L2TP tunnel reach the Internet or the LAN with out the IPSEC? If not, try disabling the firewall and see if that helps.
In order to understand what is breaking down, we know at which step in the process is it breaking down. Does the L2TP tunnel work? If not is it the rules in the Firewall that are preventing it from working? If it is working, then is it the IPSEC portion that is breaking down?
Re: Help needed to setup L2TP with IPSEC
Posted: Wed Mar 26, 2014 4:50 pm
by rickfrey
Were you ever able to resolve this problem?
Re: Help needed to setup L2TP with IPSEC
Posted: Sun Mar 30, 2014 2:28 pm
by megasohaib
Hello Team, I hope you are all fine.
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.
Regards
Sohaib
Re: Help needed to setup L2TP with IPSEC
Posted: Mon Mar 31, 2014 5:07 pm
by rickfrey
Without seeing your config... my first guess would be that you need the routes and the polices set correctly. Each IPSEC tunnel will need the polices set for each subnet that is passing through it and each client will need a routing statement of where to find those subnets.
Re: Help needed to setup L2TP with IPSEC
Posted: Tue Apr 01, 2014 9:39 am
by jamessg
How do i export my settings?
yes problem is still not solved.
Re: Help needed to setup L2TP with IPSEC
Posted: Tue Apr 01, 2014 5:51 pm
by rickfrey
Goto the terminal and type:
Then you can copy and paste your configuration onto the forum.