Jump to content

Accessing webpage from local network, from outside


realWasabi
Go to solution Solved by requinix,

Recommended Posts

Hi

 

I have some servers running on my local network, which all support IPMI over http. In short, it's a web interface accessible in my browser.

 

I want to be able to access these sites from outside my local network. This is a problem, as all of them runs on port 80, which can't be changed, and as such, I can't just NAT my way out of it.

 

I also have a webserver that runs on the same local network - and I was thinking about using "file_get_html" in a iframe to access the site from that server - but this presents a few other problems, as the sites requires authentication (the htaccess basic authentication) and file_get_html doesn't seem to support that. Also, the site renders kinda wierd, not showing the top part of the logo etc.

 

How can this be done? If it helps anything, I also have a proxy server running on the same local network which can be used.

Link to comment
Share on other sites

This is a problem, as all of them runs on port 80, which can't be changed, and as such, I can't just NAT my way out of it.

I don't see why you can't just setup a NAT entry. No NAT system I've ever used required the source and destination ports to match so even if you already have an entry for port 80 going somewhere else you could just add an entry for port 8080 or something that goes to the IPMI IP. So you'd map externalip:8080 -> ipmi_ip:80

 

 

If for some reason that wont work for you though, then setup a proxy as suggested by requinix, or an ssh tunnel.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.