about summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorSilvino <silvino@bk.ru>2019-06-09 03:57:34 +0100
committerSilvino <silvino@bk.ru>2019-06-09 03:57:34 +0100
commite0fac3869c68af251ce762d3e2e9fca010336f98 (patch)
tree5b836e21adf383fd1316c1bd6de398e9a7f6298f /tools
parent83eba7ffb016b7d8bea6e35ac229089213c06e70 (diff)
downloaddoc-e0fac3869c68af251ce762d3e2e9fca010336f98.tar.gz
tools network revision
Diffstat (limited to 'tools')
-rw-r--r--tools/network.html41
1 files changed, 25 insertions, 16 deletions
diff --git a/tools/network.html b/tools/network.html
index 6f9e941..0fad69e 100644
--- a/tools/network.html
+++ b/tools/network.html
@@ -10,24 +10,28 @@
 
         <h1>Network Tools</h1>
 
-        <p>This document and others under tools extend
-        <a href="../core/network.html">core network</a>
-        witch allow to connect to the internet in the most
-        common environments. Follow documents allow to configure
-        tap interfaces for virtual machines, audit network,
-        dns cache and encryption, etc.</p>
-
-        <p>On core is configured a sub-domain from
+        <p>This document extend
+        <a href="../core/network.html">core network</a>,
+        that cover the most common environments, with
+        virtual networks and bridges.</p>
+
+        <p>To configure a sub-domain from
         <a href="http://freedns.afraid.org">afraid.org</a>,
         <a href="https://freedns.afraid.org/dynamic/v2/">generate cron job</a>
         to update ip every 5 minutes, check
-        <a href="https://freedns.afraid.org/dynamic/v2/tips/">about dynamic interface</a>. To run as system cron job add as root and remove path line from example;</p>
+        <a href="https://freedns.afraid.org/dynamic/v2/tips/">about dynamic interface</a>.
+        To run as system cron job add as root and remove
+        path line from example;</p>
+
         <pre>
         # crontab -e
         </pre>
 
-        <p>Example from afraid uses curl and will log output to /tmp/freedns*,
-        change to /var/log/freedns</p>
+        <p>Replace KEY and domain_name with correct one;</p>
+
+        <pre>
+        4,9,14,19,24,29,34,39,44,49,54,59 * * * * sleep 22 ; wget --no-check-certificate -O - https://freedns.afraid.org/dynamic/update.php?[KEY]= >> /var/log/freedns_domain_name.log 2>&1 &
+        </pre>
 
         <h2 id="bridge">Bridges</h2>
 
@@ -55,19 +59,24 @@
 
         <p>Change iptables init script
         <a href="../core/conf/rc.d/iptables">/etc/rc.d/iptables</a>
-        to load new rules from
-        <a href="../core/conf/iptables/br-lan.v4">/etc/iptables/br-lan.v4</a>.
-        Now change <a href="../core/scripts/iptables-br.sh">iptables-br.sh</a>
+        and set TYPE to bridge,
+        <a href="../core/conf/iptables/bridge.v4">/etc/iptables/bridge.v4</a>.
+        Now change
+        <a href="../core/conf/iptables/ipt-conf.sh">ipt-conf.sh</a>
+        and <a href="../core/conf/iptables/ipt-bridge.sh">ipt-bridge.sh</a>
         with your network configuration and run;
         </p>
 
         <pre>
-        # bash core/scripts/iptables-br.sh
+        # bash ipt-bridge.sh
         </pre>
 
+        <p>Copy bridge.v4 to /etc/iptables and restart 
+        iptables.</p>
+
         <a href="index.html">Tools Index</a>
         <p>This is part of the Hive System Documentation.
-        Copyright (C) 2018
+        Copyright (C) 2019
         Hive Team.
         See the file <a href="../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
         for copying conditions.</p>