Static Route Setup on Windows 10 for Split Tunnel VPN Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Come Celebrate our 10 Year Anniversary!Windows Server 2003 VPN and Local networkselective routing through a VPN tunnelLocal traffic through VPN, global traffic through WANVPN: Disable class based route addition for Windows XP/VistaHow Can I enable rdp access to a laptop after it connects to VPN?Juniper Netscreen Remote - What is the interface / route config?VPN route on WindowsPPP Adapter answer instead of local NICPPTP VPN connects but does not have access to network resourcesRouting trafffic from vpn tunnel source to other interface

How to get even lighting when using flash for group photos near wall?

Could Neutrino technically as side-effect, incentivize centralization of the bitcoin network?

How to avoid introduction cliches

Does Feeblemind produce an ongoing magical effect that can be dispelled?

Check if a string is entirely made of the same substring

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

Flattening the sub-lists

Justification for leaving new position after a short time

What to do with someone that cheated their way through university and a PhD program?

How can I wire a 9-position switch so that each position turns on one more LED than the one before?

Trumpet valves, lengths, and pitch

"Rubric" as meaning "signature" or "personal mark" -- is this accepted usage?

Co-worker works way more than he should

Holes in ElementMesh with ToElementMesh of ImplicitRegion

Implementing 3DES algorithm in Java: is my code secure?

Contradiction proof for inequality of P and NP?

What ability score does a Hexblade's Pact Weapon use for attack and damage when wielded by another character?

Do I need to protect SFP ports and optics from dust/contaminants? If so, how?

What is a 'Key' in computer science?

How to keep bees out of canned beverages?

How to not starve gigantic beasts

Is Diceware more secure than a long passphrase?

How to open locks without disable device?

Has a Nobel Peace laureate ever been accused of war crimes?



Static Route Setup on Windows 10 for Split Tunnel VPN



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Come Celebrate our 10 Year Anniversary!Windows Server 2003 VPN and Local networkselective routing through a VPN tunnelLocal traffic through VPN, global traffic through WANVPN: Disable class based route addition for Windows XP/VistaHow Can I enable rdp access to a laptop after it connects to VPN?Juniper Netscreen Remote - What is the interface / route config?VPN route on WindowsPPP Adapter answer instead of local NICPPTP VPN connects but does not have access to network resourcesRouting trafffic from vpn tunnel source to other interface



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have an L2TP VPN service setup on a Ubiquity USG 3 Router.



I trying to set up a split tunnel service on Window 10 machine so that:



  • Internet Traffic is sent outside VPN (for speed)

  • Certain Local IP is sent through the VPN tunnel

I've unchecked the "Use default gateway on remote network" and get the expected external IP address when on VPN however, my local IP traffic also gets sent to out to the internet.



I've tried setting some static routes to force the traffic through the VPN tunnel but its not working as expected.



IP config:



 Ethernet adapter Ethernet 3:

Connection-specific DNS Suffix . : routerlogin.net
Link-local IPv6 Address . . . . . : fe80::ce9:xxxx:xxxx:xxxx%20
IPv4 Address. . . . . . . . . . . : 192.168.1.4
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

PPP adapter AoE_VPN:

Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 192.168.14.1
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :


I am bit puzzelled whey the Default Gateway is blank for the VPN connection.



Routes I try adding but have no effect:



route add 192.168.19.0 MASK 255.255.255.0 192.168.14.1
route add 192.168.14.0 MASK 255.255.255.0 192.168.14.1

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.4 75
24.145.xxx.xx 255.255.255.255 192.168.1.1 192.168.1.4 76
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
192.168.1.0 255.255.255.0 On-link 192.168.1.4 331
192.168.1.4 255.255.255.255 On-link 192.168.1.4 331
192.168.1.255 255.255.255.255 On-link 192.168.1.4 331
192.168.14.0 255.255.255.0 192.168.14.1 192.168.1.4 76
192.168.19.0 255.255.255.0 192.168.14.1 192.168.1.4 76
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 192.168.1.4 331
224.0.0.0 240.0.0.0 On-link 192.168.14.1 331
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 192.168.1.4 331
255.255.255.255 255.255.255.255 On-link 192.168.14.1 331
===========================================================================


TraceRoute:



Tracing route to 192.168.19.10 over a maximum of 30 hops

1 3 ms 3 ms 1 ms attwifimanager.routerlogin.net [192.168.1.1]
2 53 ms 27 ms 28 ms 172.26.96.169
3 * * * Request timed out.


I not confident I have the correct destination IP for the add route command but I am not sure what IP address I should be using.










