Page 1 of 1

L2TP/IPSEC on MAC OS trouble

Posted: Wed Aug 01, 2018 11:34 am
by Vovcik81
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

Re: L2TP/IPSEC on MAC OS trouble

Posted: Wed Aug 01, 2018 2:29 pm
by sindy
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.

Re: L2TP/IPSEC on MAC OS trouble

Posted: Wed Aug 01, 2018 8:22 pm
by bramwittendorp
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.

Re: L2TP/IPSEC on MAC OS trouble

Posted: Wed Feb 13, 2019 10:16 pm
by DmitryAVET
Don't use special symbol "%" in password :lol: and bee happy)

Re: L2TP/IPSEC on MAC OS trouble

Posted: Thu Feb 14, 2019 1:32 am
by Cvan
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.