luthis

@luthis@lemmy.nz

This profile is from a federated server and may be incomplete. Browse more on the original instance.

luthis, (edited )

Ahead of you with the non-default port, I just didn’t use it in the example.

But for the destination IP, I won’t always be connecting remotely from the same one. Or am I misunderstanding what you mean?

luthis,

learnt

learning… it’s extensive!

luthis,

I spent most of the day intensely learning nftables and ulogd thinking that was the way. Nope, there was a simple way all along.

luthis,

I have protonVPN, therefore no way to forward packets from their endpoint to my pc.

luthis,

Remote access while ProtonVPN is active.

luthis,

Yes but… I am learnING??

luthis, (edited )

I was surprised to learn this was a thing, impressive, however;

‘the VPN app sends a request to the VPN server to open a random port’

‘the active port number will change when you disconnect and reconnect the VPN.’

This will not work OOTB with Plex for example, you would need to change the port in the app every time. It becomes difficult to serve anything statically, like a XMPP server or anything that doesn’t let you configure the port.

You also would need to be at home to check which port you’ve been assigned eg if the connection drops and you get assigned a new port, defeating the whole ‘remote access’ thing.

luthis,

Woooah awesome thanks!

There goes my whole day again on systemd…

luthis,

No it’s the second one; server (home pc) is running ProtonVPN and there is a default route that makes all (ie ssh replies) traffic go through the VPN.

I added some clarification, but basically this sets up a port-based default route to the home router instead of the VPN, so that SSH etc works.

luthis,

Um… I’m going to choose to phone a friend on this one…

Oh, …I have no friends who would know.

My instinct is you’re going to need to journalctl -b and see what modprobe and udev are up to.

luthis,
  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #