VPN users with access to different VLANs

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

VPN users with access to different VLANs

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
VPN users with access to different VLANs
VPN users with access to different VLANs
2021-11-28 08:55:00
Model: OC200  
Hardware Version:
Firmware Version:

Hi,

 

I have a L2TP vpn server setup with the Omada controller, but I want different users with access to different vlans.

Like user A can access only vlan 10 and an other only vlan 20.

 

Is it possible to set this up?

  0      
  0      
#1
Options
1 Reply
Re:VPN users with access to different VLANs
2021-11-28 09:23:37

@DennisDJP 

 

Not on controller, I have solved this on Windows with a powershell script that create a L2TP connection and route to needed VLAN, this script also crate split tunnel. I don't want all traffic to route to L2TP server only remote LAN.

 

but on other operating system I steel have problem.

 

Modify and save as L2TP-v10-v20.ps1 and run with powershell.

 

Add-VPNConnection -AuthenticationMethod "MSCHAPv2" -EncryptionLevel "Maximum" -L2tpPsk "jrewkjlk##Ljksl" -Name "L2TP-v10-v20" -ServerAddress "my.dnsfor.me" -SplitTunneling -TunnelType "L2TP" -RememberCredential -PassThru -Force

 

Add-VpnConnectionRoute -ConnectionName "L2TP-v10-v20" -DestinationPrefix 192.168.12.0/24
Add-VpnConnectionRoute -ConnectionName "L2TP-v10-v20" -DestinationPrefix 192.168.162.0/24
 

 

 

  0  
  0  
#2
Options

Information

Helpful: 0

Views: 696

Replies: 1

Related Articles