Networking-Blog

My WordPress Blog

FireBrick IPGroup Guide

IP groups

There are a number of places in the FireBrick configuration where a range of IP addresses can be specified, e.g. filters, shaping rules, address mapping, etc. In most places you can instead select a named IP group.

IP groups provide a convenient means of naming an IP address range or set of IP address ranges.

An example of an IP group which is included in the factory reset is the RFC1918 Private IPs. These are IP addresses reserved for priavte use and are 192.168.X.X, 172.16-31.X.X and 10.X.X.X.

Name Give the group a meaningful short name as this is what is shown in the list when groups can be used.
Security This defines who can view or edit the group
Add new range This allows a new range to be added to the group
Delete This deletes a range from the group
Erase This erases the whole IP group and all of the ranges within it

Logged in users

There is a special group which is not listed in the IP groups section but which can be selected in filters, etc. This IP of logged in users and is any IP address from which any user is logged in to the FireBrick. This can be useful to allow access from the location from which you have just logged in to the FireBrick. It also puts a time limit on the access as users automatically log out after a set time.

Technical Reference

  • The security on a group does not affect whether a user can use the group.
  • You can have a blank range for Any but this is pointless as the whole group becomes Any and you could simply not use a group instead.
  • You cannot edit an entry, but you can add a new entry and then delete the old one.
  • You cannot reorder entries as the order does not matter.

FireBrick Mapping & Filtering Guide

FireBrick routing, mapping and filtering

This is a general description of the way in which the FireBrick establishes and routes a new session.

What is a session?

The FireBrick tracks sessions. These are a set of packets in each direction that belong together. The initial packet will start the session and then there are replies and further packets in the same session.

In the case of TCP, there is a specific sequence of packets to establish, maintain and drop a session. The FireBrick tracks this from the initial SYN packets through to the final FIN packets.

In the case of UDP, the FireBrick tracks corresponding replies back to the same port and IP from the same port and IP as the initial packet, and uses timeouts to end the session.

In the case of ICMP, replies are tracked, like echo replie to echo requests, and also ICMP errors are tracked as part of the initial session to which they relate.

In the case of other protocols, the session is tracked based soley on the source and target IP addresses, which places some restrictions on using NAT with protocols like GRE.

The FireBrick will route the initial packet in a session based on routing rules, and will apply filters and mapping rules. The replies undo any mapping or NAT and are routed back. The first reply packet is routed within some constraints so that it will head for the same interface as the original packet, for example.

What order are things done?

The order things are done is as follows – this is also the same order in which the routing, filtering and mapping icons are shown above.

  1. Routing rules are applied. This defines the interface to which the packet is to be sent – which is necessary to for filtering and mapping
  2. Filtering is done. This is done before mapping as mapping will potentially lose some information (i.e. many ports could be mapped to one, etc)
  3. Mapping is done, potentially changing the IPs and ports
  4. If mapping was done, then this may mean routing is re-applied

Routing rules

Routing is the process or working out which interface, sub interface (e.g. subnet or tunnel) and gateway (for ethernet interfaces). For tunnels the traffic goes to the specified tunnel, and there is no need for a gateway. For routes to ethernet interfaces (e.g. LAN/WAN) there needs to be a gateway address for any traffic to an address off subnet.

Routing is done by looking through the routing rules in order and trying to match the traffic to the routing rule. This can mean checking ports and protocols even. At the point that subnets are routed, the subnets are checked in order for an address on one of the subnets. Then the routing rules resume. Ultimately if there is no match, the default routing rule is applied.

In some cases there is already some routing information. This applies when routing the initial reply of a session, but also when traffic like pings, tunnels, etc, have some inforation specified such as an interface. Where an interface is know, the routing and subnet rules are only considered if they route to that interface.

Routing can mean sending traffic to a specific interface. It can further mean specifying a specific subnet. It can also mean specifying a specific gateway for an ethernet interface.

The normal recommendation is to route traffic that is for the ethernet to a specified subnet, and not specify a gateway. If the routing comes outs as being a subnet and no gateway, then the routing could be to an IP on that subnet – in which case ARP is used. If not, then the gateway sepcified in the subnet config (under DHCP server) is used. Failing an ARP is done for the off-subnet target IP address. ARPs are done from the FireBricks IP/MAC on that subnet.

Routing to a subnet and not specifying a gateway but allowing the subnet specific gateway to be used helps avoid duplication. This is very useful when the external subnets are allocated by DHCP and so the gateway can be changed. This is particularly useful when multiple subnets are used for multiple external interfaces and tunnels are set to go to specific subnets with DHCP gateways.

