FireBrick 2700 Configuration run-through: Difference between revisions
Appearance
Content deleted Content added
| Line 15: | Line 15: | ||
The default configuration (or a fully-loaded FireBrick) looks like this: |
The default configuration (or a fully-loaded FireBrick) looks like this: |
||
<syntaxhighlight lang="xml"> |
|||
< |
<?xml version="1.0" encoding="UTF-8"?> |
||
<config xmlns="http://firebrick.ltd.uk/xml/fb2700/" |
|||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
xsi:schemaLocation="http://firebrick.ltd.uk/xml/fb2700/ |
xsi:schemaLocation="http://firebrick.ltd.uk/xml/fb2700/ |
||
http://firebrick.ltd.uk/xml/fb2700/0.00.605.xsd" |
http://firebrick.ltd.uk/xml/fb2700/0.00.605.xsd" |
||
timestamp="1970-01-01T00:00:07Z" |
timestamp="1970-01-01T00:00:07Z"> |
||
<port name="LAN1" ports="1"/> |
|||
<port name="LAN2" ports="2"/> |
|||
<port name="LAN3" ports="3"/> |
|||
<port name="LAN4" ports="4"/> |
|||
<interface name="LAN1" port="LAN1"> |
|||
<subnet comment="dhcp client"/> |
|||
<subnet ip="2001:DB8::1/64 10.0.0.1/24" nat="true" |
|||
comment="Temporary IPs for setup only, delete when finished configuring"/ |
comment="Temporary IPs for setup only, delete when finished configuring"/> |
||
<dhcp ip="10.0.0.100-199"/> |
|||
</interface> |
|||
<ppp port="LAN4" username="startup_user@startup_domain" password="" |
|||
comment="Example PPPoE config for DSL/FTTC/FTTP/etc"/ |
comment="Example PPPoE config for DSL/FTTC/FTTP/etc"/> |
||
<services> |
|||
<ntp/> |
|||
<telnet comment="Set allow IP list to restrict access"/> |
|||
<http/> |
|||
</services> |
|||
<rule-set target-interface="LAN1" drop="reject" comment="default |
|||
firewall rule - block incoming" |
firewall rule - block incoming"> |
||
<rule source-interface="self" comment="allow from the FireBrick |
|||
though"/ |
though"/> |
||
</rule-set> |
|||
</config> |
|||
</syntaxhighligh> |
|||
</pre> |
|||
Which sets up the 4 Ethernet ports as separate LANs, and an IP of 10.0.0.1 (and 2001:DB8::1) with the FireBrick acting DHCP server on the first port. So, connecting a computer to Port 1 should get you a 10.0.0.x IP address, and you can access http://10.0.0.1 |
Which sets up the 4 Ethernet ports as separate LANs, and an IP of 10.0.0.1 (and 2001:DB8::1) with the FireBrick acting DHCP server on the first port. So, connecting a computer to Port 1 should get you a 10.0.0.x IP address, and you can access http://10.0.0.1 |
||
Port 4 is set as an example of a PPPoE client, we'll set this up a little later. |
Port 4 is set as an example of a PPPoE client, we'll set this up a little later. |
||
= Configuring Initial Basic Settings = |
= Configuring Initial Basic Settings = |
||