<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Regarding the iptables error when configuring eth0 and NAT on LS1012A in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Regarding-the-iptables-error-when-configuring-eth0-and-NAT-on/m-p/1154077#M6660</link>
    <description>&lt;P&gt;I configured iptables (Linux firewall) as a NAT router according to the following method:&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# iptables -P INPUT DROP&lt;BR /&gt;root@OpenWrt:/# iptables -P FORWARD DROP&lt;BR /&gt;root@OpenWrt:/# iptables -A INPUT -ieth2 -j ACCEPT&lt;BR /&gt;root@OpenWrt:/# iptables -A INPUT -ilo -j ACCEPT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I encountered an error when executing this instruction:&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# iptables -A FORWARD -i eth0 -o eth2 -m state --state RELATED,ES&lt;BR /&gt;TABLISHED -j ACCEPT&lt;BR /&gt;iptables v1.6.1: Couldn't load match `state':No such file or directory&lt;/P&gt;&lt;P&gt;Try `iptables -h' or 'iptables --help' for more information.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When this instruction is doing NAT, if the default rule of FORWARD is DROP, it must be set。Is there any way to solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2020 09:49:59 GMT</pubDate>
    <dc:creator>pengluo</dc:creator>
    <dc:date>2020-09-16T09:49:59Z</dc:date>
    <item>
      <title>Regarding the iptables error when configuring eth0 and NAT on LS1012A</title>
      <link>https://community.nxp.com/t5/Layerscape/Regarding-the-iptables-error-when-configuring-eth0-and-NAT-on/m-p/1154077#M6660</link>
      <description>&lt;P&gt;I configured iptables (Linux firewall) as a NAT router according to the following method:&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# iptables -P INPUT DROP&lt;BR /&gt;root@OpenWrt:/# iptables -P FORWARD DROP&lt;BR /&gt;root@OpenWrt:/# iptables -A INPUT -ieth2 -j ACCEPT&lt;BR /&gt;root@OpenWrt:/# iptables -A INPUT -ilo -j ACCEPT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I encountered an error when executing this instruction:&lt;/P&gt;&lt;P&gt;root@OpenWrt:/# iptables -A FORWARD -i eth0 -o eth2 -m state --state RELATED,ES&lt;BR /&gt;TABLISHED -j ACCEPT&lt;BR /&gt;iptables v1.6.1: Couldn't load match `state':No such file or directory&lt;/P&gt;&lt;P&gt;Try `iptables -h' or 'iptables --help' for more information.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When this instruction is doing NAT, if the default rule of FORWARD is DROP, it must be set。Is there any way to solve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 09:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Regarding-the-iptables-error-when-configuring-eth0-and-NAT-on/m-p/1154077#M6660</guid>
      <dc:creator>pengluo</dc:creator>
      <dc:date>2020-09-16T09:49:59Z</dc:date>
    </item>
  </channel>
</rss>

