18.04 VPN & UFW firewall issue

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Went from 16.04, connecting to VPN fine through Network Manager on Xenial. Under 18.04 it doesn't connect, settings are unchanged. Get the grey icon which vanishes after 10 seconds. I've tried the 'use password for all users option' which some people have used, doesn't work for me.



Update: from looking at system logs I saw UFW block. When disabling the firewall I can connect to the VPN.



My question: is it safe to use VPN with the firewall disabled? This is a remote PC connecting to windows terminal services. And secondly can I add an exception so the gateway is accepted and not blocked?







share|improve this question


























    up vote
    0
    down vote

    favorite












    Went from 16.04, connecting to VPN fine through Network Manager on Xenial. Under 18.04 it doesn't connect, settings are unchanged. Get the grey icon which vanishes after 10 seconds. I've tried the 'use password for all users option' which some people have used, doesn't work for me.



    Update: from looking at system logs I saw UFW block. When disabling the firewall I can connect to the VPN.



    My question: is it safe to use VPN with the firewall disabled? This is a remote PC connecting to windows terminal services. And secondly can I add an exception so the gateway is accepted and not blocked?







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Went from 16.04, connecting to VPN fine through Network Manager on Xenial. Under 18.04 it doesn't connect, settings are unchanged. Get the grey icon which vanishes after 10 seconds. I've tried the 'use password for all users option' which some people have used, doesn't work for me.



      Update: from looking at system logs I saw UFW block. When disabling the firewall I can connect to the VPN.



      My question: is it safe to use VPN with the firewall disabled? This is a remote PC connecting to windows terminal services. And secondly can I add an exception so the gateway is accepted and not blocked?







      share|improve this question














      Went from 16.04, connecting to VPN fine through Network Manager on Xenial. Under 18.04 it doesn't connect, settings are unchanged. Get the grey icon which vanishes after 10 seconds. I've tried the 'use password for all users option' which some people have used, doesn't work for me.



      Update: from looking at system logs I saw UFW block. When disabling the firewall I can connect to the VPN.



      My question: is it safe to use VPN with the firewall disabled? This is a remote PC connecting to windows terminal services. And secondly can I add an exception so the gateway is accepted and not blocked?









      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 29 at 13:41

























      asked Apr 27 at 21:06









      Tom Nadia

      3742415




      3742415




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          In terminal I entered sudo ufw allow from x.xx.xxx.xx where these are the gateway numbers. I can now use VPN with the firewall on.






          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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1028969%2f18-04-vpn-ufw-firewall-issue%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            In terminal I entered sudo ufw allow from x.xx.xxx.xx where these are the gateway numbers. I can now use VPN with the firewall on.






            share|improve this answer
























              up vote
              0
              down vote













              In terminal I entered sudo ufw allow from x.xx.xxx.xx where these are the gateway numbers. I can now use VPN with the firewall on.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                In terminal I entered sudo ufw allow from x.xx.xxx.xx where these are the gateway numbers. I can now use VPN with the firewall on.






                share|improve this answer












                In terminal I entered sudo ufw allow from x.xx.xxx.xx where these are the gateway numbers. I can now use VPN with the firewall on.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 29 at 13:50









                Tom Nadia

                3742415




                3742415



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1028969%2f18-04-vpn-ufw-firewall-issue%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491