Skip to content
Commit 69407cb0 authored by Nikolay Amiantov's avatar Nikolay Amiantov Committed by xeji
Browse files

firewall service: respect marks in rpfilter (#39054)

This allows one to add rules which change a packet's routing table:

iptables -t raw -I PREROUTING 1 -m set --match-set myset src -j MARK --set-mark 2
ip rule add fwmark 2 table 1 priority 1000
ip route add default dev wg0 table 1

to the beginning of raw table PREROUTING chain, and still have rpfilter.
parent 364c5047
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment