2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ubuntu13.04でufwの設定

Posted at

$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup

$ sudo ufw default DENY
Default incoming policy changed to 'deny'
(be sure to update your rules accordingly)

$ sudo sudo ufw allow 22/tcp
Rule added
Rule added (v6)

$ sudo ufw allow 80/tcp
Rule added
Rule added (v6)

$ sudo ufw allow 443/tcp
Rule added
Rule added (v6)

$ sudo ufw limit ssh
Rule added
Rule added (v6)

$ sudo ufw logging low
Logging enabled

$ sudo ufw app list
Available applications:
OpenSSH

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?