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!

Back up to the Incoming L2TP Category

L2TP Client: FireBrick

From AAISP Support Site
Revision as of 22:33, 26 March 2022 by Reedy (talk | contribs) (→‎FireBrick FB2500/2700 Fully Loaded: 2900 can do it too)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

FireBrick FB2500/FB2700/FB2900 Fully Loaded

The FireBrick can connect as an L2TP client for fallback and for its main connection. One thing to watch out for is making sure that the FB doesn't set its own gateway to be the tunnel (which would logically send tunnel packets up the tunnel, which is horrid). You can get around this by using separate routing tables.

This example is for L2TP being the main connection:

 <interface name="WAN"
            comment="DHCP client">

  <outgoing name="AAISP"
            comment="L2TP tunnel to AAISP"/>

You can set to fall back to NAT if the tunnel is down. Traffic on routing table 0 won't have a default gateway if the L2TP is down, so will match this rule set that has target interface "nowhere":

 <rule-set name="Fallback"
           comment="NAT fallback if can't establish L2TP">
  <rule name="NAT"

If the L2TP is being used for fallback, you are probably better off setting the routing table for the L2TP to something other than 0. Remember firewall rules only apply to single routing tables. You can then use profiles to bring the L2TP in to service in the even of the PPP going down etc.

Virgin Media

Some customers may be tunnelling into us via a Virgin Media connection (typically a Virgin Media router connected directly to the FB). Customers doing this may find that the tunnel can drop and not recover. You can resolve this by setting min-retry to 1. This is a hidden option, so you will need to click 'show all' under the tunnel settings.