Results 1 to 1 of 1

Thread: UFW only allows connections in when admin is logged in

  1. #1
    Join Date
    May 2019
    Beans
    1

    Question UFW only allows connections in when admin is logged in

    Hello.


    I have a fresh install of Ubuntu 18.04 on a computer that I have set up with 4 accounts, one of which being an admin account. When I set up ufw under the admin account with the following commands, everything works fine; the other three users are able to log in remotely to the computer.


    Code:
    sudo ufw enable
    sudo ufw allow to any port 22 to tcp from x.x.0.0/16 (I removed the first two numbers for privacy reasons)
    sudo iptables-save
    sudo ufw status numbered
    However, once I log out of the admin account, the other three accounts are no longer able to log in remotely via PuTTY (or otherwise) to the computer, until I sign back into the admin account. I would like it so that the other three users are still able to log in and access the computer even while the admin account is logged out. I appreciate any help that you can provide. Thank you.
    Last edited by noventium; 1 Week Ago at 09:33 PM. Reason: admin, ufw, logged out, can't access

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •