Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just want to deny VNC access to particular IP addresses. Is it possible? If yes how to acheive this task?

share|improve this question
up vote 2 down vote accepted

Here's a generic answer for any service:

sudo ufw deny from <IP> to port <PORT>

You'll need to turn on ufw (sudo ufw enable) but it'll let you do this.

share|improve this answer
    
Very nice way of putting it. – Luis Alvarado Jun 3 '11 at 21:58

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.