Ticket #619 (closed Feature Request: invalid)
IPtables optimization
| Reported by: | jean-philippe.menil@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Gateway 1.1.5 |
| Component: | Gateway | Version: | |
| Keywords: | Cc: |
Description
Hi,
in fw_iptables.c, it's better to pass
iptables_do_command("-t filter -A " TABLE_WIFIDOG_WIFI_TO_INTERNET " -m state --state RELATED,ESTABLISHED -j ACCEPT");*/
before the
iptables_do_command("-t filter -I FORWARD -i %s -j " TABLE_WIFIDOG_WIFI_TO_INTERNET, config->gw_interface);
The amount of cpu is smaller when you do this in this order.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
