Error configuring ufw - sudo ufw enable
up vote
0
down vote
favorite
I am getting error while running command "sudo afw enable".I am using ubuntu 18.04.
ubuntu
New contributor
add a comment |
up vote
0
down vote
favorite
I am getting error while running command "sudo afw enable".I am using ubuntu 18.04.
ubuntu
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am getting error while running command "sudo afw enable".I am using ubuntu 18.04.
ubuntu
New contributor
I am getting error while running command "sudo afw enable".I am using ubuntu 18.04.
ubuntu
ubuntu
New contributor
New contributor
edited Nov 22 at 11:19
Rui F Ribeiro
38.3k1475126
38.3k1475126
New contributor
asked Nov 22 at 11:18
Rupesh Roy IN
1
1
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Looks like /etc/default/ufw has error, try this file instead: https://raw.githubusercontent.com/jbq/ufw/master/conf/ufw.defaults
sudo mv /etc/default/ufw{,.bak}
sudo wget -O /etc/default/ufw https://raw.githubusercontent.com/jbq/ufw/master/conf/ufw.defaults
sudo ufw enable
Your original default file will be saved there: /etc/default/ufw.bak
New contributor
Thanks, this worked.
– Rupesh Roy IN
Nov 22 at 12:33
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Looks like /etc/default/ufw has error, try this file instead: https://raw.githubusercontent.com/jbq/ufw/master/conf/ufw.defaults
sudo mv /etc/default/ufw{,.bak}
sudo wget -O /etc/default/ufw https://raw.githubusercontent.com/jbq/ufw/master/conf/ufw.defaults
sudo ufw enable
Your original default file will be saved there: /etc/default/ufw.bak
New contributor
Thanks, this worked.
– Rupesh Roy IN
Nov 22 at 12:33
add a comment |
up vote
0
down vote
Looks like /etc/default/ufw has error, try this file instead: https://raw.githubusercontent.com/jbq/ufw/master/conf/ufw.defaults
sudo mv /etc/default/ufw{,.bak}
sudo wget -O /etc/default/ufw https://raw.githubusercontent.com/jbq/ufw/master/conf/ufw.defaults
sudo ufw enable
Your original default file will be saved there: /etc/default/ufw.bak
New contributor
Thanks, this worked.
– Rupesh Roy IN
Nov 22 at 12:33
add a comment |
up vote
0
down vote
up vote
0
down vote
Looks like /etc/default/ufw has error, try this file instead: https://raw.githubusercontent.com/jbq/ufw/master/conf/ufw.defaults
sudo mv /etc/default/ufw{,.bak}
sudo wget -O /etc/default/ufw https://raw.githubusercontent.com/jbq/ufw/master/conf/ufw.defaults
sudo ufw enable
Your original default file will be saved there: /etc/default/ufw.bak
New contributor
Looks like /etc/default/ufw has error, try this file instead: https://raw.githubusercontent.com/jbq/ufw/master/conf/ufw.defaults
sudo mv /etc/default/ufw{,.bak}
sudo wget -O /etc/default/ufw https://raw.githubusercontent.com/jbq/ufw/master/conf/ufw.defaults
sudo ufw enable
Your original default file will be saved there: /etc/default/ufw.bak
New contributor
New contributor
answered Nov 22 at 12:02
IvanBayan
612
612
New contributor
New contributor
Thanks, this worked.
– Rupesh Roy IN
Nov 22 at 12:33
add a comment |
Thanks, this worked.
– Rupesh Roy IN
Nov 22 at 12:33
Thanks, this worked.
– Rupesh Roy IN
Nov 22 at 12:33
Thanks, this worked.
– Rupesh Roy IN
Nov 22 at 12:33
add a comment |
Rupesh Roy IN is a new contributor. Be nice, and check out our Code of Conduct.
Rupesh Roy IN is a new contributor. Be nice, and check out our Code of Conduct.
Rupesh Roy IN is a new contributor. Be nice, and check out our Code of Conduct.
Rupesh Roy IN is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f483423%2ferror-configuring-ufw-sudo-ufw-enable%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown