Using Linux builtin IP XFRM object, no additional software (like StrongSwan) is required.
Put both shell scripts under /etc/ipsec and the service file under /etc/systemd/system. Make sure /etc/ipsec/keys exists and is a directory (where keys will be generated and stored). Do this on both hosts. Note that the IP addresses should be swapped (and possibly replaced by its local address - the one behind any NAT present) on the remote host.
Edit all.sh to include all links you want to encrypt. Run all.sh once to produce keys, and copy the corresponding keys to the remote host. Run the edited all.sh on the remote host again.
To make things loaded on system boot automatically, run systemctl enable ipsec.service. You'll have to adopt the script for your init system if it isn't systemd.