I need to allow Protocol 50 (esp) traffic for ipsec.
I can do:
iptables -A INPUT -p esp
iptables -A OUTPUT -p esp
How could I do this with firewalld instead?
Same question closed on StackOverflow because it was off-topic.
I need to allow Protocol 50 (esp) traffic for ipsec.
I can do:
iptables -A INPUT -p esp
iptables -A OUTPUT -p esp
How could I do this with firewalld instead?
Same question closed on StackOverflow because it was off-topic.
You'll need to use a (fairly simple) rich rule for this.
For example:
I'm by no means an iptables or firewalld expert, but it seems to me something like this would work:
If you have zones and such all setup, you could also do it with the
--zone
and--add-rich-rule
options instead of--direct
.