Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 865 Bytes

disable_or_enable_ipv6.md

File metadata and controls

32 lines (23 loc) · 865 Bytes

Enable or Disable IPv6 in UFW Firewall

You have to edit: /etc/default/ufw and set IPV6=yes or IPV6=no. The first to enable IPv6, the latter to disable it.

Changing the value with a running instance, will require that you disable and re-enable.

sudo ufw disable
sudo ufw enable

Inspect the status and settings.

Check the current status:

```bash
sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW IN    Anywhere
22/tcp (v6)                ALLOW IN    Anywhere (v6)

Resources and References