1
0
mirror of https://github.com/laurivosandi/certidude synced 2025-09-06 05:41:04 +00:00

Added preliminary interfacing with updown scripts

This commit is contained in:
2015-11-13 23:16:38 +01:00
parent 887743cc0b
commit e6f050c257
17 changed files with 156 additions and 44 deletions

4
doc/strongswan-updown.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
cat << EOF | curl -X POST -d @- -H "Event-Type: $PLUTO_VERB" http://ca.example.com/pub/?id=CA-channel-identifier-goes-here
{"address": "$PLUTO_PEER_SOURCEIP","peer": "$PLUTO_PEER","identity": "$PLUTO_PEER_ID","routed_subnet": "$PLUTO_MY_CLIENT"}
EOF