[clug] asymmetric routing
chris.zhang.syd at gmail.com
Wed Aug 26 03:41:26 MDT 2009
On Wed, Aug 26, 2009 at 6:56 PM, David Schoen <neerolyte at gmail.com> wrote:
> Your outgoing (or uploads) should go wherever your next hop is
> (default gateway if something more specific doesn't match it first).
> Your incoming traffic is determined by routers outside of your control
> (in this situation at least) but should be based only on the IP the
> traffic came from (and there for where it wants to go back to).
Maybe this can be solved by source address spoofing suggested by Craig. When
traffic leaves through the phone connection, change its source address to
USB dongle IP address so when they come back they will come through the USB
connection. In this case the default gateway would be the phone connection.
> What's likely to happen in this situation is that you'll be stuck
> behind a proxy/nat/something-else-designed-purely-for-evil that will
> mean the IP your 3G device knows about has no relevance to the IP the
> end point knows about.
> That's my understanding anyway.
> 2009/8/26 Chris Zhang <chris.zhang.syd at gmail.com>:
> > If I make the phone the default gateway, wouldn't all traffic (both
> > and incoming) be sent through to that interface? What connections would
> > ultilising the USB 3G connection?
> > I tested it and tcpdumped the traffic, it appears that the other IP (USB
> > connection) is not used.
> > Chris
> > On Wed, Aug 26, 2009 at 4:48 PM, Craig Small <csmall at enc.com.au> wrote:
> >> On Wed, Aug 26, 2009 at 04:11:03PM +1000, Chris Zhang wrote:
> >> > I am wondering if there is a way to tweak the routing table or the
> >> firewall
> >> > to dedicate all downloads through the USB dongle and keep my uploads
> >> through
> >> > my mobile connection? That is, for a normal tcp connection, all
> >> > acknowledgments get sent out via the phone 3G connection?
> >> Making the phone the default gateway would do it. The problem is
> >> I'm not sure if the 3G will let you do this. A standard network, sure
> >> you can often send packets with the "wrong" IP address as the source but
> >> I'm not sure 3G ones will let you do this.
> >> As far as the other network is concerned, you're spoofing the source
> >> address and a lot of places filter that.
> >> - Craig
> >> --
> >> Craig Small GnuPG:1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA
> >> http://www.enc.com.au/ csmall at :
> >> http://www.debian.org/ Debian GNU/Linux, software should be
> >> --
> >> linux mailing list
> >> linux at lists.samba.org
> >> https://lists.samba.org/mailman/listinfo/linux
> > --
> > linux mailing list
> > linux at lists.samba.org
> > https://lists.samba.org/mailman/listinfo/linux
> High Availability - You'd have to be High to think this is Available
More information about the linux