Created
June 3, 2012 07:07
-
-
Save yano3/2862354 to your computer and use it in GitHub Desktop.
ufw setting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo ufw status | |
Status: inactive | |
$ sudo ufw default deny | |
Default incoming policy changed to 'deny' | |
(be sure to update your rules accordingly) | |
$ sudo ufw allow ssh | |
Rules updated | |
$ 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 status | |
Status: active | |
To Action From | |
-- ------ ---- | |
22 ALLOW Anywhere |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment