FireBrick 3G Dongle: Difference between revisions
Appearance
Content deleted Content added
CrazyTeeka (talk | contribs) |
CrazyTeeka (talk | contribs) |
||
| Line 19: | Line 19: | ||
=Basic 3G Config= |
=Basic 3G Config= |
||
If you have an |
If you have an AAISP data SIM, the FireBrick can be configured to use this as a backup connection, by using a 3G dongle plugged into the USB port. Any routed legacy IPv4 blocks will continue to work across this link, but so far IPv6 isn't supported (without using a tunnel). |
||
The basic config is: |
The basic config is: |
||
<syntaxhighlight> |
<syntaxhighlight> |
||
| Line 27: | Line 28: | ||
</syntaxhighlight> |
</syntaxhighlight> |
||
Provided you use your |
Provided you use your AAISP username and password, then that's all you need to get the dongle configured. If your main broadband connection goes down, the FireBrick will automatically switch to use the 3G connection, then back again once your main connection is back. |
||
If the dongle is not using |
If the dongle is not using an AAISP SIM, and therefore your IPv4 blocks won't be re-routed down the dongle, then include NAT="true" on the dongle line. |
||
<syntaxhighlight> |
|||
| ⚫ | |||
<usb> |
|||
| ⚫ | If using AAISP, then the options for IPv6 routing on the |
||
| ⚫ | |||
</usb> |
|||
</syntaxhighlight> |
|||
| ⚫ | |||
Here we have some profiles to manage the 3G, and also add logging. |
|||
| ⚫ | If using AAISP, then the options for IPv6 routing on the [[:Category:Control Pages|Control Pages]] allow an IPv6 block to be routed to a tunnel endpoint if the main routing (ie ADSL/FTTC) goes down. This means IPv6 can be routed to the 3G dongle if the main broadband(s) go down. The MTU will be limited though. |
||
Here we have an example config, with default logging. Please make changes to suit your FireBrick setup. If your MTU is 1492 then use ra-mtu="1472" instead of ra-mtu="1480". |
|||
<syntaxhighlight> |
<syntaxhighlight> |
||
<interface name="LAN" port="LAN" ra-client="false"> |
|||
<usb log="true" profile="No_PPPoE"> |
|||
<subnet ip="2001:8b0::1/64" ra="true" ra-other="dhcpv6" ra-mtu="1480" ra-dns="2001:8b0::2020 2001:8b0::2021"/> |
|||
| ⚫ | |||
</ |
</interface> |
||
<interface name="WAN" port="WAN" ra-client="false"/> |
|||
<route name="6in4" profile="No_DSL" graph="6in4" ip="::/0" gateway="81.187.81.6" comment="IPv6 Default route when AAISP DSL is down" /> |
|||
< |
<ppp name="AAISP" port="WAN" username="me@a.1" password="secret" lcp-rate="1" lcp-timeout="5" graph="AAISP" log="default"/> |
||
<usb> |
|||
<dongle name="AAISP-BACKUP" apn="m2m.aql.net" username="me@a.3" password="secret" nat="false" graph="AAISP-BACKUP" log="default"/> |
|||
</usb> |
|||
< |
<route ip="::/0" gateway="81.187.81.6" comment="IPv6 default route using IPv4 tunnel"/> |
||
</syntaxhighlight> |
</syntaxhighlight> |
||