If routing is to an ethernet interface with no gateway or subnet then the FireBrick will ARP for the off-subnet address. It may use its stealth address as the source for the ARP and the base MAC address. This is not ideal, and a gateway or subnet should be specified.

If routing to an ethernet interface with a gateway but no subnet specified, then the subnets are checked for the first subnet containing the gateway address, and this is used.

NAT

NAT simply means that the source IP is changed to that of the FireBrick. The FireBricks IP will depend on wheich subnet it is sending traffic to. If to a tunnel, then the tunnel can set the NAT IP to be used, else the NAT is applied when leaving the far end brick via an ethernet interface. This means the source IP is set at the last stage, after mapping, and so filtering on the source IP is not possible.

NAT is applied if the routing rule is to the default gateway or matched a subnet, and the source subnet has NAT selected. Failing that NAT is applied if the explicit routing rule used has NAT set. This means that any explicit routing rule that is used without NAT ticked will not use NAT even if the source is a subnet that has NAT ticked. Sometimes this means different explicit routing rules for traffic from some addresses than others even if the destication is the same, as one set may need NAT and one set may not.

Filtering rules

Filering rules simply match the assigned source and target interface (from the routing rules), IPs, ports, etc, and decide if the session is allowed. If allowed, all replies are allowed and further traffic within the session.

Mapping rules

Mapping rules are then applied, and again work on similar critera to filtering. They then change the target interface, source and/or target IPs and/or ports. If changing the source IP then a new source port is assigned. Setting the new source IP of 255.255.255.255 has special meaning and makes the FireBrick apply NAT.

Key points

  • We recommend that all subnets are set up with IP and mask, but also with a gateway applicable for that subnet. This allows routing to the subnet without having to specify the gateway address again in the routing rules.
  • Any explicit rules used for routing must consider NAT as it will not be automatically applied unlike routes to subnets or the default gateways
  • The order routing, filtering and mapping are applied are the same as the icons on the top of the config, routing -> filtering -> mapping.

FireBrick Route Guide

Routes

The FireBrick has to decide where to send traffic. This is done using routing rules. The rules are considered in order and the first appropriate matching route is applied. The routing list includes the subnets and the default gateway. The default gateway is always at the end, but the subnets can be moved to allow routes to be considered before or after the normal routes to subnets.

Name Allows you to give a name to this rule
Security Sets the security level of this rule and so defines who can view or edit the users details
Profile Defines the profile when this rule applies.
Source This allows you to specify one or more source interfaces from which the traffic may come
Send to This allows you to say what interface the traffic will be sent
Gateway IP The gateway to use on the specific interface. Blank if ARP is to be used.
Weight For advanced use
NAT Specifies that traffic is to be NATed when using this route
Proxy ARP For advanced use
Source ports This allows a range of source ports to be specified. Applicable to TCP and UDP. Normally blank meaning any.
Target ports This allows a range of target ports to be specifiied. Applicable to TCP and UDP. Typically just one port for the specific protocol, e.g. 80 for WWW
Protocol This allows the specific protocol to be specified, or Any.
Port group Instead of using a source port range, target port range and protocol, then a named port group can be selected.
Source IP range Allows the range of source IPs to be specified, or blank for any.
Source IP group Instead of an IP range, a named IP group can be selected.
Target IP range Allows the range of target IPs to be specified, or blank for any.
Target IP group Instead of an IP range, a named IP group can be selected.

Technical Reference

  • Stealth traffic already has a target MAC address on the other side of the FireBrick, and as such the FireBrick already knows the interface and target MAC to use. Stealth traffic is not subnet to the routing table.
  • Some traffic has a partial route already, such as address mapped traffic which may be to LAN but not say which subnet, and return traffic for any sessions which should be via the interface on which it arrived. In such cases routes are only considered if they match the target interface correctly.
  • Any route that sets an interface with a subnet, but for which a gateway is not defined will use the DHCP gateway defined for the subnet if specified. This is used in such cases before considering the default route. If there is not gateway defined, and the default is not the same general interface, then an ARP is done for the target IP, even if outside the known IPs for a subnet.
  • Proxy ARP is ignored on routes with protocol selection or group, as ARPs do not have an IP protocol.
  • See Weighted rules for details on how to use the Weight option. This applies only with the bonding feature.
  • If an explicit route is picked, then the NAT flag indicates if NAT applies or not. If a subnet route or the default route is picked then NAT is set based on the source IP/subnet being set for NAT.
  • If a route is set for target Any, then the NAT flag may be set at that point, but the routing continues until an explicit target interface is found
  • The proxy ARP setting causes the FireBrick to answer ARPs on the source interfaces for the IP range/group specified as the target
  • Routing is done before filtering as filters operate on the apparent target interface (which is decided by routing)
  • Routing is also done before any traffic shaping or address mapping wich are done after filtering. Address mapping may however cause routing to be done again if the addresses or interfaces are charged.
  • A more detail description of routing is shown here.

