Commit 33f7a29
committed
Fix MMDS iptables rule to use ACCEPT instead of RETURN
The RETURN target in user-defined chains does not prevent subsequent
rules in the parent chain from matching. When MMDS traffic hits RETURN,
it continues evaluation at the next rule in PREROUTING/OUTPUT where
user REDIRECT rules can still hijack the traffic.
Using ACCEPT terminates all NAT rule evaluation for the packet,
preventing any subsequent REDIRECT rules from matching MMDS traffic.1 parent 37c4de7 commit 33f7a29
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments