how to set up a vpn using an imediary cloud-server
Colin Watson
cjwatson at ubuntu.com
Mon Oct 4 11:28:50 UTC 2021
On Mon, Oct 04, 2021 at 11:45:01AM +0200, robert rottermann wrote:
> I would like to set up a vpn to a server I have only indirect access trough
> a server in the cloud
>
> like so:
>
> localhost -> imediary(cloud) -> destination
>
> I then would like to do something like:
>
> rsync user at destination:file.xx .
>
> and vice versa.
Do you actually need the full complexity of a VPN, or would it be enough
to have one-step SSH connectivity so that you can use that sort of rsync
command conveniently? If SSH would do, then you can put something like
this in ~/.ssh/config:
Host destination
ProxyJump intermediary
(You can test this out before putting it in ~/.ssh/config by seeing if
"ssh -J intermediary destination" works.)
--
Colin Watson (he/him) [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list