Community discussions

MikroTik App
 
kino0924
just joined
Topic Author
Posts: 3
Joined: Mon Sep 12, 2022 8:13 am

How to allocate 1 L2TP VPN connection to each port of switch?

Mon Sep 12, 2022 8:28 am

Hi, I need a switch that has L2TP vpn client support
But at the same time, I need to make 16-20 different L2TP vpn clients per port
So each port is assigned to dedicated vpn client to communicate.

I know its strange setup but I need to offload vpn client from Windows to Switch and each client MUST connect different VPN end point
I am planning to run 16-20 dedicated VPN clients and each client is associated with each port on switch

Traffic wont be heavy and wont exceed 10mbps.
Although its very minimal traffic, If I can limit this to 10mbps, it will be even better

I am thinking about CRS326-24G-2S+RM to achieve this goal but not sure if its right device.

So summary, my only requirement is each port to each VPN client


Thank you so much
 
kino0924
just joined
Topic Author
Posts: 3
Joined: Mon Sep 12, 2022 8:13 am

Re: Need to allocate 16-20 L2TP VPN connection per port

Mon Sep 12, 2022 10:52 am

I want to allocate 1 L2TP VPN connection to each port of switch and total will be 16-20 connections
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Need to allocate 16-20 L2TP VPN connection per port

Mon Sep 12, 2022 10:54 am

Would be helpfull (at least for me) to gat some context. And...why?
 
kino0924
just joined
Topic Author
Posts: 3
Joined: Mon Sep 12, 2022 8:13 am

Re: Need to allocate 16-20 L2TP VPN connection per port

Mon Sep 12, 2022 11:34 am

Would be helpfull (at least for me) to gat some context. And...why?
I have to store/run about 16-20 computers in one secure location
and those computer needs to connect different VPN (located all around world)

Currently, I am running esxi host with 16-20 openwrt vm and each openwrt vm connects to those VPN.
I am tired of running esxi host and want to control everything in router/switch
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

Re: How to allocate 1 L2TP VPN connection to each port of switch?

Mon Sep 12, 2022 9:09 pm

So basically you don't need a switch per se, you need a device that has at least 20 ports and can handle L2TP.

If the 10 Mbit/s is a total traffic, not a per-port one, the CRS326-24G-2S+ may be sufficient for the purpose, but not if the L2TP should be IPsec encrypted - although this switch seems to have the most powerful CPU of all switches so far, it does not support encryption in hardware, so you may have to connect it to a router that does (a hAP ac² should give you at least 50 Mbit/s over L2TP/IPsec).
 
AidanAus
Member Candidate
Member Candidate
Posts: 177
Joined: Wed May 08, 2019 7:35 am
Location: Australia
Contact:

Re: How to allocate 1 L2TP VPN connection to each port of switch?

Tue Sep 13, 2022 4:49 am

semi-related: OP please keep in mind that you are only able to have 1 tunnel coming from/to the same pairing of public IP's due to it using protocols with no ports, this means you can have the vpn aggregator with multiple connections but if you need 2 l2tp clients coming off the same IP then looking into sstp(if on os6) or Wireguard(if on os 7) would be a better solution?

Who is online

Users browsing this forum: Bing [Bot], daliusm, roemer and 105 guests