<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>http://edge-os.net/wiki/history/%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A?feed=atom</id>
	<title>設定例 ＞ Firewall ＞ 基本設定 - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="http://edge-os.net/wiki/history/%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A?feed=atom"/>
	<link rel="alternate" type="text/html" href="http://edge-os.net/wiki/history/%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A"/>
	<updated>2026-05-01T18:45:33Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>http://edge-os.net/w/index.php?title=%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A&amp;diff=518&amp;oldid=prev</id>
		<title>2015年11月18日 (水) 15:55にHiroによる</title>
		<link rel="alternate" type="text/html" href="http://edge-os.net/w/index.php?title=%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A&amp;diff=518&amp;oldid=prev"/>
		<updated>2015-11-18T15:55:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2015年11月18日 (水) 15:55時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot;&gt;40行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;40行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== コマンドでの設定 ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== コマンドでの設定 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{設定例 ＞ コマンド ＞ 流れ | &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;upnp を on にします。プロンプトは省略しています。&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{設定例 ＞ コマンド ＞ 流れ | &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;WAN_IN、WAN_LOCAL を作成していきます。プロンプトは省略しています。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;set firewall name WAN_IN default-action drop&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;set firewall name WAN_IN default-action drop&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hiro</name></author>
	</entry>
	<entry>
		<id>http://edge-os.net/w/index.php?title=%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A&amp;diff=514&amp;oldid=prev</id>
		<title>2015年11月18日 (水) 15:27にHiroによる</title>
		<link rel="alternate" type="text/html" href="http://edge-os.net/w/index.php?title=%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A&amp;diff=514&amp;oldid=prev"/>
		<updated>2015-11-18T15:27:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2015年11月18日 (水) 15:27時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot;&gt;40行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;40行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== コマンドでの設定 ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== コマンドでの設定 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== upnp を 利用する場合 ===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{設定例 ＞ コマンド ＞ 流れ | upnp を on にします。プロンプトは省略しています。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{設定例 ＞ コマンド ＞ 流れ | upnp を on にします。プロンプトは省略しています。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hiro</name></author>
	</entry>
	<entry>
		<id>http://edge-os.net/w/index.php?title=%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A&amp;diff=512&amp;oldid=prev</id>
		<title>2015年11月18日 (水) 15:11にHiroによる</title>
		<link rel="alternate" type="text/html" href="http://edge-os.net/w/index.php?title=%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A&amp;diff=512&amp;oldid=prev"/>
		<updated>2015-11-18T15:11:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2015年11月18日 (水) 15:11時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;22行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;22行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 解説 ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 解説 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ファイアウォール設定の単位として、1 &lt;/del&gt;つの name (名前) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;を持ちます。&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ファイアウォール設定の単位として、policy があります。複数の policy を設定することができます。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;各インターフェース等へ設定する際には、name を指定します。&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* policy 1 つ毎に、以下の設定が可能です。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 1 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;name 毎に、1 つのデフォルト動作と、複数の rule を持ちます。&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;** 1 &lt;/ins&gt;つの name (名前)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;、デフォルトアクション、ログ有無、description (説明)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 1 rule &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;毎に、rule の条件に該当したパケットに対するアクションを指定できます。&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* 複数の rule&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rule &lt;/ins&gt;1 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;つ毎に、以下の設定が可能です。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*&lt;/ins&gt;* 1 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;つの &lt;/ins&gt;rule &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;番号 (1-9999)、アクション、description (説明)、ログ有無、state 等条件&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* 各インターフェース等へ設定する際には、policy name を指定します。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 各インターフェースにファイアウォールを設定する際に、in / out / local の 3 種類からパケットの流れる方向を指定します。それぞれ、以下のような理解で良いかと思われます。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 各インターフェースにファイアウォールを設定する際に、in / out / local の 3 種類からパケットの流れる方向を指定します。それぞれ、以下のような理解で良いかと思われます。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** in : 該当のインターフェースに入ってくるパケット&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** in : 該当のインターフェースに入ってくるパケット&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hiro</name></author>
	</entry>
	<entry>
		<id>http://edge-os.net/w/index.php?title=%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A&amp;diff=511&amp;oldid=prev</id>
		<title>2015年11月16日 (月) 18:52にHiroによる</title>
		<link rel="alternate" type="text/html" href="http://edge-os.net/w/index.php?title=%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A&amp;diff=511&amp;oldid=prev"/>
		<updated>2015-11-16T18:52:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2015年11月16日 (月) 18:52時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;1行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== このページの概要 ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== このページの概要 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* EdgeOS にて、Firewall &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;の基本設定として、インターネットに接続する上で最低限の設定例をご紹介します。&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* EdgeOS にて、Firewall &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;の基本設定として、インターネットに接続する上で最低限必要だと思われる設定例をご紹介します。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*: 設定内容は、[[#.E5.89.8D.E6.8F.90.E3.83.BB.E8.A8.AD.E5.AE.9A.E5.86.85.E5.AE.B9 | 前提・設定内容 ]] をご覧下さい。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*: 設定内容は、[[#.E5.89.8D.E6.8F.90.E3.83.BB.E8.A8.AD.E5.AE.9A.E5.86.85.E5.AE.B9 | 前提・設定内容 ]] をご覧下さい。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Web UI での設定、コマンドでの設定、それぞれご紹介します。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Web UI での設定、コマンドでの設定、それぞれご紹介します。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hiro</name></author>
	</entry>
	<entry>
		<id>http://edge-os.net/w/index.php?title=%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A&amp;diff=503&amp;oldid=prev</id>
		<title>Hiro: ページの作成:「== このページの概要 == * EdgeOS にて、Firewall の基本設定として、インターネットに接続する上で最低限の設定例をご紹介します...」</title>
		<link rel="alternate" type="text/html" href="http://edge-os.net/w/index.php?title=%E8%A8%AD%E5%AE%9A%E4%BE%8B_%EF%BC%9E_Firewall_%EF%BC%9E_%E5%9F%BA%E6%9C%AC%E8%A8%AD%E5%AE%9A&amp;diff=503&amp;oldid=prev"/>
		<updated>2015-11-16T18:13:35Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「== このページの概要 == * EdgeOS にて、Firewall の基本設定として、インターネットに接続する上で最低限の設定例をご紹介します...」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== このページの概要 ==&lt;br /&gt;
* EdgeOS にて、Firewall の基本設定として、インターネットに接続する上で最低限の設定例をご紹介します。&lt;br /&gt;
*: 設定内容は、[[#.E5.89.8D.E6.8F.90.E3.83.BB.E8.A8.AD.E5.AE.9A.E5.86.85.E5.AE.B9 | 前提・設定内容 ]] をご覧下さい。&lt;br /&gt;
* Web UI での設定、コマンドでの設定、それぞれご紹介します。&lt;br /&gt;
* 各インターフェースへの適用については、[[設定例 ＞ Interface ＞ WAN-DHCP]] や [[設定例 ＞ Interface ＞ WAN-PPPoE]] をご覧下さい。&lt;br /&gt;
&lt;br /&gt;
== 前提・設定内容 ==&lt;br /&gt;
* WAN側のポートは eth0、LAN側のポートは eth1 とします。&lt;br /&gt;
* WAN からのパケットは、WAN → in 方向も、WAN → local 方向も、established および related な state のパケットのみを accept し、その他は drop します。&lt;br /&gt;
* 具体的な設定内容は以下の通りです。&lt;br /&gt;
** WAN_IN&lt;br /&gt;
**: eth0 ポートの in 方向に設定予定&lt;br /&gt;
*** デフォルト動作 : drop&lt;br /&gt;
*** rule 10 : established, related な state のパケットのみ accept&lt;br /&gt;
*** rule 20 : invalid な state のパケットは drop&lt;br /&gt;
** WAN_LOCAL&lt;br /&gt;
**: eth0 ポートの local 方向に設定予定&lt;br /&gt;
*** デフォルト動作 : drop&lt;br /&gt;
*** rule 10 : established, related な state のパケットのみ accept&lt;br /&gt;
*** rule 20 : invalid な state のパケットは drop&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 解説 ==&lt;br /&gt;
* ファイアウォール設定の単位として、1 つの name (名前) を持ちます。&lt;br /&gt;
* 各インターフェース等へ設定する際には、name を指定します。&lt;br /&gt;
* 1 name 毎に、1 つのデフォルト動作と、複数の rule を持ちます。&lt;br /&gt;
* 1 rule 毎に、rule の条件に該当したパケットに対するアクションを指定できます。&lt;br /&gt;
* 各インターフェースにファイアウォールを設定する際に、in / out / local の 3 種類からパケットの流れる方向を指定します。それぞれ、以下のような理解で良いかと思われます。&lt;br /&gt;
** in : 該当のインターフェースに入ってくるパケット&lt;br /&gt;
** out : 該当のインターフェースから出て行くパケット&lt;br /&gt;
** local : ルーター内部へ届くパケット&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Web UI での設定 ==&lt;br /&gt;
( 未作成 )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== コマンドでの設定 ==&lt;br /&gt;
=== upnp を 利用する場合 ===&lt;br /&gt;
{{設定例 ＞ コマンド ＞ 流れ | upnp を on にします。プロンプトは省略しています。&lt;br /&gt;
| &amp;lt;pre&amp;gt;&lt;br /&gt;
set firewall name WAN_IN default-action drop&lt;br /&gt;
set firewall name WAN_IN description &amp;#039;WAN to internal&amp;#039;&lt;br /&gt;
set firewall name WAN_IN rule 10 action accept&lt;br /&gt;
set firewall name WAN_IN rule 10 description &amp;#039;Allow established/related&amp;#039;&lt;br /&gt;
set firewall name WAN_IN rule 10 state established enable&lt;br /&gt;
set firewall name WAN_IN rule 10 state related enable&lt;br /&gt;
set firewall name WAN_IN rule 20 action drop&lt;br /&gt;
set firewall name WAN_IN rule 20 description &amp;#039;Drop invalid state&amp;#039;&lt;br /&gt;
set firewall name WAN_IN rule 20 state invalid enable&lt;br /&gt;
set firewall name WAN_LOCAL default-action drop&lt;br /&gt;
set firewall name WAN_LOCAL description &amp;#039;WAN to router&amp;#039;&lt;br /&gt;
set firewall name WAN_LOCAL rule 10 action accept&lt;br /&gt;
set firewall name WAN_LOCAL rule 10 description &amp;#039;Allow established/related&amp;#039;&lt;br /&gt;
set firewall name WAN_LOCAL rule 10 state established enable&lt;br /&gt;
set firewall name WAN_LOCAL rule 10 state related enable&lt;br /&gt;
set firewall name WAN_LOCAL rule 20 action drop&lt;br /&gt;
set firewall name WAN_LOCAL rule 20 description &amp;#039;Drop invalid state&amp;#039;&lt;br /&gt;
set firewall name WAN_LOCAL rule 20 state invalid enable&lt;br /&gt;
&amp;lt;/pre&amp;gt; }}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 関連項目 ==&lt;br /&gt;
* [[コマンド ＞ configure ＞ firewall]]&lt;br /&gt;
* [[コマンド ＞ set (configure)]]&lt;br /&gt;
* [[設定例 ＞ Interface ＞ WAN-DHCP]]&lt;br /&gt;
* [[設定例 ＞ Interface ＞ WAN-PPPoE]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== 参考サイト ==&lt;br /&gt;
&amp;lt;references group=&amp;quot;参考サイト&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{設定例 ＞ 共通}}&lt;br /&gt;
&lt;br /&gt;
[[Category:設定例]]&lt;br /&gt;
[[Category:設定例 ＞ Firewall]]&lt;br /&gt;
[[Category:作成中]]&lt;/div&gt;</summary>
		<author><name>Hiro</name></author>
	</entry>
</feed>