Apple FaceTime over VPN

Discussion in 'Tomato Firmware' started by gfunkdave, Jan 11, 2014.

  1. gfunkdave

    gfunkdave LI Guru Member

    I just noticed this, and thought it was interesting enough to post.

    I run an OpenVPN server in my RT-N66u to which I connect as clients the Tomato routers at my parents' house and my mother in law's house. I like to be able to access my parents' NAS on occasion, and my MIL's router for easy remote diagnostics (as well as just being a nerd).

    I just noticed that when I FaceTime my MIL from my house, the connection is routed through the OpenVPN tunnel instead of goign out on the public internet. I know that it ordinarily establishes a UDP connection to the WAN IP of the called person, but for some reason it seems able to route this over VPN instead.

    I think any real discussion of why this is would require knowledge of the FaceTime protocol, which I don't think is public. Perhaps FaceTime first tries to connect via the LAN IP - since OpenVPN creates a route that lets my home network connect directly via LAN IP to my MIL's home network, this is why it works.

    Of course, the issue with this is that QOS doesn't work over the OpenVPN tunnel. The connection gets classified into my default connection class ("Download") instead of VOIP.

    Any thoughts?
  2. waeking

    waeking Addicted to LI Member

    When you create your routes you can set the preferred route by giving a higher metric to the route through the vpn. This will make skype/facetime use the route outside of the vpn where as, the nas does not have an outside ip address and therefore will use the vpn for the inside ip address.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice