Sorry I meant for that IP or a range of IP's. ------------------------ Keith Smith --- On Thu, 6/30/11, keith smith wrote: From: keith smith Subject: Re: How to access a server http port 80 with port forwarding behind a router but require a password To: "Main PLUG discussion list" Date: Thursday, June 30, 2011, 6:41 PM If you know the remote IP you can use IPTables to block port 80 expect for that port or ports. ------------------------ Keith Smith --- On Thu, 6/30/11, Brian Parma wrote: From: Brian Parma Subject: Re: How to access a server http port 80 with port forwarding behind a router but require a password To: plug-discuss@lists.plug.phoenix.az.us Date: Thursday, June 30, 2011, 5:42 PM If you only want to authenticate outside users, you could setup a VPN if you are going to be accessing it from the same machine (like a laptop).  You could use temporary SSH tunneling also, which would give access only to the machine you are SSHing from. You might be able to setup a dual HTTP/HTTPS as Judd said and only require authentication on the HTTPS, then just forward that port.  I'm not sure as I've never tried it. On 06/30/2011 05:28 PM, Judd Pickell wrote: > Before you get too excited, most home network providers don't allow > riding port 80. You can always use a different port like 8081 to > bypass. Standard Authentication is doable via .htaccess with apache, > however you goal is to be secure so you will likely want to setup a > HTTPS port with basic authentication in Apache that you will point to. > Not the most perfect solution but it does do roughly what you are > wanting. > > Sincerely, > Judd Pickell > > On Thu, Jun 30, 2011 at 5:22 PM,  wrote: >> Hi, >> >> Using Ubuntu 10.04 LTS. >> >> I have an intranet server behind a NAT router. Very standard linksys >> router home setup. The server has a static IP. I used port forwarding in >> the router to use SSH and log into the server remotely - it works OK. >> >> I want no one outside my home network to access any webpages on the >> server unless they're authenticated.. I know I could port forward like >> with ssh but with http port 80 and then see webpages , but again this >> would open it up to anyone with my cable modem's IP - wouldn't it? >> >> I need a secure way like SSH that requires a password before anyone >> could access port 80 and http from the server from a remote network. >> >> How do I do this? And on the local network people can get served pages >> normally as usual. Just remote would need authentication. Must be >> commonly done(?) >> >> Thanks, >> >> Lee G. >> --------------------------------------------------- >> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us >> To subscribe, unsubscribe, or to change your mail settings: >> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss >> > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change your mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -----Inline Attachment Follows----- --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss