|
|
| Line 69: |
Line 69: |
|
|
|
|
|
So, first we'll add a new subnet, this can go under the current 10.0.0.1 subnet (which we'll delete later.) And we'll make this a DHCP server: |
|
So, first we'll add a new subnet, this can go under the current 10.0.0.1 subnet (which we'll delete later.) And we'll make this a DHCP server: |
|
|
<syntaxhighlight> |
| ⚫ |
< pre><subnet ip="90.155.1.1/28" comment="LAN"/ > |
|
|
<dhcp ip="90.155.1.2-12"/>
|
|
<subnet ip="90.155.1.1/28" comment="LAN"/> |
|
⚫ |
<dhcp ip="90.155.1.2-12"/ > |
|
</pre> |
|
|
|
</syntaxhighlight> |
|
Remove the existing DHCP settings for the 10.0.0.1 interface. The LAN! interface now looks like this: |
|
Remove the existing DHCP settings for the 10.0.0.1 interface. The LAN! interface now looks like this: |
|
|
|
| ⚫ |
< pre><interface port="LAN1" > |
|
|
|
<syntaxhighlight> |
| ⚫ |
<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"/ > |
|
|
<subnet ip="90.155.1.1/28" comment="LAN"/>
|
|
<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"/ > |
| ⚫ |
<dhcp ip="90.155.1.2-12"/ > |
|
|
⚫ |
<subnet ip="90.155.1.1/28" comment="LAN"/ > |
| ⚫ |
|
|
|
⚫ |
<dhcp ip="90.155.1.2-12"/ > |
|
</pre> |
|
|
⚫ |
|
|
|
</syntaxhighlight> |
|
|
|
|
Our complete config now looks like this: |
|
Our complete config now looks like this: |
| ⚫ |
< pre><?xml version="1.0" encoding="UTF-8"? > |
|
| ⚫ |
<config xmlns="http://firebrick.ltd.uk/xml/fb2700/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://firebrick.ltd.uk/xml/fb2700/ |
|
|
http://firebrick.ltd.uk/xml/fb2700/0.00.605.xsd" timestamp="1970-01-01T00:00:07Z"> |
|
| ⚫ |
<user name="john" timeout="PT20M" level="DEBUG" password="secret"/ > |
|
| ⚫ |
<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"/ > |
|
| ⚫ |
<subnet ip="90.155.1.1/28" comment="LAN"/ > |
|
| ⚫ |
<dhcp ip="90.155.1.2-12"/ > |
|
| ⚫ |
|
|
| ⚫ |
<ppp port="LAN4" username="startup_user@startup_domain" password="" |
|
|
comment="Example PPPoE config for DSL/FTTC/FTTP/etc"/> |
|
| ⚫ |
|
|
| ⚫ |
<dns domain="yourdomain.tld" resolvers="217.169.20.20 217.169.20.21"/ > |
|
| ⚫ |
<ntp timeserver="90.155.53.32 2001:8B0:0:53::5A9B:3520"/ > |
|
| ⚫ |
<telnet allow="90.155.1.0/28"/ > |
|
|
<http/> |
|
| ⚫ |
|
|
| ⚫ |
<rule-set target-interface="LAN1" drop="reject" comment="default |
|
|
firewall rule - block incoming"> |
|
| ⚫ |
<rule source-interface="self" comment="allow from the FireBrick |
|
|
though"/> |
|
| ⚫ |
|
|
| ⚫ |
|
|
|
|
|
|
|
|
<syntaxhighlight> |
|
</pre> |
|
|
⚫ |
<?xml version="1.0" encoding="UTF-8"? > |
|
⚫ |
<config xmlns="http://firebrick.ltd.uk/xml/fb2700/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://firebrick.ltd.uk/xml/fb2700/ http://firebrick.ltd.uk/xml/fb2700/0.00.605.xsd" timestamp="1970-01-01T00:00:07Z"> |
|
⚫ |
<user name="john" timeout="PT20M" level="DEBUG" password="secret"/ > |
|
⚫ |
<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"/ > |
|
⚫ |
<subnet ip="90.155.1.1/28" comment="LAN"/ > |
|
|
<dhcp ip="90.155.1.2-12"/> |
|
⚫ |
|
|
⚫ |
<ppp port="LAN4" username="startup_user@startup_domain" password="" comment="Example PPPoE config for DSL/FTTC/FTTP/etc"/> |
|
⚫ |
|
|
⚫ |
<dns domain="yourdomain.tld" resolvers="217.169.20.20 217.169.20.21"/ > |
|
⚫ |
<ntp timeserver="90.155.53.32 2001:8B0:0:53::5A9B:3520"/ > |
|
⚫ |
<telnet allow="90.155.1.0/28"/ > |
|
|
<http/> |
|
⚫ |
|
|
⚫ |
<rule-set target-interface="LAN1" drop="reject" comment="default firewall rule - block incoming"> |
|
⚫ |
<rule source-interface="self" comment="allow from the FireBrick though"/> |
|
⚫ |
|
|
⚫ |
|
|
|
</syntaxhighlight> |
|
|
|
|
At this point we can save the config, there should be no errors. |
|
At this point we can save the config, there should be no errors. |
|
|
|
|
| Line 120: |
Line 122: |
|
comment="Temporary IPs for setup only, delete when finished configuring"/> |
|
comment="Temporary IPs for setup only, delete when finished configuring"/> |
|
</pre> |
|
</pre> |
|
Save, and re-connect to the web interface. |
|
Save, and re-connect to the web interface. |
|
|
|
|
|
= PPPoE = |
|
= PPPoE = |