FireBrick Tunnel Guide

Tunnels

Tunnels provide a means of accessing remote networks and creating a virtual private network (VPN) to other FireBricks.
Once a tunnel is created it becomes available in the routing rules as a destination, allowing traffic to be routed down a tunnel.

Name Give the tunnel a meaningful name – this appears in the list of target interfaces for routing, etc.
Authentication security This defines who can view and edit this tunnel
Profile This defines the profile applicable to the tunnel
IP at far end This is the IP address of the other end of the tunnel. This can be blank at one end but a secret should be used in such cases.
Reference This is the tunnel number of the tunnel at the far end that matches this tunnel
Secret This is an optional secret (password) which must match the tunnel at the far end
Optional Interface Specify the interface and subnet on which the tunnel traffic is to be sent, otherwise normal routing applies. Note that you have to be careful not to send tunnel traffic down the tunnel!
Optional Source IP Specify the source IP for the tunnel traffic. Normally set automatically. If an subnet is defined for the interface, uses the subnet IP.
Optional Gateway IP Specify the gateway IP for tunnel traffic. Normally set automatically. If a subnet is defined for the interface then the DHCP gateway on the subnet is used.
MTU For advanced use
Fix For advanced use
Limit For advanced use
Keep-Alives Controls when keep alive messages are sent (see keep alives)
Auth-All Set to use slower authentication of all outbound packets (see below)
Bonding Set For advanced use
Bonding Bias For advanced use
QOS For advanced use
Reorder For advanced use

Routing

Creating a tunnel does not automatically say what traffic is to be sent down a tunnel – you will need to make a routing rule to specify this. Typically you will have a range of addresses which you know are at the far end of the tunnel, and will make a route sending those addresses down the tunnel.

Filtering

Creating a tunnel does not automatically allow the traffic through the FireBrick. You will need to consider what traffic you wish to allow from or to the tunnel. In many cases all traffic from Tunnel to LAN or from LAN to tunnel will be wanted, and so two filters will need to be added to allow such traffic.

The tunnel traffic is wrapped up in another packet to send over the internet to the other FireBrick. This traffic needs to be allowed. The FireBrick can is allowed to send traffic (unless a filter explicitly blocks it), but it will not automatically allow such traffic. To allow tunnelled packets through, create a filter allowing traffic to interface FireBrick on UDP port 1 (or use the FireBrick Tunnel Traffic port group).

Keep alives

Every second the FireBrick can send a small packet to the far end, which is a keep alive. This packet allows the far end to confirm the tunnel is all working. Both ends send these, and this is how the tunnel is shown as UP or DOWN. Normally keep alive packets are sent if they are being received, or if the far end has a fixed IP address. However there are other options. Master causes keep alives to always be sent. Slave causes them to only be sent if being received. Timeout causes them to be sent if there has been any traffic in the last minute – this is useful when operating on diulup/ISDN links allowing the link to drop if there is no activity.

Security

The authentication secret can be used to authenticate packets sent. This secret is used to digitally sign packets so the far end can be sure they are authentic and have not been changed in any way. You have to enter the same secret at each end.

If a secret has not been set, then the packets are not authenticated. However, the far end fixed IP is still checked, and this can be adequate security for most purposes.

There is an overhead to digitally signing and checking all of the packets sent, which can mean slower throughput. To reduce this effect the FireBrick will normally send unsigned data packets once the tunnel is established both ways. These are checked to be from same IP address as the previous (authenticated) keep alive packets recently received. There is an option Auth-All which forces all of the transmitted packets to be digitally signed. In this mode, the receiving FireBrick checks all packets so they cannot be spoofed by someone else and sent unsigned. This also applies automatically if the FireBrick at the other end is an older model (older software or a Plus or SoHo) and cannot accept unsigned packets.

