I have a similar setup but instead of SSH Tunnels i use wireguard. In my case some services are not routed to the public internet and only accessible from within my privat wireguard network. E.g my smart home hub. I really like the flexibility to decide whats available for who.
Could you please elaborate on your setup? I haven't had the opportunity to play with Wireguard yet, that could be a useful first project to me :-)
Putting Raspberry Pi Online with Caddy and SSH Tunnel
51–60 of 157 posts
Re: Putting Raspberry Pi Online with Caddy and SSH Tunnel
#52Side conversation: I'm interested in being pretty good at this sort of thing: setting up servers, making them connect, understand the protocols enough to put them to practice. I believe this is in the realm of IT. What are some good resources to read to get to my goal? Thanks!
Re: Putting Raspberry Pi Online with Caddy and SSH Tunnel
#53ssh -R80:localhost:80 remote.moe
it should output an URL where your local port 80 is now available
Re: Putting Raspberry Pi Online with Caddy and SSH Tunnel
#54I have a similar setup but instead of SSH Tunnels i use wireguard. In my case some services are not routed to the public internet and only accessible from within my privat wireguard network. E.g my smart home hub. I really like the flexibility to decide whats available for who.
Could you please elaborate on your setup? I haven't had the opportunity to play with Wireguard yet, that could be a useful first project to me :-)
Re: Putting Raspberry Pi Online with Caddy and SSH Tunnel
#55Re: Putting Raspberry Pi Online with Caddy and SSH Tunnel
#56I install a reverse proxy on every remote machine (raspberry pi or odroid) I manage. These machines are usually tucked behind someone's router, and it is hard to tell every router owner to forward the ssh port. When I install a reverse proxy, the machines can proactively tunnel right into a beacon machine whenever they are online and I can ssh into them from the beacon machine directly. I usually set up frpc as a ser…
Re: Putting Raspberry Pi Online with Caddy and SSH Tunnel
#57Re: Putting Raspberry Pi Online with Caddy and SSH Tunnel
#58I have a similar setup but instead of SSH Tunnels i use wireguard. In my case some services are not routed to the public internet and only accessible from within my privat wireguard network. E.g my smart home hub. I really like the flexibility to decide whats available for who.
I also have my phone, laptop, etc all on the wireguard VPN, so I can ssh to anything from anywhere. I also have my laptop open to password-based ssh only from my wireguard VPN, so I can ssh (via termux) into my laptop, which has been extremely convenient in addition to being just plain cool. I can't speak highly enough of wireguard!
Re: Putting Raspberry Pi Online with Caddy and SSH Tunnel
#59You could do same with free tier google instance micro. The thing is, what do you get from exposing your own pi to internet ? Like you are not going to host websites and shit so what crude home automation and monitoring system ?
Re: Putting Raspberry Pi Online with Caddy and SSH Tunnel
#60I install a reverse proxy on every remote machine (raspberry pi or odroid) I manage. These machines are usually tucked behind someone's router, and it is hard to tell every router owner to forward the ssh port. When I install a reverse proxy, the machines can proactively tunnel right into a beacon machine whenever they are online and I can ssh into them from the beacon machine directly. I usually set up frpc as a ser…
Do you have a static IP or a domain that your beacon uses?