gl.inet x750 router with 4G modem. Intended to be used as emergency "dial-in" router for a remote location. Using google FI SIM, aka: t-mobile network, meaning:
a) I do not get a global IPv4 address and/or have no other way to connect via IPv4 from the Internet into the router via the 4G interface (CGNAT crap).
b) paying 10 USD/Gigabyte, so i want to keep volume use to a minimum.
I got IPv6 with dynamic DNS nicely running, and it seems i'd roughly use up maybe 5 MByte/month just for the IPv6 aliveness traffic.
BUT: i fail so far to set up the wwan0 interface so that IPv4 is disabled.
config interface 'wwan' option proto 'qmi' option device '/dev/cdc-wdm0' option apn 'h2g2' option pdptype 'ipv6' option dhcp '0' config interface 'wwan6' option ifname '@wwan' option proto 'dhcpv6' option reqaddress 'try' option reqprefix 'auto' list dns '2001:4860:4860::8888' list dns '2001:4860:4860::8844' option peerdns '0'
Still, the wwan0 interface gets an IPv4 address (rfc1918) and IPv4 is running on wwan0, there is also in luci an interface "WWAN_4" (grey) "Virtual dynamic interface (DHCP client)"
- "option pdptype ipv6" seems to do nothing
- "option dhcp 0" seems to do nothing
Any ideas what i could do to disable IPv4 on the interface best ?
Who creates that virtual dynamic interface anyhow ? Some shell scripts or binary driver code ?