Configure Firewall in ufw at Ubuntu
-
I have configured the firewall to access only VNC and xRDP and other ports to open as 22,80,443.
When I have configured this and tried to take remote the system where I configured Firewall was unable to take remote.why?
I have opened the port such as 5900,5910 for VNC and then 3389 for xRDP.
When I try to take vnc it shows the error as :"The connection was refused by the host computer.
Then tried to take xrdp but there is also error came that this computer cannot connect to the remote computer"
Why this is showing like this.Can anyone give me suggestion improve the connection.
-
Either the rules are incorrect, the services aren't listening or there is something in the network layout if they are not on the same sub net that prevents this.
-
To check:
netstat -tulpn
Tells you what is listening.