On your Mac, choose Apple menu System Settings
, then click Network
in the sidebar.
Click the Action pop-up menu on the right, choose Add VPN Configuration, then choose L2TP over IPSec.
Enter a name e.g. “Rilheva” in the “Display Name” field
Configuration: “Default”
Server address: “vpn.rilheva.com”
Account Name: Will be issued by Rilheva
User authentication / Password: will be issued by Rilheva
Machine authentication / Shared Secret: Will be released by Rilheva
Click “Create”
The screen will appear as in the image below.
Use the switch button to connect the VPN.
You need to add a routing rule to reach your devices. Follow these steps:
- Click on the info icon
to recover your IP address.
- Go to TCP/IP and copy IPv4.
- Open Terminal and enter the line:
sudo route -n add -net <Classe impianto fornito da rilheva>.0/24 <IP retrieved from VPN>
Example:
sudo route -n add -net 172.16.0.0/24 192.168.99.5
Was this helpful?
0 / 0