299
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
CHAPTER 16: ADVANCED CONFIGURATION
16.4 IP FILTERING
The console server uses the iptables utility to provide a stateful firewall of LAN traffic.
By default, rules are automatically inserted to allow access to enabled services, and serial port access via enabled protocols. The
commands which add these rules are in configuration files:
/etc/config/fw.rules
This is an executable shell script which is run whenever the LAN interface is brought up and whenever modifications are made to
the iptables configuration as a result of CGI actions or the config command line tool.
The basic steps performed are as follows:
the running iptables configuration is erased, per-interface.
other standard system chains are installed.
fall-through Block rules (default deny) are installed.
Serial & Network > Services policies are installed in per-interface chains.
Custom Serial & Network > Firewall rules are inserted at the top of the rule sets, taking priority over any other configuration
For further firewall customization, extra rules can be persisted by creating a file at /etc/config/scripts/firewall-post containing
iptables commands to amend the firewall policy.
Thorough documentation regarding iptables is available at the Linux netfilter website, at https://netfilter.org/documentation/.
16.5 SNMP STATUS REPORTING
Console servers contain an SNMP Service — snmpd — which can provide status information on demand. snmpd is an SNMP agent
which binds to a port and awaits requests from SNMP management software. Upon receiving a request, it processes the request(s),
collects the requested information and/or performs the requested operation(s) and returns the information to the sender.
NOTE: Initially, only advanced console server models were equipped with an SNMP Service. With firmware v3.0 and later this
support was extended to all console servers. Also the MIBS were extended (and renamed for compliance) with this firmware
release.
Console servers can also be configured to send SNMP traps or messages to multiple remote SNMP Network Managers on defined
trigger events. See chapter 8 for configuration details.
16.5.1 RETRIEVING STATUS INFORMATION USING SNMP
Console servers can provide serial and device status information through SNMP. This includes
Serial port status
Active users
Remote Power Control (RPC) and Power Distribution Unit (PDU) status
Environmental Monitoring Device (EMD) status
Signal alert status
Environmental alert status and
UPS alert status