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
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 script rules from core to /etc/rc.d/iptables to load new rules from /etc/iptables/vlan.v4
Tools IndexThis is part of the c9 Manual. Copyright (C) 2016 c9 team. See the file Gnu Free Documentation License for copying conditions.