this post was submitted on 16 Jan 2024
28 points (93.8% liked)
Open Source
31200 readers
276 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
- !libre_culture@lemmy.ml
- !libre_software@lemmy.ml
- !libre_hardware@lemmy.ml
- !linux@lemmy.ml
- !technology@lemmy.ml
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I use SSH with port fowarding to securely access my services running on my server to anywhere I have internet. Its easy to setup, just expose any device running a ssh server like openssh to the internet, probably on a port that isnt 22, and with key only authentication.
Then on whatever device you want to get your services on you can do like
Where
8022
is the port of the ssh server exposed to the internet (default is 22),8010
is the port its gonna bind to on the device you are using the client (it will bind to 127.0.0.1 by default),192.168.75.111:80
is the address/hostname and the port of where your services are on your local network, anduser@serverspublicip
is your username and the ip address of where your ssh server is.You can also use ssh to make a SOCKS proxy in your network like this
This will make a socks proxy into your network on your device at
127.0.0.1:1080
. All of this can also be done on just about any mobile phone running android by using termux.