<div dir="ltr">I would like to setup a more stable secure connection between my servers.<div><br></div><div>Currently I'm using ssh socks5 proxy, which does work:</div><div><br></div><div>ssh -fN -D localhost:1080 myuser@my-remote-ip<br></div><div><br></div><div>and then I'm able to cURL with curl --socks5-hostname:localhost:1080 ...</div><div><br></div><div>I'm able to setup StrongSWAN between my to servers, following this example:</div><div><a href="https://www.strongswan.org/testing/testresults/ikev2/net2net-psk/">https://www.strongswan.org/testing/testresults/ikev2/net2net-psk/</a><br></div><div><br></div><div>But I'm unable to using the remote server as proxy like with curl and ssh socks5.</div></div>