diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2016-06-29 20:14:25 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2016-06-29 20:14:25 +0200 |
commit | aaba815dbccbb0d623def17d1e030383d905daa0 (patch) | |
tree | 8a566201e726304587d412d8a6508ea1d0c566db /roles/common/templates/etc/network | |
parent | 0e583714e7dbba5a871b1bfdf4b85bd0b5f91632 (diff) |
IPSec → IPsec
Diffstat (limited to 'roles/common/templates/etc/network')
-rwxr-xr-x | roles/common/templates/etc/network/if-up.d/ipsec.j2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/common/templates/etc/network/if-up.d/ipsec.j2 b/roles/common/templates/etc/network/if-up.d/ipsec.j2 index 7dd41d4..caa5129 100755 --- a/roles/common/templates/etc/network/if-up.d/ipsec.j2 +++ b/roles/common/templates/etc/network/if-up.d/ipsec.j2 @@ -1,7 +1,7 @@ #!/bin/sh # A post-up/down hook to automatically create/delete a virtual subnet -# for IPSec (inet4 only). +# for IPsec (inet4 only). # Copyright © 2016 Guilhem Moulin <guilhem@fripost.org> # # This program is free software: you can redistribute it and/or modify @@ -35,9 +35,9 @@ vsubnet="{{ ipsec_subnet }}" case "$MODE" in start) ip address add "$vip/32" dev "$IFACE" scope global || true - # Nullroute the subnet used for IPSec to avoid data leaks + # Nullroute the subnet used for IPsec to avoid data leaks # in the absence of xfrm lookup (i.e., when there is no - # matching IPSec Security Association). + # matching IPsec Security Association). ip route replace prohibit "$vsubnet" proto static || true ip route replace table 220 to "$vsubnet" via "$ip" dev "$IFACE" proto static src "$vip" || true ;; |