I used a script to set up
iptables
rules and then made them persistent with iptables-persistant
. This is described here as a means to prevent a certain user sending traffic over eth0
so it can just use tun0
aka a VPN
.
But I also use ufw
to easily manage firewall rules.
Now, if I make the rules persistant ufw
seems not beeing able to load its own rules on top of that.
Is this a basic conflic? Or should I be able to solve it?
Of course I could make the rules persistant after I added sudo ufw enable
but then any changes to ufw
afterwards would have to be persistet, too. This is something I want to avoid because it might be a cause for errors.
Asked by bomben
(549 rep)
Jan 5, 2021, 01:14 PM
Last activity: Mar 10, 2024, 11:04 AM
Last activity: Mar 10, 2024, 11:04 AM