IPv6 is very unlikely to be a problem since I doubt that all handsets that support MMS support ipv6, but thought I should point it out!
I'll try to explain my thinking behind using netfilter. wlan0 192.168.1.10/24 default gw 192.168.1.1 Now we connect to the MMS APN.. pppX 192.168.1.200 <=> 192.168.1.50 MMSC: 195.92.248.7 It *could* happen.. first problem. If the device is currently talking to 192.168.1.200 or 192.168.1.50 via WLAN, those two IP addresses are now present on two interfaces..
If the device is talking to www.orange.co.uk (which happens to have the same IP as the MMSC) which route does it use?
in your example, what if the mmsc is 192.168.1.1?
What if it clashes with a local wlan address?
what if the mmsc has the same IP address as wlan0?
what if the ppp interface obtains an IP address that matches a local wlan IP or host?
Overlaps are very bad.. I think this idea might solve many overlap problems..
If we use the ipt_ROUTE module, we can direct traffic out of specific interface based on ipt matching.. which is fairly good..
[...] dev If force the route to be associated with the specified device, as the kernel will otherwise try to determine the device on its own (by checking already existing routes and device specifications, and where the route is added to). In most normal networks you won't need this. [...]
The vital thing here is to avoid clashes and since home networks use rfc1918 and operators use rfc1918 the chances are real.