ufw vs ipsec policy

Asked by Harri-afaics on 2020-02-07

Using native iptables I can filter traffic coming in or going out via IPsec with the the policy module, e.g. *ip4tables -A INPUT -i eth0 -m policy --pol ipsec --dir in --proto esp -j ACCEPT*. This kind of construct is very important on a laptop connected via IPsec to the company network, for example. The local network in the hotel lobby has no or very limited access, but for the company network different rules are applied.

How can I make use of the ipsec policy in ufw?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ufw Edit question
Assignee:
No assignee Edit question
Last query:
2020-02-07
Last reply:
2020-02-10

Can you help with this problem?

Provide an answer of your own, or ask Harri-afaics for more information if necessary.

To post a message you must log in.