OPNsense Forum

English Forums => Tutorials and FAQs => Topic started by: simdim on January 24, 2023, 12:29:59 am

Title: What is the best way for iPhone USB Tethering ?
Post by: simdim on January 24, 2023, 12:29:59 am
Hi all,
I had got really tired of my cable connection to constantly be out, and need to enable iPhone tethering with OPENSense 22.7

My main issue if I can configure everything and have it be available after I reconnect the phone.
There were some discussions on pfSense that if I leave ue interface configured as a WAN interface and it is not available at reboot it will halt the boot (https://youtu.be/03_UHjKsxxI and in the comments there is way to disable scanning of ue in /etc/inc/utils.inc - not present on OPNSense).

Also is there a way to include kldload if_ipheth  and usbconfig -d 1.3 set_config 3 during boot?
-------------
SOUTION

After a bit of soul searching I had ended up with the following solution:

1. Connected SFT-1200 (travel router with mobile tethering built in - https://www.gl-inet.com/products/gl-sft1200/) to the secondary interface
2. Created gateway group according with  fail-over scenario in https://docs.opnsense.org/manual/how-tos/multiwan.html
3. when main WAN becomes unstable - connect phone to mobile router and it will get you trough apps and downs of main WAN link.


Title: Re: What is the best way for iPhone USB Tethering ?
Post by: ashlevoyed on January 26, 2024, 05:30:18 pm
Hi all,
I had got really tired of my cable connection to constantly be out, and need to enable iPhone tethering with OPENSense 22.7

My main issue if I can configure everything and have it be available after I reconnect the phone.
There were some discussions on pfSense that if I leave ue interface configured as a WAN interface and it is not available at reboot it will halt the boot (https://youtu.be/03_UHjKsxxI and in the comments there is way to disable scanning of ue in /etc/inc/utils.inc - not present on OPNSense).

Also is there a way to include kldload if_ipheth  and usbconfig -d 1.3 set_config 3 during boot?
-------------
SOUTION
I've had enough problems like this. Because iOS loves to show off. I even looked at how to disconnect iphone from mac and found https://setapp.com/how-to/how-to-disconnect-iphone-from-mac for this. Everything is completely different in this operating system. It takes some getting used to and patience.
After a bit of soul searching I had ended up with the following solution:

1. Connected SFT-1200 (travel router with mobile tethering built in - https://www.gl-inet.com/products/gl-sft1200/) to the secondary interface
2. Created gateway group according with  fail-over scenario in https://docs.opnsense.org/manual/how-tos/multiwan.html
3. when main WAN becomes unstable - connect phone to mobile router and it will get you trough apps and downs of main WAN link.

There, everything is simple in the web interface, select “Interfaces” -> “Assignments” -> Assign the USB modem as WAN. Then add your network settings.