Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a ubuntu 64 12.04 server on linode and I need to limit access by ip address. I have never used ip tables and I understand its rather a complex topic. Than than uses sec groups on ec2, I know nothing.

So, I want to keep ssh 22 open but all other ports closed expect 2812 for monit and a couple of UDP ports.

So, what is the easiest methods to accomplish this?

share|improve this question
1  
If you have an Internet connected host, you really do need to invest the time and effort in learning the host platform's firewall and security utilities. IPTables is a complex topic, but Internet security is also a complex topic. You'll be glad you made the investment. –  D_Bye Jul 10 '12 at 11:54
    
Agreed. I used uwf and worked great. Next think I will do is a ssh proxy. Linode does not provide support and the machine is wide open by default. –  Monty Jul 11 '12 at 5:50
add comment

1 Answer

up vote 0 down vote accepted

In order to accomplish OP answer there are several ways to do allow access to specific ip address see this,

The easiest thing to manage ufw in your case is gufw as it allows you edit iptables in Ubuntu without terminal.

share|improve this answer
    
Thanks. ufw is what I was looking for. –  Monty Jul 11 '12 at 1:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.