VPN Internet Routing ER605v2
Hello! I've set up a VPN server for my business network with TP-Link ER605. I want to configure it so that connected users have access to the local network, but when they decide to surf the internet, they do so using their own IP addresses, not the one from the router. Please advise. Thank you."
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
@Bionoob what type of VPN server have you configured?
- Copy Link
- Report Inappropriate Content
@MR.S
L2TP
- Copy Link
- Report Inappropriate Content
l2tp is not so easy to split, but if you have a windows client, I have a powershell script that works well.
you can modify the script to your l2tp server.
there is no way to split l2tp on the router.
powershell script is like this.
Add-VpnConnection -Name "L2TP VPN" -ServerAddress "myl2tp_server_com" -TunnelType L2tp -L2tpPsk "pskpassword" -AllUserConnection -RememberCredential -AuthenticationMethod MSChapv2 -IdleDisconnectSeconds 3600 -SplitTunneling -Force
Add-VpnConnectionRoute -ConnectionName "L2TP VPN" -DestinationPrefix 192.168.1.0/24
modify what is marked in red
past the command in powershell.
OpenVPN or Wireguard are easier to split if you have something other than windows computers.
- Copy Link
- Report Inappropriate Content
Hi @Bionoob
Thanks for posting in our business forum.
The Wireguard would be easier for you to split the traffic as you can script the subnet in the configuration phase.
You may try that out: How to Configure WireGuard VPN on Omada Controller
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 328
Replies: 4
Voters 0
No one has voted for it yet.