How I can configure my Intranet-connecting VPN connention not to be used for connecting into anything outside of it?selectively route traffic in split-VPN 12.04How to get VPN internal traffic and external internet traffic to work simultaneouslyRouting and OpenVPNHow to enable OpenVPN access to ONLY the internal LANUsing SSH when behind VPNHow can I block traffic over wifi before the VPN connects?OpenVPN client cannot access any network except for the server itself after connection

Router wont hold config

How do I recover from a cryptocurrency scam?

Is philosophy primarily about proving things to the best of our ability?

Are shells allowed to ignore NUL bytes in scripts?

Is the worst version of the accusations against President Trump impeachable?

Could a Falcon Heavy really put six GPS Block III satellites in orbit?

Does a Buffer Overflow vulnerability always mean a code execution vulnerability?

How can 16th-level characters mitigate damage from a lethal (long) fall?

Baby's head always turned to one side: should I do anything?

How do I find more throat sprays?

Relationship between Vgs ang Vds

Why aren't flights continued after losing a tire on rotation?

Explanation of output produced by the following quantum circuit

What's the trick to shaking the berry trees?

How to create a new file via touch if it is in a directory which doesn't exist?

Why does a Turn and slip indicator matter?

How can an AI train itself if no one is telling it if its answer is correct or wrong?

Is there any benefit of being treated as "professor" by students and admin?

Bitcoin protocol and Wireshark

Is "to go berserk" used by native speakers or is it obsolete?

Apollo CM heat shield burnt pattern around RCS thrusters

What does "two ells within the selvages" mean in the Magna Carta?

Why should interrupts be short in well configured system?

80’s or earlier short fantasy about very “sweet” neighbours



How I can configure my Intranet-connecting VPN connention not to be used for connecting into anything outside of it?


selectively route traffic in split-VPN 12.04How to get VPN internal traffic and external internet traffic to work simultaneouslyRouting and OpenVPNHow to enable OpenVPN access to ONLY the internal LANUsing SSH when behind VPNHow can I block traffic over wifi before the VPN connects?OpenVPN client cannot access any network except for the server itself after connection






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1


















I have setup an Openvpn connection via network-manager on Ubuntu Mate 18.04LTS, the VPN is used for connecting into remote server via ssh without the need for having public-facing servers, the server serves a company intranet.



But when I connect into the server I am unable to connect into internet because the VPN server has no rules for directing the traffic into the internet. This behaviour is the expected one.



So how I can configure the vpn connection in order NOT to disconnect from the internet when I connect into it?










share|improve this question

































    1


















    I have setup an Openvpn connection via network-manager on Ubuntu Mate 18.04LTS, the VPN is used for connecting into remote server via ssh without the need for having public-facing servers, the server serves a company intranet.



    But when I connect into the server I am unable to connect into internet because the VPN server has no rules for directing the traffic into the internet. This behaviour is the expected one.



    So how I can configure the vpn connection in order NOT to disconnect from the internet when I connect into it?










    share|improve this question





























      1













      1









      1








      I have setup an Openvpn connection via network-manager on Ubuntu Mate 18.04LTS, the VPN is used for connecting into remote server via ssh without the need for having public-facing servers, the server serves a company intranet.



      But when I connect into the server I am unable to connect into internet because the VPN server has no rules for directing the traffic into the internet. This behaviour is the expected one.



      So how I can configure the vpn connection in order NOT to disconnect from the internet when I connect into it?










      share|improve this question
















      I have setup an Openvpn connection via network-manager on Ubuntu Mate 18.04LTS, the VPN is used for connecting into remote server via ssh without the need for having public-facing servers, the server serves a company intranet.



      But when I connect into the server I am unable to connect into internet because the VPN server has no rules for directing the traffic into the internet. This behaviour is the expected one.



      So how I can configure the vpn connection in order NOT to disconnect from the internet when I connect into it?







      networking 18.04 vpn openvpn ubuntu-mate






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 20 at 7:21







      Dimitrios Desyllas

















      asked Sep 19 at 10:46









      Dimitrios DesyllasDimitrios Desyllas

      9254 silver badges23 bronze badges




      9254 silver badges23 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          1



















          (For Greek System Language look into the screenshots)



          On the network manager settings select your VPN connection




          Selecting OpenVPN Connection



          Add configuration for OpenVPn connection




          Then go into IPV4 Settings -> Routes




          What to select for configuring the routes:




          And then select the "Use this connection only for resources on its network".




          Select setting for resource only connections




          Press OK and recconect into VPN.






          share|improve this answer




























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            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/4.0/"u003ecc by-sa 4.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%2faskubuntu.com%2fquestions%2f1175229%2fhow-i-can-configure-my-intranet-connecting-vpn-connention-not-to-be-used-for-con%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









            1



















            (For Greek System Language look into the screenshots)



            On the network manager settings select your VPN connection




            Selecting OpenVPN Connection



            Add configuration for OpenVPn connection




            Then go into IPV4 Settings -> Routes




            What to select for configuring the routes:




            And then select the "Use this connection only for resources on its network".




            Select setting for resource only connections




            Press OK and recconect into VPN.






            share|improve this answer































              1



















              (For Greek System Language look into the screenshots)



              On the network manager settings select your VPN connection




              Selecting OpenVPN Connection



              Add configuration for OpenVPn connection




              Then go into IPV4 Settings -> Routes




              What to select for configuring the routes:




              And then select the "Use this connection only for resources on its network".




              Select setting for resource only connections




              Press OK and recconect into VPN.






              share|improve this answer





























                1















                1











                1









                (For Greek System Language look into the screenshots)



                On the network manager settings select your VPN connection




                Selecting OpenVPN Connection



                Add configuration for OpenVPn connection




                Then go into IPV4 Settings -> Routes




                What to select for configuring the routes:




                And then select the "Use this connection only for resources on its network".




                Select setting for resource only connections




                Press OK and recconect into VPN.






                share|improve this answer
















                (For Greek System Language look into the screenshots)



                On the network manager settings select your VPN connection




                Selecting OpenVPN Connection



                Add configuration for OpenVPn connection




                Then go into IPV4 Settings -> Routes




                What to select for configuring the routes:




                And then select the "Use this connection only for resources on its network".




                Select setting for resource only connections




                Press OK and recconect into VPN.







                share|improve this answer















                share|improve this answer




                share|improve this answer








                edited Sep 19 at 19:29









                N0rbert

                35.8k10 gold badges82 silver badges167 bronze badges




                35.8k10 gold badges82 silver badges167 bronze badges










                answered Sep 19 at 10:46









                Dimitrios DesyllasDimitrios Desyllas

                9254 silver badges23 bronze badges




                9254 silver badges23 bronze badges































                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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%2faskubuntu.com%2fquestions%2f1175229%2fhow-i-can-configure-my-intranet-connecting-vpn-connention-not-to-be-used-for-con%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

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?