[NEBULA] How to set L2TP over IPSec VPN on NSG and end devices?
Zyxel_Jason
Posts: 411 Zyxel Employee
In Figure1,
there are multiple clients that want to access the server that is behind NSG. To
do that, the clients establish the L2TP over IPSec VPN tunnel to NSG.
Configuration Setting:
For NSG:
For Windows 10:
Figure 1 L2TP over IPSec VPN
All network IP addresses
and subnet masks are used as examples in this article. Please replace them with
your actual network IP addresses and subnet masks. This example was tested Nebula
gateway, switch, APs with the last firmware version on Nebula Center Control
(NCC).
Configuration Setting:
For NSG:
Go to "Configure > Security gateway > Remote access VPN" and configure the parameters.
Client VPN server: L2TP over IPSec client
Client VPN subnet: 192.168.100.0/24
DNS name severs: Use Google Public DNS
WINS: No WINS severs
Secret: <Pre-shared key>
Authentication: Nebula Cloud Authentication- Go
to “Configure > Cloud authentication”, select Account
type “VPN User” and create(add) user.
Note: If you only want this account to access specific site via L2TP, you may select Specified sites in Authorized section. - Click
Save and make sure NSG’s configuration status is up to date.
- Enable "Use VPN" at Security Gateway > Configure > Site-to-Site VPN page.
(Make LAN devices are pingable by L2TP client)
For Windows 10:
- Create
VPN profile.
"Settings > Network & Internet > VPN > Add a VPN connection" - Configure
required information and click Save.
- Create
VPN profile.
"System Preferences > Network" - Configure
required information including NSG’s public IP and account name. Click
Authentication Settings to setup passwords and shared secret(Pre-shared key)
- Click
Advanced and check “Send all traffic over VPN connection”
- Create
VPN connection.
"Settings > Network > VPN" and choose L2TP - Configure
required information including NSG’s public IP, account name and password.
- Configure Pre-shared
key.
Also, “3des-sha1-modp1024” for Phase 1 and
“3des-sha1” for Phase 2
- Create
VPN connection.
- Create
VPN connection.
- Click
connect.
- On Windows 10
Ping the server
On NSG, "Security gateway > Monitor > VPN connection". - On MAC
OS
Ping the server
On NSG, "Security gateway > Monitor > VPN connection". - On Linux
Ubuntu (Open terminal and use “ifconfig” commands)
Ping the server
On NSG, "Security gateway > Monitor > VPN connection". - On iPhone
Ping the server
On NSG, "Security gateway > Monitor > VPN connection". - On
Android
Ping the server
On NSG, "Security gateway > Monitor > VPN connection".
Jason
Share your feedback through our survey, make your voice heard, and win a WiFi 7 AP! https://bit.ly/2024_Survey_Community
Share your feedback through our survey, make your voice heard, and win a WiFi 7 AP! https://bit.ly/2024_Survey_Community
Tagged:
2
Categories
- All Categories
- 415 Beta Program
- 2.3K Nebula
- 142 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 228 USG FLEX H Series
- 266 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1K Wireless
- 39 Wireless Ideas
- 6.3K Consumer Product
- 244 Service & License
- 384 News and Release
- 82 Security Advisories
- 27 Education Center
- 8 [Campaign] Zyxel Network Detective
- 3.1K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight