Created
January 23, 2017 03:19
-
-
Save xdream86/32fb24d3cf62dbb4a7b8d678cafae3d3 to your computer and use it in GitHub Desktop.
ufw自启动
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
Hi Oliver | |
Your solution is the simplest solution and that worked for me. Here's what i did | |
To start ufw on boot | |
Create a shell script | |
Sudo nano start_ufw.sh containing 2 lines | |
#!/bin/sh | |
/usr/sbin/ufw enable | |
Ctrl-X to save it | |
sudo cp start_ufw.sh /etc/rc.local | |
To check: | |
sudo reboot | |
sudo ufw status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment