Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I build a https web portal to a LAN device?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DingbatCA
Guru
Guru


Joined: 07 Jul 2004
Posts: 384
Location: Portland Or

PostPosted: Mon Sep 19, 2011 2:32 am    Post subject: How do I build a https web portal to a LAN device? Reply with quote

I am not really sure how to build this one.

The problem.
I have a simple weather station that has a web interface on my internal network. I does not have any form of authentication. I would like to place a password protected portal/proxy in from of it so I can access if from the out side world.

Something like this:
incoming request for the internet (Port 443, https) --> router --> (https) portal/proxy/password (http) --> (http) weather station.

The only part I don't know how to build is the portal/proxypassword thing. Is that an internal proxy? I am not even sure what to look for. Ideas?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Mon Sep 19, 2011 3:31 am    Post subject: Reply with quote

You want a reverse proxy, which will accept an encrypted connection, decrypt it, and forward it to the embedded device.

If you do not mind a slightly less clean solution, you could use ssh port forwarding or the ssh SOCKS proxy. Internet users would then authenticate to your sshd on the edge device. That would then allow them to forward traffic into the LAN, and ssh would handle encrypting the traffic as it traversed the Internet.
Back to top
View user's profile Send private message
DingbatCA
Guru
Guru


Joined: 07 Jul 2004
Posts: 384
Location: Portland Or

PostPosted: Mon Sep 19, 2011 3:34 am    Post subject: Reply with quote

HA! I am currently using ssh tunneling to get to my embedded device. :-)

I was looking for a better solution. Any ideas on a good "reverse proxy" or should I start googling?
Back to top
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Mon Sep 19, 2011 6:23 am    Post subject: Reply with quote

Perhaps you are already aware of it, but if "weather station" is running apache (or lighttpd), you can configure authentication. That way, you can do without portal/proxy/password.

http://httpd.apache.org/docs/2.0/howto/auth.html
__
sol
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum