
Configuration
19
</services>
<port name="WAN"
ports="1"/>
<port name="LAN"
ports="2"/>
<interface name="WAN"
port="WAN">
<subnet name="ADSL"
ip="81.187.106.73/30"/>
</interface>
<interface name="LAN"
port="LAN">
<subnet name="LAN"
ip="81.187.96.94/28"/>
<dhcp name="LAN"
ip="81.187.96.88-92"
log="default"/>
</interface>
</config>
sets some general system parameters (see Section 4.2)
defines a single user with the highest level of access (DEBUG) (see Section 4.1)
defines a log target (see Chapter 5)
configures key system services (see Chapter 12)
defines physical-port group (see Section 6.1)
defines an interface, with one subnet and a DHCP allocation pool (see Chapter 6)
3.6. Downloading/Uploading the
configuration
The XML file may be retrieved from the FireBrick, or uploaded to the FireBrick using HTTP transfers done
via tools such as
curl
. Using these methods, configuration of the FB6000 can be integrated with existing
administrative systems.
Note
Linebreaks are shown in the examples below for clarity only - they must not be entered on the
command-line
3.6.1. Download
To download the configuration from the FB6000 you need to perform an HTTP
GET
of the following URL :-
http://<FB6000 IP address or DNS name>/config/config
An example of doing this using
curl
, run on a Linux box is shown below :-
curl http://<FB6000 IP address or DNS name>/config/config