strongswan: Add network.conf with our own settings
These settings are required to make everything in the network package work. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
parent
1cf3276337
commit
00a97de355
|
@ -0,0 +1,12 @@
|
|||
#
|
||||
# Configuration options for IPFire
|
||||
#
|
||||
|
||||
charon {
|
||||
# Send Cisco Unity vendor ID payload (IKEv1 only)
|
||||
cisco_unity = yes
|
||||
|
||||
# Install routes into a separate routing table for established IPsec
|
||||
# tunnels.
|
||||
install_routes = no
|
||||
}
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
name = strongswan
|
||||
version = 5.6.3
|
||||
release = 1
|
||||
release = 2
|
||||
|
||||
groups = Networking/VPN
|
||||
url = http://www.strongswan.org/
|
||||
|
@ -86,6 +86,10 @@ build
|
|||
install_cmds
|
||||
mv -v %{BUILDROOT}%{unitdir}/strongswan{-swanctl,}.service
|
||||
|
||||
# Install network settings
|
||||
install -v -m 644 %{DIR_SOURCE}/network.conf \
|
||||
%{BUILDROOT}%{sysconfdir}/strongswan.d/
|
||||
|
||||
# Create directory for connections
|
||||
mkdir -pv %{BUILDROOT}%{sysconfdir}/swanctl/connections
|
||||
echo "include connections/*.conf" > \
|
||||
|
|
Loading…
Reference in New Issue