Note that tunnel traffic is not encrypted.

Tunnel status

If the tunnel receives keep alive messages or any data it will shows as UP. If not then it shows as DOWN. In some cases you may see UP/DOWN where the FireBrick receives data from the far end, but the far end is not receiving data from this FireBrick. If a tunnel is not UP, then it is normally excluded from consideration as part of a tunnel set – the exception is when Timeout keep alive mode is used as you cannot be sure if the tunnel is UP or DOWN as it may simply have timed out. There are also tunnel set statistics (used with Bonding) which show the ordering of packets received, and how effective packet reordering is.

Technical Reference

  • FireBrick tunnels work using a FireBrick Lightweight Tunnelling Protocol which works with other FireBricks and for which there is also an open source linux implementation.
  • Tunnelled packets are sent from and to UDP port 1. Address mapping rules can be used to change this if necessary.
  • FireBrick tunnels will work via NAT and reply to the port from which traffic was sent.
  • It should be noted that if two ends of a tunnel are set correctly with specified IPs and send keep alives enabled, then there is no need to set an incoming filter to allow UDP port 1 as the traffic from the other end appears as replies to the outgoing traffic and so matches the session.
  • The MTU defines the size of packet that can always reach the far end without being fragmented. On most networks this can be set to 1500. It cannot be set below 576. Any packet that would be too big once encapsulated is broken up first and sent in shorter tunnel packets. This is obviously less efficient.
  • The Limit option will drop/reject any packets that are to big to send within the MTU when encapsulated. An ICMP can’t fragment error is returned
  • The Fix option causes the MSS in any TCP SYN packets to be adjusted if too high so that it will fit the MTU specified when encapsulated. This makes the tunnel more efficient. You should set this at both ends as it only affects MSS settings on SYN packets sent in to the tunnel.
  • The local end IP can be set. This is rarely necessary, but in some cases it can be useful as it is checked at the far end to match the far end IP.
  • If all tunnels in a set are inactive then the traffic goes to the originally routed tunnel only (i.e. as if there was not tunnel set), if it is enabled by profiles.
  • With bonded tunnels, sessions reported in the session table relate to the tunnel the traffic was routed to, the redirect to another tunnel is done at the last stage when the traffic is sent down the tunnel and does not affect session tracking.
  • QOS and Reorder relate to packet reordering on bonded tunnel sets, see below
  • The bonding bias can be used to adjust the relative load of each tunnel in a set, e.g. 1, 1/2. 1/3, 1/4, etc. This is intended for mixed speed bonded sets, and its usefulness is somewhat experimental.
  • A tunnel is treated as down if no packets of any sort for 5 seconds, or no keep alives for 12 seconds.
  • Tunnel bonding
  • With the bonding feature it is possible to select a set of  tunnels which work together. When traffic is sent to any tunnel in a set, it is actually sent down one of the tunnels to share out the load. This means you can make use of multiple internet links connecting two FireBricks and send traffic down multiple links at once for a higher overall throughput.Note that you should set MTU, Fix, and other settings the same for all of the tunnels in a set to avoid any unexpected behaviour.If any of the tunnels are disabled (based on profile) or not active (expect keep-alives is set but none received) then it is omitted from the set and the traffic spread between the working tunnels in the set.

    When bonding channels to achieve high speeds you must also consider the impact of windows size and speed/latency. Your TCP settings may need tuning to make the best use of a fast link to the internet.

  • Packet reordering
  • It is a fundamental principle of Internet Protocol (IP) that there is no guarantee packets will all arrive, arrive in order nor be duplicated. The higher protocols must handle this. For example, TCP is able to retransmit dropped packets and ignore duplicate packets. Unfortunately, not all protocols and applications work well when packets are reordered. Two key examples are that (a) some TCP stacks are much less efficient in the face of packet reordering so giving lower than expected throughput, and (b) some voice over IP systems do not handle packet reordering well resulting in distorted speech on a call.Packet reordering in a FireBrick can happen as a result of the bonding features. These are typically used to send packets down multiple internet links. The difference in packet sizes alone can therefore result in packets arriving in a different order. Differences in the latency on each link can also have an impact.To address this the FireBrick has two features.
  • The first (now deprecated) is the QOS option. This affects the sending of traffic down a bonded set. Any traffic that matches the programmed TOS value in the FireBrick will not be bonded but will stick to the tunnel to which it was routed, load balancing other traffic around it. This is normally used to address VoIP issues by making calls stick to one or other link. Typically a load sharing routing rule set is used to send traffic to one of the links in a bonded set so some calls go down one link and some down another, etc. If traffic is sent to a link that is unusable (down by profile or keep alive) then the bonding is enabled again for that traffic until the link is usable.
  • The second option is Reorder. This affects the receiving of packets on a bonded set. Packets arriving out of order are held until the missing packets are received (within limits). This can be less efficient if there are dropped packets, and so it is recommended that speed lanes be used to minimise any risk of dropped traffic between bricks. The result is that most, if not all, of the received packets come out of the FireBrick in the correct order. When this is used effecively, the QOS option becomes redundant and so is deprecated. Note that this will not work if the far end is a FireBrick which does not have the Reorder option available (i.e. older software).
  • Note that reordering is only available with both bonding and traffic shaping. Its use without shaping traffic to avoid inter-brick packet loss is not recommended as the far end will wait several packets before confirming a missed packet is in fact missed, hence hindering performance.
  • FireBrick Lightweight Tunnelling Protocol
  • The tunnelling protocol uses UDP port 1 packets, with one of two packet formats (single and multi-segment). In each format the first byte in the UDP payload is of the form SFPPVVV where S indicates the packet is signed, F indicates the last segment, PP indicates the part (0, 1 or 2) and VVVV is the version (2). The second byte is a tunnel reference – which tunnel at the far end to use, and starts from 1.For signed packets, a 16 byte MD5 signature is at the end of the packet. This is a signature of the whole UDP payload up to this signature, followed by the secret. The signature covers the UDP payload only so does not include IP or port numbers as they could change in transit via NAT, etc.For packets that will fit in the sending MTU, the packet is sent in one go. In this case the tunnel reference is followed by the data in the packet, and then 30 bytes (before any MD5 signature) of header data. To reassemble the packet, simply move 30 bytes from the end to the start of the packet. This is a light weight tunnelling system which does not involve moving much data in the packet (only 30 bytes). These packets have F=1 (final) and PP=0 (first part).

    For packets that will not fit, then the next two bytes after the tunnel reference are a cycling packet reference. Then there are up to 512 bytes of data. The packet may be in 2 parts (F=0/PP=0 and F=1/PP=1) or 3 parts (F=0/PP=0, F=0/PP=1, and F=1/PP=2) all with the same packet reference. All but the final packet are exactly 512 bytes. This is not as efficient because data has to be moved in the packet, and the 2 or 3 parts have to be reassembled. All segments in a packet are expected to arrive within 2 seconds.

    For keep alive packets, F=0/PP=3 and one byte follows the tunnel reference with flags 000TRSU1. U mean the tunnel is up (i.e. sending end is seeing incoming keep alives). S means the sending end expects to continuously send keep alives (i.e. master or auto when far end is fixed IP). T means the sending end will send unsigned payload packets. R means the sending end can accept unsigned payload packets.

    The IP header ID field should be contiguously increasing in the low byte on all packets sent to the same tunnel set so as to ensure the Reorder option works correctly.

    Debug level logging on the FireBrick will report if there are any unexpected tunnel packets received, etc.

