about summary refs log tree commit diff stats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/network.html17
1 files changed, 13 insertions, 4 deletions
diff --git a/core/network.html b/core/network.html
index 4a412ad..4838122 100644
--- a/core/network.html
+++ b/core/network.html
@@ -14,10 +14,10 @@
 
         <dl>
             <dt><a href="conf/rc.d/iptables">/etc/rc.d/iptables</a></dt>
-            <dd>Configure <a href="#iptables">iptables</a>, start option
-            loads set of rules from file /etc/iptables/net.v4, open option
+            <dd>Configure <a href="#iptables">iptables</a>, "start" option
+            loads set of rules from file /etc/iptables/(name).v4, "open" option
             allows everything to outside and blocks everything from outside,
-            stop will block and log everything.</dd>
+            "stop" option will block and log everything.</dd>
             <dt><a href="conf/rc.d/net">/etc/rc.d/net</a></dt>
             <dd>Configure Ethernet interface with static or dynamic (dhcp)
             IP, set default route and add default gateway.</dd>
@@ -283,7 +283,7 @@
 
         <pre>
         # mkdir /etc/iptables
-        # cp core/conf/iptables/net.v4 /etc/iptables/
+        # cp core/conf/iptables/*.sh /etc/iptables/
         # cp core/conf/rc.d/iptables /etc/rc.d/
         # chmod +x /etc/rc.d/iptables
         </pre>
@@ -300,6 +300,15 @@
         with your network configuration, and adjust
         <a href="conf/ipt-server.sh">/etc/iptables/ipt-server.sh</a>, <a href="conf/ipt-bridge.sh">/etc/iptables/ipt-bridge.sh</a>, <a href="conf/ipt-open.sh">/etc/iptables/ipt-open.sh</a> according with host necessities.</p>
 
+        <p>When is everything configured run script to load the rules and save them on /etc/iptables. Example for bridge setup;</p>
+
+        <pre>
+        # cd /etc/iptables
+        # bash ipt-bridge.sh
+        </pre>
+
+        <p>From now on use /etc/rc.d/iptables to start and stop.<p>
+
         <h2 id="wpa">2.2.4. Wpa and dhcpd</h2>
 
         <p>There is more information on