[strongSwan] Issue related to strongswan running in network namespace
ramakanth.varala at gmail.com
Sat Jul 2 05:00:14 CEST 2022
I want to run the strongswan in the namespace
In configure gave options as below
./configure --sysconfdir=/etc --with-piddir=/etc/run
namespace I have is netns1
Now my etc folder looks like "/etc/netns/netns1/" and run folder is
All my configs are now moved to /etc/netns/netns1 .
In namespace when I try to start ipsec "ip netns exec netns1 ipsec start" ,
gives me error as below
Bind /etc/netns/netns1/cups -> /etc/cups failed: No such file or directory
Bind /etc/netns/netns1/ipsec.d -> /etc/ipsec.d failed: No such file or
Bind /etc/netns/netns1/strongswan.conf -> /etc/strongswan.conf failed: No
such file or directory
Bind /etc/netns/netns1/strongswan.d -> /etc/strongswan.d failed: No such
file or directory
Bind /etc/netns/netns1/swanctl -> /etc/swanctl failed: No such file or
no files found matching '/etc/strongswan.conf'
abort initialization due to invalid configuration
Starting strongSwan 5.7.2 IPsec [starter]...
expanding file pattern '/etc/ipsec.d/*.conf' failed: No such file or
# deprecated keyword 'plutodebug' in config setup
# deprecated keyword 'virtual_private' in config setup
### 2 parsing errors (0 fatal) ###
It seems ipsec facing issue while trying to use the namespace specific
Any inputs on this would be really helpfull.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users