Ticket #619 (closed Feature Request: invalid)

Opened 9 years ago

Last modified 9 years ago

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.

Change History

Changed 9 years ago by jean-philippe.menil@…

Sorry, i made a mistake. Please ignore this ticket.

Changed 9 years ago by networkfusion

  • status changed from new to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.