OPNsense LTE connection
The OPNsense Firewall supports multiple modems for mobile Internet connections. This article shows how to configure a mobile internet connection using a LES compact 4L with Quectel EG25-G modem using OPNsense 19.7.
Supported modems
OPNsense basically supports the same modems as FreeBSD/HardenedBSD. The following modems have been tested by the OPNsense developers:[1]
- Huawei ME909u-521 (device cuaUx.0) - this modem is available at Thomas-Krenn when buying a LES network+ or LES v3 directly in the webshop
- Quectel EG25-G (device cuaUx.2) - this modem will soon be available from Thomas-Krenn when purchasing an LES compact 4L in the webshop
- Huawei E220 (device cuaUx.0)
- Sierra Wireless MC7304 (device cuaUx.2)
Install SIM card
Before configuration, equip the modem with a SIM card. Depending on the system used, the SIM card slot is located on the mainboard (e.g. LES v3, LES network+)[2] or on the back of the modem (Quectel EG-25G with Sim card slot).
After installing the SIM card, start the OPNsense system.
Configure modem
Perform the following configuration steps:
Change the WAN connection
To permanently use the mobile Internet connection as the only WAN uplink, carry out the following steps:
Reset WAN connection
If the WAN connection is to be reset to a normal network connection, the PPP connection must be deactivated:
References
- ↑ Interface configuration - Supported Devices (docs.opnsense.org)
- ↑ Equip mini server with SIM card. (it-administrator.de)
Author: Werner Fischer Werner Fischer, working in the Knowledge Transfer team at Thomas-Krenn, completed his studies of Computer and Media Security at FH Hagenberg in Austria. He is a regular speaker at many conferences like LinuxTag, OSMC, OSDC, LinuxCon, and author for various IT magazines. In his spare time he enjoys playing the piano and training for a good result at the annual Linz marathon relay.
|