As a general rule, you should avoid duplicating information on different computers, if only to make it easier to change information when necessary. The host-to-host connection between West and East and the subnet-to-subnet connection between Sunset and Sunrise are almost identical. The only differences are the subnet=
lines. There is a way to avoid this duplication.
We can write two similar connections to avoid repeating information with the also=
keyword:
conn sunset-sunrise leftsubnet=193.111.228.0/24 rightsubnet=192.0.2.0/24 also=west-east conn west-east left=193.110.157.131 right=205.150.200.209 leftrsasigkey=0sAQ.... rightrsasigkey=0sAQ.... auto=start
Unfortunately, due to how the parser works, you have to put all the sections referenced by an also=
statement below the connections that include such an also=
statement, even though it might seem more logical to place them in the reverse order.