Announcement

Collapse
No announcement yet.

UFW is Blocking Firther SSH Connections?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    UFW is Blocking Firther SSH Connections?

    I've discovered that ufw is blocking my ssh connections.

    This is unusual because I have ufw to not block my port that I'm using (let's say its 12345 for example).
    I used ufw allow 12345.
    I also did ufw allow ssh.

    These result in ssh hanging when I try to login in a different terminal.

    How can I make ssh allow connections and what is the problem?

    #2
    I am by no means well versed in ufw , but wile looking over the man page ,,,,,,,,,,,,,,,,,,,,,,,,,,,

    ufw supports both ingress and egress filtering and users may optionally specify a direction of either in or out for either incoming or outgoing traffic. If no
    direction is supplied,
    the rule applies to incoming traffic.
    Soo perhaps you need to allow outgoing on the ssh port as well ?

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Yep, that was it.

      I guess I just assumed that it did it in both directions.

      Thanks!

      Comment

      Working...
      X