I was wondering if it is simple / possible to use your Host’s internet connection while developing instead of using the 3G, while the device is connected via USB? I get very bad reception at my office and it is incapacitating when I need to transmit data while developing. Since the USB connection create a link between 192.168.2.2 <–> 192.168.2.3, maybe it’s possible to route all WAN traffic through there?
Yes you can do it. I assume you want to use the host PC as a gateway to your LAN or the wider Internet. This requires some changes to the iptables of the host PC (I assume it’s Linux, can’t help you with Windows). The following example allows SSH access both ways to the wider network. Note below enp3s0 is the host’s LAN interface, enp0s29u1u2i19 is the interface to the SW module over USB. You need to use your own device names.