Follow this HOWTO to get Shurdix installed. At the moment, only a typical configuration is handled. If you have different requirements, you may need to consult other parts of this wiki. Now that there is a separate shurdix:install, it is even more simple, so you may try to use the automatic install, and set the rest manually.
shurdix ETH0=ip_address/netmask GATEWAY=ip_address_of_gateway DNS1=primary_dns_of_provider DNS2=if_available_secondary_dns ROOTDEV=hda ROOTPW=new_root_passwort HOSTNAME=hostname INSTALL
The network data can be temporary (e.g. if you want to connect it as an internal computer during the installation). Nevertheless, internet access is required during the installation, otherwise you have to copy the installation files manually.
echo firewall=1 >> /etc/sysconfig/services
activates firewall.
echo CET-1CEST-2,M3.5.0/02:00,M10.5.0/03:00 > /mnt/ramdisk/TZ
setup timezone (Central European Time with daylight savings, if you live in another zone, consult uclibc documentation).
rdate ntp1.fau.de;modprobe rtc;hwclock -wu
set correct time.
vi /etc/sysconfig/tc BW_IN=incoming_bandwidth BW_OUT=outgoing_bandwidth DEV_IN=eth1 DEV_OUT=eth0
Bandwidth should be an integer and is measured in kbit/s. For optimal performance, set incoming bandwidth to about 95% and outgoing to about 98% of real bandwidth.
vi /mnt/ramdisk/dnsmasq.conf interface=eth1 bogus-priv filterwin2k cache-size=4096 domain=localdomain dhcp-authoritative addn-hosts=/mnt/ramdisk/hosts dhcp-range=subnet,ip_range_from,ip_range_to,1h dhcp-leasefile=/tmp/dhcpleases dhcp-lease-max=max_lease_count conf-file=/mnt/ramdisk/um/macipmap.dat
setup DNS/DHCP.
echo "internal_ip router router.localdomain" > /mnt/ramdisk/hosts
also belongs to DNS
mkdir /mnt/ramdisk/um; touch /mnt/ramdisk/um/users.dat /mnt/ramdisk/um/macipmap.dat
turns it on
vi /etc/sysconfig/network-scripts/eth0 IP=external_ip/netmask ROUTE=route_command
if required, setup external ip. ROUTE should be a command that “ip route” understands. Typically you just type “default via ip_address_of_isp’s_gateway”
vi /etc/sysconfig/network-scripts/eth1 IP=internal_ip/netmask
if required, setup external ip. For more details on configuring network devices see Network Interfaces
vi /mnt/ramdisk/resolv.conf
setup parent DNS if required
vi /etc/sysconfig/dyndns HOST=hostname.dyndns.org LOGIN=my_login PASS=my password STATIC=1_or_0
if required setup DynDNS client. For more details see dyndns
service conf save
save configuration.
poweroff
shutdown
Web interface is available over https://router/info/ . Please use https when handling non-public data. You can of course use the internal or exterlan ip or other fqnd the computer has instead of “router”.