Community discussions

 
Vovcik81
just joined
Topic Author
Posts: 1
Joined: Thu Apr 11, 2013 2:58 pm

L2TP/IPSEC on MAC OS trouble

Wed Aug 01, 2018 11:34 am

Hello
I need ungent help because User in in other country and Must work distantly

I have such problem

I try to connecto VPN via L2TP/IPSEC on iPhone and on Macbook PRO 2017


1 step - I connect to VPN on both devices - OK
2 step - I try to recieve Mail on Outlook Client and Remote Desktop Connection indoor of my country - OK

When I go out from country - step 1 ok for both devices, Step 2 ok only for iPhone

How I can resolve the problem on Laptop Macbook PRO?


Thank You for Your helping

L2TP-IPSEC.jpg
You do not have the required permissions to view the files attached to this post.
 
sindy
Forum Guru
Forum Guru
Posts: 2636
Joined: Mon Dec 04, 2017 9:19 pm

Re: L2TP/IPSEC on MAC OS trouble

Wed Aug 01, 2018 2:29 pm

It sounds so weird (the dependendce of the behaviour on the network/country in which the client is connected) that it would need a log:

/system logging add topics=ipsec,!packet

/log print follow-only file=ipsec-start topics~"ipsec"


and then, while the last command is running, try to log in the client which doesn't work. After the login fails, stop the /log print ..., download the file and try to find the answer there. If you can't, follow the suggestion in my automatic signature for obfuscation of the IP addresses before posting the file here.

However, it may all be much simpler if you use the two client devices at the same time in the same network, because there is the common issue with L2TP/IPsec inability to deal with two clients connecting from behind the same public IP address to the same server. There is a solution to that issue but it is not exactly simple.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.
 
User avatar
bramwittendorp
Frequent Visitor
Frequent Visitor
Posts: 90
Joined: Thu Jun 16, 2016 3:48 pm
Location: The Netherlands
Contact:

Re: L2TP/IPSEC on MAC OS trouble

Wed Aug 01, 2018 8:22 pm

Also is your client configuration the same?

By default, an iOS added VPN will forward all traffic through the VPN-tunnel; However macOS won't. You there need to go in to the advanced VPN-settings and make sure you check the send all traffic option.
Bram - MikroTik enthusiast - MTCNA / MTCRE / MTCIPv6E
Don't be shy, share your /export hide-sensitive and make sure to read this.
 
User avatar
DmitryAVET
Frequent Visitor
Frequent Visitor
Posts: 91
Joined: Thu Mar 26, 2015 12:27 am
Location: Ukraine, Mukachevo
Contact:

Re: L2TP/IPSEC on MAC OS trouble

Wed Feb 13, 2019 10:16 pm

Don't use special symbol "%" in password :lol: and bee happy)
 
Cvan
Frequent Visitor
Frequent Visitor
Posts: 78
Joined: Sat Jun 09, 2018 3:32 am

Re: L2TP/IPSEC on MAC OS trouble

Thu Feb 14, 2019 1:32 am

Common missed setting for MAC OS VPN clients is the checkbox or radio button to 'SEND ALL TRAFFIC OVER VPN (This Connection)' in the VPN advanced configuration on the MAC client.
You will be able to connect to the VPN but no access to the intranet w/o that flag checked off, so no email.

Guy above already stated the obvious... so ignore this.

Who is online

Users browsing this forum: mkx, omb, sid5632, svmk and 34 guests