I do have my own web server running centos 7 i could use. I am planning to buy a small mini-pc that will be running home assistant and frigate for recording my camera’s and integrating AI detection into my smart home. It seems the best installation for that is debian.
I have a router that is using a wireguard vpn, that does not allow port forwarding, so i need an alternative to access the mini-pc.
Now, of course there’s some things to be found when googling, but my preference goes to the most easy-to-use solution as i’m not great with linux, i just mess around digging through configs, copy-pasting instructions and getting stuff done that way. This is why I wanted to ask you guys for advice =)
Would appriciate assistance!
Set up a reverse tunnel to the outside box that you want to get in from.
For example, from the inside machine:
ssh outsidemachine -R 2222:localhost:22
Then on your outsidemachine:
ssh -p 2222 localhost
Maybe run top or something just to keep traffic going across so that firewalls don’t drop your connection.
This is what I’ve done too. I am almost certain it is less performant than some of the other options out there but I like that it is simple and using a tool I know. If this was a major use case of mine, I’d probably do more playing and get it working with something else but this works for now.
Also check out autossh and some of those tools