ufw vs ipsec policy

Asked by Harri-afaics

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

English Edit question
Ubuntu ufw Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :

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.