share|improve this question




























    0















    I have an L2TP VPN service setup on a Ubiquity USG 3 Router.



    I trying to set up a split tunnel service on Window 10 machine so that:



    • Internet Traffic is sent outside VPN (for speed)

    • Certain Local IP is sent through the VPN tunnel

    I've unchecked the "Use default gateway on remote network" and get the expected external IP address when on VPN however, my local IP traffic also gets sent to out to the internet.



    I've tried setting some static routes to force the traffic through the VPN tunnel but its not working as expected.



    IP config:



     Ethernet adapter Ethernet 3:

    Connection-specific DNS Suffix . : routerlogin.net
    Link-local IPv6 Address . . . . . : fe80::ce9:xxxx:xxxx:xxxx%20
    IPv4 Address. . . . . . . . . . . : 192.168.1.4
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.1.1

    PPP adapter AoE_VPN:

    Connection-specific DNS Suffix . :
    IPv4 Address. . . . . . . . . . . : 192.168.14.1
    Subnet Mask . . . . . . . . . . . : 255.255.255.255
    Default Gateway . . . . . . . . . :


    I am bit puzzelled whey the Default Gateway is blank for the VPN connection.



    Routes I try adding but have no effect:



    route add 192.168.19.0 MASK 255.255.255.0 192.168.14.1
    route add 192.168.14.0 MASK 255.255.255.0 192.168.14.1

    IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.4 75
    24.145.xxx.xx 255.255.255.255 192.168.1.1 192.168.1.4 76
    127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
    127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
    127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
    192.168.1.0 255.255.255.0 On-link 192.168.1.4 331
    192.168.1.4 255.255.255.255 On-link 192.168.1.4 331
    192.168.1.255 255.255.255.255 On-link 192.168.1.4 331
    192.168.14.0 255.255.255.0 192.168.14.1 192.168.1.4 76
    192.168.19.0 255.255.255.0 192.168.14.1 192.168.1.4 76
    224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
    224.0.0.0 240.0.0.0 On-link 192.168.1.4 331
    224.0.0.0 240.0.0.0 On-link 192.168.14.1 331
    255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
    255.255.255.255 255.255.255.255 On-link 192.168.1.4 331
    255.255.255.255 255.255.255.255 On-link 192.168.14.1 331
    ===========================================================================


    TraceRoute:



    Tracing route to 192.168.19.10 over a maximum of 30 hops

    1 3 ms 3 ms 1 ms attwifimanager.routerlogin.net [192.168.1.1]
    2 53 ms 27 ms 28 ms 172.26.96.169
    3 * * * Request timed out.


    I not confident I have the correct destination IP for the add route command but I am not sure what IP address I should be using.










    share|improve this question
























      0












      0








      0


      1






      I have an L2TP VPN service setup on a Ubiquity USG 3 Router.



      I trying to set up a split tunnel service on Window 10 machine so that:



      • Internet Traffic is sent outside VPN (for speed)

      • Certain Local IP is sent through the VPN tunnel

      I've unchecked the "Use default gateway on remote network" and get the expected external IP address when on VPN however, my local IP traffic also gets sent to out to the internet.



      I've tried setting some static routes to force the traffic through the VPN tunnel but its not working as expected.



      IP config:



       Ethernet adapter Ethernet 3:

      Connection-specific DNS Suffix . : routerlogin.net
      Link-local IPv6 Address . . . . . : fe80::ce9:xxxx:xxxx:xxxx%20
      IPv4 Address. . . . . . . . . . . : 192.168.1.4
      Subnet Mask . . . . . . . . . . . : 255.255.255.0
      Default Gateway . . . . . . . . . : 192.168.1.1

      PPP adapter AoE_VPN:

      Connection-specific DNS Suffix . :
      IPv4 Address. . . . . . . . . . . : 192.168.14.1
      Subnet Mask . . . . . . . . . . . : 255.255.255.255
      Default Gateway . . . . . . . . . :


      I am bit puzzelled whey the Default Gateway is blank for the VPN connection.



      Routes I try adding but have no effect:



      route add 192.168.19.0 MASK 255.255.255.0 192.168.14.1
      route add 192.168.14.0 MASK 255.255.255.0 192.168.14.1

      IPv4 Route Table
      ===========================================================================
      Active Routes:
      Network Destination Netmask Gateway Interface Metric
      0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.4 75
      24.145.xxx.xx 255.255.255.255 192.168.1.1 192.168.1.4 76
      127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
      127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
      127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
      192.168.1.0 255.255.255.0 On-link 192.168.1.4 331
      192.168.1.4 255.255.255.255 On-link 192.168.1.4 331
      192.168.1.255 255.255.255.255 On-link 192.168.1.4 331
      192.168.14.0 255.255.255.0 192.168.14.1 192.168.1.4 76
      192.168.19.0 255.255.255.0 192.168.14.1 192.168.1.4 76
      224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
      224.0.0.0 240.0.0.0 On-link 192.168.1.4 331
      224.0.0.0 240.0.0.0 On-link 192.168.14.1 331
      255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
      255.255.255.255 255.255.255.255 On-link 192.168.1.4 331
      255.255.255.255 255.255.255.255 On-link 192.168.14.1 331
      ===========================================================================


      TraceRoute:



      Tracing route to 192.168.19.10 over a maximum of 30 hops

      1 3 ms 3 ms 1 ms attwifimanager.routerlogin.net [192.168.1.1]
      2 53 ms 27 ms 28 ms 172.26.96.169
      3 * * * Request timed out.


      I not confident I have the correct destination IP for the add route command but I am not sure what IP address I should be using.










      share|improve this question














      I have an L2TP VPN service setup on a Ubiquity USG 3 Router.



      I trying to set up a split tunnel service on Window 10 machine so that:



      • Internet Traffic is sent outside VPN (for speed)

      • Certain Local IP is sent through the VPN tunnel

      I've unchecked the "Use default gateway on remote network" and get the expected external IP address when on VPN however, my local IP traffic also gets sent to out to the internet.



      I've tried setting some static routes to force the traffic through the VPN tunnel but its not working as expected.



      IP config:



       Ethernet adapter Ethernet 3:

      Connection-specific DNS Suffix . : routerlogin.net
      Link-local IPv6 Address . . . . . : fe80::ce9:xxxx:xxxx:xxxx%20
      IPv4 Address. . . . . . . . . . . : 192.168.1.4
      Subnet Mask . . . . . . . . . . . : 255.255.255.0
      Default Gateway . . . . . . . . . : 192.168.1.1

      PPP adapter AoE_VPN:

      Connection-specific DNS Suffix . :
      IPv4 Address. . . . . . . . . . . : 192.168.14.1
      Subnet Mask . . . . . . . . . . . : 255.255.255.255
      Default Gateway . . . . . . . . . :


      I am bit puzzelled whey the Default Gateway is blank for the VPN connection.



      Routes I try adding but have no effect:



      route add 192.168.19.0 MASK 255.255.255.0 192.168.14.1
      route add 192.168.14.0 MASK 255.255.255.0 192.168.14.1

      IPv4 Route Table
      ===========================================================================
      Active Routes:
      Network Destination Netmask Gateway Interface Metric
      0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.4 75
      24.145.xxx.xx 255.255.255.255 192.168.1.1 192.168.1.4 76
      127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
      127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
      127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
      192.168.1.0 255.255.255.0 On-link 192.168.1.4 331
      192.168.1.4 255.255.255.255 On-link 192.168.1.4 331
      192.168.1.255 255.255.255.255 On-link 192.168.1.4 331
      192.168.14.0 255.255.255.0 192.168.14.1 192.168.1.4 76
      192.168.19.0 255.255.255.0 192.168.14.1 192.168.1.4 76
      224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
      224.0.0.0 240.0.0.0 On-link 192.168.1.4 331
      224.0.0.0 240.0.0.0 On-link 192.168.14.1 331
      255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
      255.255.255.255 255.255.255.255 On-link 192.168.1.4 331
      255.255.255.255 255.255.255.255 On-link 192.168.14.1 331
      ===========================================================================


      TraceRoute:



      Tracing route to 192.168.19.10 over a maximum of 30 hops

      1 3 ms 3 ms 1 ms attwifimanager.routerlogin.net [192.168.1.1]
      2 53 ms 27 ms 28 ms 172.26.96.169
      3 * * * Request timed out.


      I not confident I have the correct destination IP for the add route command but I am not sure what IP address I should be using.







      vpn vpn-client ubiquiti split-tunnel






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 5 '18 at 8:19









      NathanNathan

      1011




      1011




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Do you have "Use Default Gateway on Remote" ticked.



          I don't think the Rout table looks correct.
          I would think the result should have been something like this.



           192.168.14.0 255.255.255.0 On-link 192.168.14.1 76
          192.168.19.0 255.255.255.0 On-link 192.168.14.1 76





          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f915237%2fstatic-route-setup-on-windows-10-for-split-tunnel-vpn%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Do you have "Use Default Gateway on Remote" ticked.



            I don't think the Rout table looks correct.
            I would think the result should have been something like this.



             192.168.14.0 255.255.255.0 On-link 192.168.14.1 76
            192.168.19.0 255.255.255.0 On-link 192.168.14.1 76





            share|improve this answer



























              0














              Do you have "Use Default Gateway on Remote" ticked.



              I don't think the Rout table looks correct.
              I would think the result should have been something like this.



               192.168.14.0 255.255.255.0 On-link 192.168.14.1 76
              192.168.19.0 255.255.255.0 On-link 192.168.14.1 76





              share|improve this answer

























                0












                0








                0







                Do you have "Use Default Gateway on Remote" ticked.



                I don't think the Rout table looks correct.
                I would think the result should have been something like this.



                 192.168.14.0 255.255.255.0 On-link 192.168.14.1 76
                192.168.19.0 255.255.255.0 On-link 192.168.14.1 76





                share|improve this answer













                Do you have "Use Default Gateway on Remote" ticked.



                I don't think the Rout table looks correct.
                I would think the result should have been something like this.



                 192.168.14.0 255.255.255.0 On-link 192.168.14.1 76
                192.168.19.0 255.255.255.0 On-link 192.168.14.1 76






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 1 '18 at 4:07









                Adrian HalidAdrian Halid

                11616




                11616



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f915237%2fstatic-route-setup-on-windows-10-for-split-tunnel-vpn%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company