F5F Stay Refreshed Power Users Networks Question about setting up a reverse SSH tunnel

Question about setting up a reverse SSH tunnel

Question about setting up a reverse SSH tunnel

J
Jolias055
Junior Member
31
09-10-2023, 09:31 AM
#1
Hello everyone, I'm facing an issue: My ISP blocks port 80 (thanks to Cox) and I'm trying to launch a small site with Let'sEncrypt. It needs to allow SSL traffic on port 80. That's why you're seeing the problem. One idea I had was setting up a cloud server outside my network (Linode) and using a reverse SSH tunnel to send traffic through ports 80/443 to my local machine. This way, I can point my domain to the Linode server and have it forward to my local setup without needing those ports directly. Still, I'm having trouble accessing the site from my public IP on port 80. The command I'm using locally is: ssh -N -R 80:LocalIP:80 LinodeUsername@LinodeServerAddress. I expect this would let me reach http://linodeserveraddress and view the site on my machine. Any advice would be greatly appreciated!
J
Jolias055
09-10-2023, 09:31 AM #1

Hello everyone, I'm facing an issue: My ISP blocks port 80 (thanks to Cox) and I'm trying to launch a small site with Let'sEncrypt. It needs to allow SSL traffic on port 80. That's why you're seeing the problem. One idea I had was setting up a cloud server outside my network (Linode) and using a reverse SSH tunnel to send traffic through ports 80/443 to my local machine. This way, I can point my domain to the Linode server and have it forward to my local setup without needing those ports directly. Still, I'm having trouble accessing the site from my public IP on port 80. The command I'm using locally is: ssh -N -R 80:LocalIP:80 LinodeUsername@LinodeServerAddress. I expect this would let me reach http://linodeserveraddress and view the site on my machine. Any advice would be greatly appreciated!

K
117
09-10-2023, 06:21 PM
#2
The site needs to stay on your device for practical reasons. Hosting costs are low, so placing it locally makes sense.
K
KAPAMASTERPTYT
09-10-2023, 06:21 PM #2

The site needs to stay on your device for practical reasons. Hosting costs are low, so placing it locally makes sense.

B
blakerhg
Junior Member
28
09-18-2023, 08:33 AM
#3
In short, you're aiming to place it on your home network so you can share other services online and obtain an SSL certificate. It's also a personal project where you enjoy experimenting with it.
B
blakerhg
09-18-2023, 08:33 AM #3

In short, you're aiming to place it on your home network so you can share other services online and obtain an SSL certificate. It's also a personal project where you enjoy experimenting with it.

P
poofx4
Junior Member
28
09-18-2023, 01:49 PM
#4
Instead of port 80, consider using a different port for security purposes. I remember now—you can run Nginx on a simple cloud setup to handle port 80 and then forward it to another port on your local network.
P
poofx4
09-18-2023, 01:49 PM #4

Instead of port 80, consider using a different port for security purposes. I remember now—you can run Nginx on a simple cloud setup to handle port 80 and then forward it to another port on your local network.