Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

FireBrick 2700 Configuration run-through: Difference between revisions

no edit summary
No edit summary
 
*Username= abc@a.1 Password=secret
*Routed IP block = 901.1552.13.0/28
 
= Default Config =
modify the telnet service to permit only access from your LAN:
<syntaxhighlight>
<telnet allow="901.1552.13.0/28"/>
</syntaxhighlight>
Set DNS servers and your domain name, under the services:
So, first we'll add a new subnet, this can go under the current 10.0.0.1 subnet (which we'll delete later.)&nbsp;And we'll make this a DHCP server:
<syntaxhighlight>
<subnet ip="901.1552.13.1/28" comment="LAN"/>
<dhcp ip="901.1552.13.2-12"/>
</syntaxhighlight>
Remove the existing DHCP settings for the 10.0.0.1 interface. The LAN! interface now looks like this:
<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="901.1552.13.1/28" comment="LAN"/>
<dhcp ip="901.1552.13.2-12"/>
</interface>
</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="901.1552.13.1/28" comment="LAN"/>
<dhcp ip="901.1552.13.2-12"/>
</interface>
<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="901.1552.13.0/28"/>
<http/>
</services>
At this point we can save the config, there should be no errors.
 
Our computer should then pick up a new 901.1552.13.x IP address, and we can connected back to the FireBrick on http://901.1552.13.1
 
if that works, we can now safely remove the DHCP client subnet and the&nbsp;10.0.0.1 subnet, so remove the lines:
<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="901.1552.13.1/28" comment="LAN"/>
<dhcp ip="901.1552.13.2-12"/>
</interface>
<ppp port="WAN1" username="abc@a.1" password="secret" comment="BT ADSL" graph="BT ADSL" log="true"/>
<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="901.1552.13.0/28"/>
<http/>
</services>
If you have VoIP phones on your LAN, then here are some example rules to allow SIP and RTP from the AAISP phone servers:
<syntaxhighlight>
<rule name="SIP" source-ip="81.187.30.110-119" target-ip="901.1552.913.80/2928" target-port="5060-5069"/>
<rule name="RTP" target-ip="901.1552.913.80/2928" protocol="17" target-port="1025-5059 5070-" set-graph="RTP"/>
</syntaxhighlight>
This also sets a graph for RTP, you may want to restrict the target to just your VoIP phones, as the above set the target at the whole of the LAN
 
== Restricting FireBrick Config access ==
You may only want to allow access to the FireBrick webserver from your LAN, do this in the http service, eg, change the current line to:
<syntaxhighlight>
<http allow="901.1552.13.1/28"/>
</syntaxhighlight>
 
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,299

edits