]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
strongswan: Add network.conf with our own settings
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Sep 2018 12:57:00 +0000 (14:57 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Sep 2018 12:57:26 +0000 (14:57 +0200)
These settings are required to make everything in the
network package work.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
strongswan/network.conf [new file with mode: 0644]
strongswan/strongswan.nm

diff --git a/strongswan/network.conf b/strongswan/network.conf
new file mode 100644 (file)
index 0000000..635a5fd
--- /dev/null
@@ -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
+}
index 62795d77540acb7ac731c9ddbfab41754ee11010..12505baf09e641dbf4b81e8cc9ebe55e5efca173 100644 (file)
@@ -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" > \