Sep 19, 2018

How to set Ubutu Firewall default forward policy

sudo vim /etc/default/ufw

# Set the default forward policy to ACCEPT, DROP or REJECT.  Please note that
# if you change this you will most likely want to adjust your rules
DEFAULT_FORWARD_POLICY="ACCEPT"

sudo ufw disable && sudo ufw enable