I have an ubuntu vm which runs the UFW and a microsoft xp professional. The ip address of the ubuntu is and so I made the xp have a static ip address of so they will be on the same network. I tried using telnet to connect to the Ubuntu it failed, which was suppose to happen because of the implicit deny. However when I typed sudo ufw allow from to any port 23 to allow telnet it still did not work. I do not know what is wrong.


You have to delete the deny rule as the deny rule will trump the allow rule.

Because the deny is still in place, allow will not work.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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