<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sjakio.com:443/index.php?action=history&amp;feed=atom&amp;title=Setup_pf.conf_file</id>
	<title>Setup pf.conf file - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sjakio.com:443/index.php?action=history&amp;feed=atom&amp;title=Setup_pf.conf_file"/>
	<link rel="alternate" type="text/html" href="https://wiki.sjakio.com:443/index.php?title=Setup_pf.conf_file&amp;action=history"/>
	<updated>2026-04-13T16:54:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.sjakio.com:443/index.php?title=Setup_pf.conf_file&amp;diff=328&amp;oldid=prev</id>
		<title>imported&gt;Jacob: /* PACKET FILTERING */</title>
		<link rel="alternate" type="text/html" href="https://wiki.sjakio.com:443/index.php?title=Setup_pf.conf_file&amp;diff=328&amp;oldid=prev"/>
		<updated>2019-06-05T13:50:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;PACKET FILTERING&lt;/span&gt;&lt;/span&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:50, 5 June 2019&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-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&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 the translation section we define the redirect rules for incoming traffic. Like send http and https to the webserver and smtp traffic to the mailserver.&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 the translation section we define the redirect rules for incoming traffic. Like send http and https to the webserver and smtp traffic to the mailserver.&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;==== PACKET FILTERING ====&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;==== PACKET FILTERING ====&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;/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;The packet filtering section are split several ways for efficiency reasons. First they split in WAN NIC and LAN NIC traffic. Each of these sections is then split into NIC IN and OUT out traffic. The IN and OUT sections are then split for TCP and UDP traffic.&amp;lt;br&amp;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;&amp;lt;br&amp;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;  #======================================================&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;&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;  #	ext-if&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;  #	ext-if&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:1.41:old-327:rev-328:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Jacob</name></author>
	</entry>
	<entry>
		<id>https://wiki.sjakio.com:443/index.php?title=Setup_pf.conf_file&amp;diff=327&amp;oldid=prev</id>
		<title>imported&gt;Jacob: Created page with &quot;So the general layout of the pf file is  ==== Macro Definitions ==== In the macro definitions we declare the: interfaces, hosts, ports etc.&lt;br&gt; To be able to change port numbe...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.sjakio.com:443/index.php?title=Setup_pf.conf_file&amp;diff=327&amp;oldid=prev"/>
		<updated>2019-06-05T13:40:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;So the general layout of the pf file is  ==== Macro Definitions ==== In the macro definitions we declare the: interfaces, hosts, ports etc.&amp;lt;br&amp;gt; To be able to change port numbe...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;So the general layout of the pf file is &lt;br /&gt;
==== Macro Definitions ====&lt;br /&gt;
In the macro definitions we declare the: interfaces, hosts, ports etc.&amp;lt;br&amp;gt;&lt;br /&gt;
To be able to change port numbers or IP-addresses without the need to go through the complete configuration file.&lt;br /&gt;
==== Stateful Tracking Options (STO) ====&lt;br /&gt;
&lt;br /&gt;
==== TABLES ====&lt;br /&gt;
Here we define Tables used for spamd and ftp proxy functionality&lt;br /&gt;
==== OPTIONS ====&lt;br /&gt;
&lt;br /&gt;
==== TRAFFIC NORMALISATION ====&lt;br /&gt;
&lt;br /&gt;
==== QUEUEING ====&lt;br /&gt;
&lt;br /&gt;
==== TRANSLATION ====&lt;br /&gt;
In the translation section we define the redirect rules for incoming traffic. Like send http and https to the webserver and smtp traffic to the mailserver.&lt;br /&gt;
==== PACKET FILTERING ====&lt;br /&gt;
&lt;br /&gt;
 #======================================================&lt;br /&gt;
 #	ext-if&lt;br /&gt;
 #========================================&lt;br /&gt;
 #	ext-if IN&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	ext-if IN TCP&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	ext-if IN UDP&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	ext-if IN IMCP&lt;br /&gt;
 #========================================&lt;br /&gt;
 #	ext-if OUT&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	ext-if OUT TCP&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	ext-if OUT UDP&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	ext-if OUT IMCP&lt;br /&gt;
 #======================================================&lt;br /&gt;
 #	int-if&lt;br /&gt;
 #========================================&lt;br /&gt;
 #	int-if IN&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	int-if IN TCP&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	int-if IN UDP&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	int-if IN ICMP&lt;br /&gt;
 #========================================&lt;br /&gt;
 #	int-if OUT&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	int-if OUT TCP&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	int-if OUT UDP&lt;br /&gt;
 #===========================&lt;br /&gt;
 #	int-if OUT ICMP&lt;/div&gt;</summary>
		<author><name>imported&gt;Jacob</name></author>
	</entry>
</feed>