Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Open a TCP port in Ubuntu's ufw firewall

Answer:

To open a TCP port, e.g. 8080 in the Ubuntu's UFW firewall (Uncomplicated firewall)

# sudo ufw allow 8080/tcp
# sudo ufw reload
  1. Allow a remote IP for incoming connection in UFW (Uncomplicated firewall)
  2. Removed opened port in ufw
  3. How do I set up a firewall under Linux?
  4. Simple port forwarding using SSH
  5. What is the SMTP submission port 587?

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>