Firebrick using L2TP over dongle: Difference between revisions
Appearance
Content deleted Content added
→Overview: clean up |
→Overview: syntaxhighlight |
||
| Line 3: | Line 3: | ||
=Overview= |
=Overview= |
||
Some customers prefer to use a dongle as their main connection in areas where ADSL speeds are particularly poor. |
Some customers prefer to use a dongle as their main connection in areas where ADSL speeds are particularly poor. |
||
People may find that CGNAT or other limiting factors within the cellular network break certain services such as SIP. We can get around this using L2TP. |
People may find that CGNAT or other limiting factors within the cellular network break certain services such as SIP. We can get around this using L2TP. |
||
The config below is a small modification to the config generated by the FireBrick itself. |
The config below is a small modification to the config generated by the FireBrick itself. |
||
The idea is to set the ''payload-table'' for L2TP to table 1, and to then put the LAN interface on this table. |
The idea is to set the ''payload-table'' for L2TP to table 1, and to then put the LAN interface on this table. |
||
<syntaxhighlight lang="xml"> |
|||
<pre> |
|||
<port name="LAN" ports="1 2 3 4"/> |
|||
<port name="USB" ports="" dongle="Dongle"/> |
<port name="USB" ports="" dongle="Dongle"/> |
||
<interface name="LAN" port="LAN" table="1" comment="Default LAN interface"> |
<interface name="LAN" port="LAN" table="1" comment="Default LAN interface"> |
||
| Line 28: | Line 30: | ||
<rule name="Allow Firebrick" source-interface="self" comment="Allow all from the FireBrick to LAN"/> |
<rule name="Allow Firebrick" source-interface="self" comment="Allow all from the FireBrick to LAN"/> |
||
</rule-set> |
</rule-set> |
||
</syntaxhighlight> |
|||
</pre> |
|||