Score:0

ufw (firewall) cant see active forward rules

ad flag

I have a working port forward on my firewall (ufw). I can enable and disable the rule - and it works.

What I dont understand is, that the rule cannot be seen when doing:

ufw status

That command only show open port on the firewall itself.

My question is how can I see all rules on the firewall (also forward rules)?

Doug Smythies avatar
gn flag
ufw is just a front end for iptables. you can see all the iptables rules with `sudo iptables -xvnL` and `sudo iptables -t nat -xvnL`.
Nikolaj avatar
ad flag
Ty for help, give an answer and I will mark it as answered :)
Score:0
ad flag

sudo iptables -t nat -xvnL works very well!

sudo iptables -t nat -xvnL
Will avatar
id flag
@David - there is no other answer for the OP to accept - this answer is based on a comment.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.