summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-07-12 21:28:06 -0400
committerAndrew Cady <d@jerkface.net>2019-07-12 21:28:06 -0400
commit0e4f98e04552d4aa5d5b450d9c64716ba43c5d7c (patch)
tree924a414fbcad30cc25517b0e2b6f768b88f8b641
parent094de312dfa610292afecc8c91e4ac57171babaf (diff)
ipsec.conf format changed
-rw-r--r--lib/Kiki.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kiki.hs b/lib/Kiki.hs
index e624ba6..32add1b 100644
--- a/lib/Kiki.hs
+++ b/lib/Kiki.hs
@@ -485,7 +485,7 @@ installIpsecConf fw wkaddr certBasename cs = do
485 , " leftsubnet=" <> Char8.pack (showA wkaddr) <> "/128" 485 , " leftsubnet=" <> Char8.pack (showA wkaddr) <> "/128"
486 , " leftauth=pubkey" 486 , " leftauth=pubkey"
487 , " leftid=" <> Char8.pack (showA wkaddr) 487 , " leftid=" <> Char8.pack (showA wkaddr)
488 , " leftrsasigkey=" <> certBasename 488 , " leftsigkey=" <> certBasename
489 , " leftikeport=4500" 489 , " leftikeport=4500"
490 , " rightikeport=4500" 490 , " rightikeport=4500"
491 , " right=%any" 491 , " right=%any"
@@ -591,7 +591,7 @@ strongswanPeerConfiguration addr (UidHostname oname) (ResolvableHostname rightip
591 , " rightsubnet=" <> p (showA addr) <> "/128" 591 , " rightsubnet=" <> p (showA addr) <> "/128"
592 , " rightauth=pubkey" 592 , " rightauth=pubkey"
593 , " rightid=" <> p (showA addr) 593 , " rightid=" <> p (showA addr)
594 , " rightrsasigkey=" <> oname <> ".pem" 594 , " rightsigkey=" <> oname <> ".pem"
595 ] 595 ]
596 where p = Char8.pack 596 where p = Char8.pack
597 597