roles/dch-gw: Explicitly accept forwarded ports
Marking packets matching port-forwarding rules, and then allowing traffic carrying that mark did not seem to work well. Often, packets seemed to get dropped for no apparent reason, and outside connections to NAT'd services was sometimes slow as a result. Explicitly listing every destination host/port in the `forward` table seems to resolve this issue.
This commit is contained in:
@@ -16,7 +16,6 @@ table inet filter {
|
||||
iif != {{ internet_iface }} oifname {{ dch_networks.guest.router_iface }} drop
|
||||
iif != {{ internet_iface }} oif != {{ internet_iface }} counter accept
|
||||
ip daddr @firemon counter accept
|
||||
mark 323 counter accept
|
||||
tcp dport smtp counter reject with icmpx type host-unreachable
|
||||
oif {{ internet_iface }} accept
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user