Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Mar 21, 2013 5:47 am 
Offline

Joined: Thu Mar 21, 2013 5:39 am
Posts: 1
I'm new to Linux, I'm using ubuntu, I think if linode can provide the iptable scripts for some cases then will be great.

My wishlist:

A: For webserver
1. Just allow SSH and HTTP, HTTPS service
2. Anti synflood
3. Allow outbound ping but reject inbound ping
4. Reject Invalid networks (Spoof)
5. Validate packets


B. For DB server
1. Just allow connect mysql from webserver only.
2. Disable all other services.


Best regards,


Top
   
PostPosted: Thu Mar 21, 2013 6:11 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
This -might- be something included in the Managed beta (viewtopic.php?f=26&t=9708) - but as of now Linode is still an unmanaged service, so it's unlikely they would provide these scripts.


Top
   
PostPosted: Thu Mar 21, 2013 6:28 am 
Offline
Senior Member

Joined: Mon Sep 12, 2011 3:29 am
Posts: 63
ICQ: 1081190
Website: http://kyhwana.org
AOL: kyhwana
Location: New Zealand
1) Allow all (default on most distros) have web/ssh server listen on 0.0.0.0 Ports 22, 80, 443. Done
2) -A INPUT -p tcp -i eth0 --syn -m limit --limit 100/second --limit-burst 200
3) No.
4) Define Invalid networks?
5) No rules needed.

DB server:
1) Set mysql to listen on localhost only
2) Don't start those other service.

DONE


Top
   
PostPosted: Thu Mar 21, 2013 6:47 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Code:
apt-get install ufw
man ufw

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
PostPosted: Thu Mar 21, 2013 11:42 am 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
hoopycat wrote:
Code:
apt-get install ufw
man ufw


^ this


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


Who is online

Users browsing this forum: No registered users and 2 guests


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