in3vrr
Posts: 19
Joined: Sat Oct 08, 2016 1:30 pm

fail2ban & VNC - it works ?

Sun Nov 20, 2016 2:15 pm

I would check the VNC access with fail2ban as well as I did for SSH .... is it possible ?
Is it okay to add these lines in jail.local after [ssh] jail ?

[vnc]
enabled = true
vnc port = 5900
filter = vnc
logpath = /var/log/auth.log
maxretry = 3

filter = vnc ?
VNC also uses /var/log/auth.log ?
Suggestions?
Thank you
regards
Bob

User avatar
topguy
Posts: 5967
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: fail2ban & VNC - it works ?

Sun Nov 20, 2016 2:48 pm

I would suggest that you disable VNC from external connections and use ssh tunneling.

https://www.theurbanpenguin.com/creatin ... ecure-vnc/

in3vrr
Posts: 19
Joined: Sat Oct 08, 2016 1:30 pm

Re: fail2ban & VNC - it works ?

Sun Nov 20, 2016 4:45 pm

topguy wrote:I would suggest that you disable VNC from external connections and use ssh tunneling.

https://www.theurbanpenguin.com/creatin ... ecure-vnc/
Thanks for the great advice!
It works perfectly.
Done !
Regards
Bob

Return to “Off topic discussion”