FireBrick 2700 with 4G ZTE MF823

From AAISP Support Site
Revision as of 21:03, 24 December 2016 by Reedy (talk | contribs) (Working example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

So, as BT apparently want to take an age to get a connection in, I wanted to get online with a FB and a 4G stick, in this case, a non vendor locked ZTE MF823 from Amazon, and an ASDA sim.

Dongle is on default IP address of 192.168.0.1 and tested on a FireBRick 2700 Fully Loaded, with 1.42.100 firmware.

Config

<?xml version="1.0" encoding="UTF-8"?>
<do-not-load 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/download/FB2701/xml/fb2700/1.42.100.xsd"
             timestamp="2015-07-31T03:14:44Z"
             patch="24825">
 <system log-panic="fb-support"/>
 <user name="admin"
       password="secret"/>
 <log name="default"
      comment="General logging for web viewing"/>
 <log name="fb-support"
      comment="Log target for sending logs to FireBrick support team">
  <email to="crashlog@firebrick.ltd.uk"
         delay="10"
         comment="Crash logs emailed to FireBrick Support team"/>
 </log>
 <services>
  <ntp/>
  <telnet/>
  <http local-only="true"/>
  <dns resolvers="8.8.8.8 8.8.4.4">
   <host name="my.firebrick.co.uk my.firebrick.uk"/>
  </dns>
 </services>
 <port name="LAN1"
       ports="1 2 3 4"/>
 <port name="DONGLE1"
       ports=""
       dongle="dongle"/>
 <interface name="LAN1"
            port="LAN1"
            ra-client="false"
            comment="Default LAN interface">
  <subnet name="Default IPs"
          ip="2001:db8::1/64 10.0.0.1/24"
          ra="false"
          nat="true"
          comment="Temporary IPs for setup only, delete when finished configuring"/>
  <dhcp name="Auto allocated IPs"
        comment="Allocates IP addresses automatically"/>
 </interface>
 <interface name="Dongle_1"
            port="DONGLE1">
  <subnet ip="192.168.0.100/24"
          gateway="192.168.0.1"/>
 </interface>
 <usb>
  <dongle name="dongle"
          nat="true"
          graph="Dongle"
          log="default"/>
 </usb>
 <rule-set name="NAT: LAN to Internet"
           source-ip="10.0.0.0/24"
           no-match-action="continue">
  <rule target-interface="self LAN1"
        comment="Not to self or LAN"/>
  <rule set-source-ip="192.168.0.100"
        set-nat="true"/>
 </rule-set>
 <rule-set name="Firewall: LAN"
           target-interface="LAN1"
           no-match-action="reject"
           comment="Default firewall rule for traffic to LAN">
  <rule name="Allow Firebrick"
        source-interface="self"
        comment="Allow all from the FireBrick to LAN"/>
 </rule-set>
</do-not-load>