Community discussions

MikroTik App
 
rbTest1
just joined
Topic Author
Posts: 13
Joined: Fri Sep 21, 2018 11:12 am

L2TP IPSEC Windows 10 --> Fail

Tue Mar 19, 2019 3:42 pm

Hi guys,
tried to get support from Mikrotik team, but ... noway.
We had VPN L2TP IPSEC up and running with no problem since 2 years.
Recently Microtik team had some modification on IPSEC and ... now Windows 7 / 10 no more works (OSX still well working)

this is the conf
/ip ipsec mode-config
add address-pool="VPN guests" name="vpn Guests" split-include=192.168.88.0/24
/ip ipsec profile
add dh-group=modp1024 dpd-interval=disable-dpd enc-algorithm=aes-256,aes-192,aes-128,3des name=profile_2
/ip ipsec peer
add name=peer1 passive=yes profile=profile_2
/ip ipsec proposal
set [ find default=yes ] auth-algorithms=md5 enc-algorithms=3des
add auth-algorithms=md5 enc-algorithms=aes-256-cbc,aes-256-ctr,3des name=l2tp-proposal pfs-group=none
/ip ipsec identity
add generate-policy=port-override peer=peer1 secret=Secretkey
/ip ipsec policy
add dst-address=0.0.0.0/0 proposal=l2tp-proposal src-address=0.0.0.0/0 template=yes

/ppp profile
set *0 local-address="VPN guests" remote-address="VPN guests"
set *FFFFFFFE local-address="VPN guests" remote-address="VPN guests"
/ppp secret
add name=test password=Test123

/interface l2tp-server server
set allow-fast-path=yes authentication=chap,mschap1,mschap2 default-profile=default enabled=yes ipsec-secret=Secretkey use-ipsec=yes

than firewall rules

/ip firewall filter
add action=accept chain=input dst-port=500 protocol=udp
add action=accept chain=input dst-port=1701 protocol=udp
add action=accept chain=input dst-port=4500 protocol=udp
add action=accept chain=input protocol=ipsec-esp
add action=accept chain=input protocol=ipsec-ah

OSX IOS --> OK
android --> OK
Windows 7 -10 --> KO

when windows try get connection on , the mikrotik device report :
l2tp,info first L2TP UDP packet received from xxx.xxx.xxx.xxx
than error timeout on windows.

firmware 6.44.1 and 6.45 beta 16
thanks for suggestions
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1764
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Re: L2TP IPSEC Windows 10 --> Fail

Tue Mar 19, 2019 4:38 pm

You should have at least some logs about Ipsec there.
If you don't, then ether your windows configuration is wrong, or you drop packets on the way back

btw...It works here just fine
 
rbTest1
just joined
Topic Author
Posts: 13
Joined: Fri Sep 21, 2018 11:12 am

Re: L2TP IPSEC Windows 10 --> Fail

Tue Mar 19, 2019 5:11 pm

logs stopped with the update of routerOS, all where perfectly working before, since 2 years.

it's not a problem of firewall, i've disabled firewall on windows 10, and connect with OSX on the same gateway with no problems at all.

i even try to reset RB and install from scratch, with success.
But ..... when you shutdown and unplug the wire, then on, the problem appears again !!
Last edited by rbTest1 on Tue Mar 19, 2019 5:15 pm, edited 1 time in total.
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1764
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Re: L2TP IPSEC Windows 10 --> Fail

Tue Mar 19, 2019 5:15 pm

There are some that have issue after upgrade to 6.44, but all of them have logs that say what is wrong in ipsec configuration as far as i saw you need to take a look in ipsec peers and ipsec identities for dynamic entries, if they are not there - try rebooting.
 
rbTest1
just joined
Topic Author
Posts: 13
Joined: Fri Sep 21, 2018 11:12 am

Re: L2TP IPSEC Windows 10 --> Fail

Tue Mar 19, 2019 5:16 pm

i've enabled all ipsec and l2tp log, and they works great on OSX, but simple do n ot appear on Windows connection
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1764
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Re: L2TP IPSEC Windows 10 --> Fail

Tue Mar 19, 2019 5:35 pm

if there are no logs, then packet doesn't get to that service.
 
rbTest1
just joined
Topic Author
Posts: 13
Joined: Fri Sep 21, 2018 11:12 am

Re: L2TP IPSEC Windows 10 --> Fail

Tue Mar 19, 2019 6:15 pm

not so easy, "wizard"

the problem it's on routing !!!!

now from LAN side VPN Works, from WAN no
should be a firewall somewhere or a NAT TRAVERSAL to enable (or enable and not working at all)

we have exactly the same problem on ALL RB since last IPSEC's updates made by mikrotik Team

Who is online

Users browsing this forum: Bing [Bot], GoogleOther [Bot] and 178 guests