Change options for L2TP over IPSec VPN connections on Mac
Set VPN options, such as controlling when VPN disconnects, and turning on verbose logging to capture more log information in a VPN session.
VPN options are available only for the L2TP over IPSec type of VPN connection. (For other types of VPN connections, the options are specified by the VPN server when the VPN connection is negotiated.)
On your Mac, choose Apple menu > System Preferences, then click Network.
Select your VPN service in the list on the left.
If your VPN service isn’t in the list, click the Add button at the bottom of the list, click the Interface pop-up menu and choose VPN, then click the VPN Type pop-up menu and choose the VPN type. Enter a name for the service, then click Create.
Enter the server address, account name, and any authentication settings you received from your network administrator or ISP.
Click Advanced, click Options, then select the options you want to use:
Disconnect when switching user accounts: Ends a VPN session when you switch users.
Disconnect when user logs out: Ends a VPN session when a user logs out.
Send all traffic over VPN connection: Sends all network traffic over the VPN connection, regardless of the network service you use, such as Wi-Fi or Ethernet.
Use verbose logging: Captures more detailed log information in your VPN session. This may be useful if you are troubleshooting a problem with your VPN connection.