Answer the question
In order to leave comments, you need to log in
How to make traffic go through vpn nodes?
There are three servers (vpnserver #1 + its vpnclient #2 + also vpnclient #3 - everyone sees each arc in site-to-site mode)
vpnservers (which are waiting for connection) are installed on each #1, #2 and #3 (which are waiting for connection)
if the user connected to vpnserv#3 how to make traffic go through #1 then go out to the world through #2?
and also
if the client connected to vpnserver #2 how to make the traffic go through #3 and out into the world through #1?
Are there any solutions for this? Which way to look?
Answer the question
In order to leave comments, you need to log in
From a simple one, you can theoretically try to resolve it with static routing, but then all 3 VPN servers should give the client IP from different subnets, and nat should be disabled between the servers for all these client networks. That is, something like this: The
user gets to server 3, receives an IP from the range 192.168.3.0/24, there is a static entry on the server to wrap this entire grid not in the default gateway, but in VPN1, it is also worth it for the same network routing is not in default, but in VPN2 and only in VPN2 for this network there is no separate routing and there is already nat, for other options by analogy.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question