Typically the /etc/network/interfaces file on Debian can include routing requirements such as
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o vmbr0 -j MASQUERADE post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o vmbr0 -j MASQUERADE If i wanted to exclusively use UFW (and not touch the interfaces file) where would I put the post-down line?
I know that the post-up line equivalent can be put inside /etc/ufw/before.rules like so:
*nat :POSTROUTING ACCEPT [0:0] -A POSTROUTING -s 10.10.10.0/24 -o vmbr0 -j MASQUERADE COMMIT thanks,