FireBrick Installation

FireBrick MaxBOND

Special Reset the Firebrick

1. Remove all network and power leads
2 Loop far left (single port) and second port in on the 4 port block Connect power and wait for green LED to flash
3. Remove network lead from 4 port block
4. Configure your PC with the following

IP Address    217.169.0.2
Subnet Mask     255.255.255.248
Default Gateway 217.169.0.1
Connect to the Firebrick on 217.169.0.1

5. Click Setup
6. Click Features

Go to Link : http://FireBrick.co.uk/1740/feature/.

Under : Key Used to Activate new Feature
Feature Token :

You have been provided with 3 Token Keys. Enter them here:

1st Key Assign   = Tunnel
2nd Key Assign = Reporting
3rd Key Assign = Bonding

You will be presented on the page slightly above with the current installation key for this FireBrick is:
??????????????????????????????????????????????????

Go back to the Firebrick Installation page.

Scroll down to Installing features and add the installation key and click install Once the features are installed,
You will see :

Features

The following features are available:- (those in green are already installed)

Extras Additional admin users, profiles, shaping rules, speed lanes, routes, filters, portmaps and tunnels
Shaping Traffic shaping/speed lanes
Profiles Ping scanning and time profiles
Tunnels Lightweight tunnelling protocol
Reporting Management reporting (SNMP, Email, Syslog)
Bonding Multiple gateway sharing
VLAN VLAN subnets
5Port Independent 5 port operation for multiple DMZ/servers

