Tools Index

Network Tools

This document and others under tools extend core network 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.

On core is configured a sub-domain from afraid.org, generate cron job to update ip every 5 minutes, check about dynamic interface. To run as system cron job add as root and remove path line from example;

        # crontab -e
        

Example from afraid uses curl and will log output to /tmp/freedns*, change to /var/log/freedns

Bridges

For more information about bridges read bridges with iptables. Script /etc/rc.d/blan creates br0 bridge interface with 10.0.0.1 ip. Number of tap interfaces created and attached depends on number of cpu cores available. Ethernet interface is added to the bridge. Edit /etc/rc.conf to setup interfaces at startup;

        #
        # /etc/rc.conf: system configuration
        #

        FONT=default
        KEYMAP=dvorak
        TIMEZONE="Europe/Lisbon"
        HOSTNAME=c9
        SYSLOG=sysklogd
        SERVICES=(lo iptables wlan blan crond)

        # End of file
        

Change iptables init script /etc/rc.d/iptables to load new rules from /etc/iptables/br-lan.v4. Now change iptables-br.sh with your network configuration and run;

        # bash core/scripts/iptables-br.sh
        
Tools Index

This is part of the Hive System Documentation. Copyright (C) 2018 c9 team. See the file Gnu Free Documentation License for copying conditions.