Jump to content
  • 0

Access NGINX web server on port 80/443 from outside

Rate this question



Hi all,

I figure this is a long shot, but I may as well ask: I have a server running Ubuntu 20.04 that connects constantly to TorGuard via OpenVPN (auth port 1195, UDP), and I want to run a NGINX reverse proxy to make my torrent client's WebUI accessible without having to remember the port number. So far the reverse proxy works as intended, but I can only access it on port 80 through my local network.

Now, I know that I can't forward ports 80 or 443 on TorGuard's network because they're below 2048. However, TorGuard support replied to my initial ticket and said that I shouldn't have any issue with ports 80/443 from the outside.

I've checked, and firewalls are disabled. I realize a solution to this problem would be running my VPN-connected applications in a Virtual Machine, but that's not possible as the computer the server runs on does not support virtualization on a hardware level. Emulation would be way too slow, as the platform is a mid-range Core 2 Duo from early 2009, so that's out of the question.

Is there any way to push traffic through ports 80/443 on the TorGuard network?


Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I'm looking for an answer to this as well.

I actually am running a VM.  I have nextcloud on a VM and I also have a domain with an A record I use to point to my Torguard Dedicated IP.
I can type my "whatever.mydomain.com:portnumber" to access my nextcloud outside of my home network, but would like to do 2 things.

(1) Use certbot to get an SSL cert so I can use my cloud securely.  This requires it to perform it's check over port 80, which is closed, so it cannot pass the check.

(2) Eliminate the need to type the port number.  Not typing a port number defaults to port 80.  I can setup incoming requests on port 80 to redirect to any specified port I decide (which in this case would be the port i'm going to use for ssl), but not so long as port 80 is blocked.  

At this point, the only thing I know to do would be just to rent a VPS and setup a VPN on it and customize how I need it.  I've managed to do that before via a Youtube tutorial, but much of it is outside or the edge of my comfort/knowledge zone could to potential security holes or unwanted access to my network.  Then again, Linode just got bought out, so they'll likely go down hill now. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...