Tunnels/Reporting/Bonding will be highlighted green.

Now you will need to create the Admin user.

7. Click Users
8. Click Admin
9. Change the password to Passw0rd123 in the password and retype password fields
10. Allow from WAN, LAN and Tunnel
11. Click Save
12. Login using the admin user
13. Click Setup
14. Click Name/etc
15. Give the Firebrick a name

Domain should be comms.co.uk
Administrator Comms
Location Customer Premises
SNMP Community C0mm5

16. SNMP Options –> ifDesc as number unchecked
17. Click Save
18. DNS
Server IPs 194.168.4.100 and 194.168.8.100 (a DNS server specified by the customer)
19. Click Save

20. Click Subnets
Click 1
Name LAN
Security 1
Profile 24/7

21. Interface LAN
IP address (this is the LAN IP address on the customer CRF, if unknown just use 192.168.0.254 as this can be changed at a later date or on install)
Subnet mask (this is the LAN subnet mask on the customer CRF, if unknown just use /24 as this can be changed at a later date or on install)

Options NAT unchecked
Click Save

22. Click 2
Name WAN1
Security 1
Profile 24/7
Interface WAN
IP address (this is the WAN IP address of the Firebrick on Line 1.
Subnet mask Gateway (this is the WAN IP address of the router on line 1.
Options NAT unchecked
Click Save

Between the router and the Firebrick will be a /30 private IP range. Use 192.168.200.1 for the

router and 192.168.200.2 on the Firebrick for the first router, and 192.168.201.1 and 192.168.201.2 for the second, etc.

Repeat for 2,3 and 4 (depending on whether 2 or 4 lines) changing the names and IP addresses

23. Go back to Setup
Gateway
Gateway IP none
Interface WAN1
Click Save

24. Click IP grp
Click 2
Name WW Admin
Security 1
Add range 1.1.1.1-1.1.1.10 and 2.2.2.2
Click Set Name

25. Click 3
Name (Other end point Location)
Security 1
Add range (found on customer CRF, if this is unknown just use
10.10.10.0/24)

26. Click Set Name
Click 4
Name (location LAN)
Security 1
Add range (found on customer CRF, if this is unknown just use 10.10.20.0/24)
Click Set Name

27. Click Port Grp
Click 1
Protocol UDP
Target 1
Click Add new entry
Name FB unnel Traffic
Click set name

28. Click Routes
Subnets route should be at the top of the table
Click 2
Name (other end point Location)
Security 1
Profile 24/7
Source LAN
Send to Tunnel(Tunnel 1)
Click Save

Click Filters (this is the firewall and determines what traffic is allowed in and out)

The first filter should be for the Firebrick Internet Access

29. Click 1
Name Remote end routes
Security 1
Profile 24/7
Direction LAN-> Tunnel
Source LAN
Target (IP group for remote end location)
Action Allow
Click Save

30. Click 2
Name Tunnel Traffic
Security 1
Profile 24/7
Port Group FB Tunnel Traffic
Source All
Target All
Action Allow
Click Save

31. Click 3
Name SNMP
Security 1
Profile 24/7
Source All
Target Firebrick name
Action Allow
Target ports 161-162
Protocol UDP
Source IP group WW admin
Click Save

32. Click 4
Name Firebrick-Remote
Security 1
Profile 24/7
Source All
Target Firebrick name
Action Allow
Source IP group WW admin
Click Save

33. Click 5
Name Ping
Security 1
Profile 24/7
Source All
Target All
Action Allow
Source ports 8
Protocol ICMP
Click Save

34. Click Tunnel
Click 1
Name Tunnel 1
Security 1
Profile 24/7
IP at far end (optional) Public IP of Firebrick tunnel at other end
Tunnel ID at far end 1
OPtional Interface WAN(WAN1)
MTU 1500
Click Save

35. Click 2
Name Tunnel 2
Security 1
Profile 24/7
IP at far end (optional) Public IP of Firebrick tunnel at other end
Tunnel ID at far end 2
OPtional Interface WAN(WAN2)
MTU 1500
Click Save

If you are only using a single public IP then you will need a mapping rule as your access will come over on port 81.

36. Click Mapping
Name Admin
Security 2
Profile 24/7
Source WAN
Target (Firebrick name)
Map traffic to (Firebrick name)
Target ports 81
New target port 80
Click save