Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jun 17, 2010 9:26 am 
Offline
Senior Newbie
User avatar

Joined: Fri Apr 23, 2010 5:24 pm
Posts: 16
Location: West Coast
I have a LAMP setup with Ubuntu 9.10 and want to know if there is one command or the easiest way to simply block all ports on a firewall and open up only the ports that are required for web server functionality. (email, http, etc)

What ports and configurations does everyone have and/or recommend? I'm wanting to limit as many open holes as possible. Thanks.


Top
   
 Post subject:
PostPosted: Thu Jun 17, 2010 9:35 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
The ports you need open depends on what you're doing, a LAMP stack you need 80.

Here's a guide to configuring a firewall for debian, which is pretty much the same as ubuntu

http://library.linode.com/networking/se ... bian-lenny


Top
   
 Post subject:
PostPosted: Thu Jun 17, 2010 10:30 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Or, take a look at ufw, which is documented in the Ubuntu Server Guide:

https://help.ubuntu.com/9.10/serverguid ... ewall.html


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group