Technical Discussion
  >> Security Related Issues


Register (or login) on our website and you will not see this ad.


These posts have been archived and can no longer be replied to or modified.
  Print Thread
Standard User chippy2
(fountain of knowledge) Thu 26-Mar-09 09:34:07
Print Post

Dumb question


[link to this post]
 
I'm probably just avoiding using my own brain here but could someone please help with a simple question. I have installed a web server on my laptop (using WampServer), so I can test a mysql/php driven package I'm working on. Most of the time the machine is connected to the internet through a NAT router with firewall. Sometimes I connect wirelessly through my mobile. How can I make sure that no one can access the server from the internet?
Standard User deleted
(deleted) Thu 26-Mar-09 12:40:12
Print Post

Re: Dumb question


[re: chippy2] [link to this post]
 
Just make sure you haven't forwarded port 80 (http) or 443 (https) inbound on your router to your laptop.
Standard User chippy2
(fountain of knowledge) Thu 26-Mar-09 16:10:40
Print Post

Re: Dumb question


[re: deleted] [link to this post]
 
Thanks. And when I'm connected wirelessly with no router?


Register (or login) on our website and you will not see this ad.

Standard User deleted
(deleted) Thu 26-Mar-09 16:38:16
Print Post

Re: Dumb question


[re: chippy2] [link to this post]
 
You'll have to rely on WEP/WPA encryption in that case to prevent eavesdropping or connection to your wireless router.
Standard User deleted
(deleted) Thu 26-Mar-09 18:00:11
Print Post

Re: Dumb question


[re: chippy2] [link to this post]
 
The quickest way is just to block the incoming connections via the software firewall on your laptop. I'd also configure Apache and MySQL to only bind on the loopback:

http://httpd.apache.org/docs/2.0/bind.html
http://dev.mysql.com/doc/refman/5.1/en/server-option...
Administrator MrSaffron
(staff) Fri 27-Mar-09 11:02:14
Print Post

Re: Dumb question


[re: chippy2] [link to this post]
 
I think others missed what you meant, which seems to be the laptop hosting server is using the mobile for its internet connection...

The firewall you are running locallly on your laptop ( you will of course already have one running, mad not to) will protect your server from being found. So if no software firewall get one, the one with XP should be enough if you have it turned on and don't add an expection for the webserver

Andrew Ferguson, [email protected]
www.thinkbroadband.com - formerly known as ADSLguide.org.uk
The author of the above post is a thinkbroadband staff member. It may not constitute an official statement on behalf of thinkbroadband.
Standard User chippy2
(fountain of knowledge) Sat 28-Mar-09 11:57:20
Print Post

Re: Dumb question


[re: chippy2] [link to this post]
 
Thanks everyone for your help smile
  Print Thread

Jump to