1

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

karthick87
  • 80,647
  • 59
  • 193
  • 232

1 Answers1

2

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.

Oli
  • 289,791
  • 117
  • 680
  • 835