mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
While the alias is available after enabling the unit, we don't actually do that in our testing environment (adding a symlink manually would work too, then again, why not just use the proper name?).
12 lines
446 B
Plaintext
12 lines
446 B
Plaintext
moon::iptables-restore < /etc/iptables.rules
|
|
sun::iptables-restore < /etc/iptables.rules
|
|
alice::"ip route add fec2:\:/16 via fec1:\:1"
|
|
moon::"ip route add fec2:\:/16 via fec0:\:2"
|
|
sun::"ip route add fec1:\:/16 via fec0:\:1"
|
|
bob::"ip route add fec1:\:/16 via fec2:\:1"
|
|
moon::systemctl start strongswan
|
|
sun::systemctl start strongswan
|
|
moon::expect-connection gw-gw
|
|
sun::expect-connection gw-gw
|
|
moon::swanctl --initiate --child net-net 2> /dev/null
|