Skip to main content
added 269 characters in body
Source Link
Ephemeral
  • 2.2k
  • 1
  • 7
  • 19

Try to allow DNS :

sudo ufw allow dnsout 53

For your ping command ICMP rules is also require you can read here.

# ok icmp codes
-A ufw-before-input -pallow icmpoutbound --icmp-type destination-unreachable -j ACCEPT
-A ufw-before-inputoutput -p icmp --icmp-type source-quench -j ACCEPT
-A ufw-before-input -pm icmpstate --icmp-typestate time-exceededNEW,ESTABLISHED,RELATED -j ACCEPT
-A ufw-before-inputoutput -p icmp --icmp-type parameter-problem -j ACCEPT
-A ufw-before-input -pm icmpstate --icmp-typestate echo-requestESTABLISHED,RELATED -j ACCEPT

For error Failed to fetch http://... you need to allow http traffic for port 80.

sudo ufw allow out 80/tcp

After editing the file, run the command:

sudo ufw reload

Try to allow DNS :

sudo ufw allow dns

For your ping command ICMP rules is also require you can read here.

# ok icmp codes
-A ufw-before-input -p icmp --icmp-type destination-unreachable -j ACCEPT
-A ufw-before-input -p icmp --icmp-type source-quench -j ACCEPT
-A ufw-before-input -p icmp --icmp-type time-exceeded -j ACCEPT
-A ufw-before-input -p icmp --icmp-type parameter-problem -j ACCEPT
-A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT

For error Failed to fetch http://... you need to allow http traffic for port 80.

sudo ufw allow 80/tcp

Try to allow DNS :

sudo ufw allow out 53

For your ping command ICMP rules is also require you can read here.

# allow outbound icmp
-A ufw-before-output -p icmp -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
-A ufw-before-output -p icmp -m state --state ESTABLISHED,RELATED -j ACCEPT

For error Failed to fetch http://... you need to allow http traffic for port 80.

sudo ufw allow out 80

After editing the file, run the command:

sudo ufw reload
added 410 characters in body
Source Link
Ephemeral
  • 2.2k
  • 1
  • 7
  • 19

Try to allow DNS :

sudo ufw allow dns

For your ping command ICMP rules is also require you can read here.

# ok icmp codes
-A ufw-before-input -p icmp --icmp-type destination-unreachable -j ACCEPT
-A ufw-before-input -p icmp --icmp-type source-quench -j ACCEPT
-A ufw-before-input -p icmp --icmp-type time-exceeded -j ACCEPT
-A ufw-before-input -p icmp --icmp-type parameter-problem -j ACCEPT
-A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT

For error Failed to fetch http://... you need to allow http traffic for port 80.

sudo ufw allow 80/tcp

Try to allow DNS :

sudo ufw allow dns

For your ping command ICMP rules is also require you can read here.

For error Failed to fetch http://... you need to allow http traffic for port 80.

Try to allow DNS :

sudo ufw allow dns

For your ping command ICMP rules is also require you can read here.

# ok icmp codes
-A ufw-before-input -p icmp --icmp-type destination-unreachable -j ACCEPT
-A ufw-before-input -p icmp --icmp-type source-quench -j ACCEPT
-A ufw-before-input -p icmp --icmp-type time-exceeded -j ACCEPT
-A ufw-before-input -p icmp --icmp-type parameter-problem -j ACCEPT
-A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT

For error Failed to fetch http://... you need to allow http traffic for port 80.

sudo ufw allow 80/tcp
added 200 characters in body
Source Link
Ephemeral
  • 2.2k
  • 1
  • 7
  • 19

Try to allow DNS :

sudo ufw allow dns

For your ping command ICMP rules is also require you can read here.

For error Failed to fetch http://... you need to allow http traffic for port 80.

Try to allow DNS :

sudo ufw allow dns

Try to allow DNS :

sudo ufw allow dns

For your ping command ICMP rules is also require you can read here.

For error Failed to fetch http://... you need to allow http traffic for port 80.

Source Link
Ephemeral
  • 2.2k
  • 1
  • 7
  • 19
Loading