Skip to content

Commit cdddd57

Browse files
committed
家にv4のデフォルトルートを向ける
1 parent 3772d2b commit cdddd57

File tree

1 file changed

+12
-1
lines changed
  • itamae/cookbooks/strongswan/templates/etc/swanctl/conf.d

1 file changed

+12
-1
lines changed

itamae/cookbooks/strongswan/templates/etc/swanctl/conf.d/yukari.conf

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
connections {
2+
to_linklocal {
3+
children {
4+
pass {
5+
local_ts = 10.8.192.42/32
6+
remote_ts = 169.254.169.253/32
7+
mode = pass
8+
start_action = trap
9+
}
10+
}
11+
}
12+
213
kizuna {
314
local_addrs = 2406:da14:37f:7c0d::fffe
415
remote_addrs = 240b:250:8020:d00::1
@@ -13,7 +24,7 @@ connections {
1324
children {
1425
net-net {
1526
local_ts = 10.8.192.0/20
16-
remote_ts = 10.8.0.0/19, 10.8.208.0/20, 10.255.255.1/32
27+
remote_ts = 0.0.0.0/0
1728

1829
updown = /usr/lib/ipsec/_updown iptables
1930
esp_proposals = aes256-sha512-modp2048

0 commit comments

Comments
 (0)