With -W we reduce timeouts when we don't expect a response. With -i the interval between pings is reduced (mostly in case of auto=route where the first ping yields no reply).
9 lines
275 B
Plaintext
9 lines
275 B
Plaintext
moon::iptables-restore < /etc/iptables.rules
|
|
carol::iptables-restore < /etc/iptables.rules
|
|
moon::ipsec start
|
|
carol::ipsec start
|
|
carol::expect-connection home-icmp
|
|
carol::expect-connection home-ssh
|
|
carol::ssh PH_IP_ALICE hostname
|
|
carol::ping -W 1 -c 1 PH_IP_ALICE > /dev/null
|