Answer the question
In order to leave comments, you need to log in
How to correctly specify the internal subnet when connecting to an IPSec tunnel using strongswan?
There is a server that has an interface 1.2.3.4/32
with an external IP (IP came up with a random one for an example). This server must be connected to the IPSec tunnel to the server 5.6.7.8/32
. I want to do it through strongswan. In the strongswan config, you need to specify the internal subnet in the leftsubnet (rightsubnet) parameter. Question: is it possible to specify as an internal subnet 1.2.3.4/32
, i.e. the same external subnet, the same IP through which one server will connect to another? Will it be correct and will it work?
Or do you need to create a virtual interface, prescribe some type of subnet for it, 10.10.15.0/24
and only then prescribe this subnet in (right-)leftsubnet?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question