How to connect from a Linux machine to an Ubuntu machine on internal network only?How to access an ubuntu...

Is it a Cyclops number? "Nobody" knows!

Giving a career talk in my old university, how prominently should I tell students my salary?

How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?

Can one live in the U.S. and not use a credit card?

Is it possible to find 2014 distinct positive integers whose sum is divisible by each of them?

Plausibility of Mushroom Buildings

What is better: yes / no radio, or simple checkbox?

Are all players supposed to be able to see each others' character sheets?

Outlet with 3 sets of wires

Doesn't allowing a user mode program to access kernel space memory and execute the IN and OUT instructions defeat the purpose of having CPU modes?

Having the player face themselves after the mid-game

Would an aboleth's Phantasmal Force lair action be affected by Counterspell, Dispel Magic, and/or Slow?

What is the generally accepted pronunciation of “topoi”?

Recommendation letter by significant other if you worked with them professionally?

Why do we say ‘pairwise disjoint’, rather than ‘disjoint’?

How can I manipulate the output of Information?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

After `ssh` without `-X` to a machine, is it possible to change `$DISPLAY` to make it work like `ssh -X`?

What will happen if my luggage gets delayed?

Signed and unsigned numbers

How to resolve: Reviewer #1 says remove section X vs. Reviewer #2 says expand section X

Proving a statement about real numbers

Can I negotiate a patent idea for a raise, under French law?

Can we track matter through time by looking at different depths in space?



How to connect from a Linux machine to an Ubuntu machine on internal network only?


How to access an ubuntu machine via VNC from the login screen?How do I remotely connect to a windows XP virtual machineSetting up Remote Access over a home network?How to upgrade Firefox on several computers on the networkRemote Desktop from a ubuntu 13.04 to an Ubuntu 13.04 machine so the user on the second machine can see my movmentsHow do I access other computers in a home network remotely and in the background?xrdb to Ubuntu machine not working from external networkHow to access ubuntu machine from another networkOne Way Communication Problem in Ubuntu NetworkRemmina connection via gateway not working from one machine when in certain network













0















I want to be able to access one of my Ubuntu computers from a Linux computer, from within my Home Network, but for it to be impossible to do so from outside.



What would be the best way to go about this?



Thanks in advance!










share|improve this question
















bumped to the homepage by Community 5 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    I want to be able to access one of my Ubuntu computers from a Linux computer, from within my Home Network, but for it to be impossible to do so from outside.



    What would be the best way to go about this?



    Thanks in advance!










    share|improve this question
















    bumped to the homepage by Community 5 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0


      0






      I want to be able to access one of my Ubuntu computers from a Linux computer, from within my Home Network, but for it to be impossible to do so from outside.



      What would be the best way to go about this?



      Thanks in advance!










      share|improve this question
















      I want to be able to access one of my Ubuntu computers from a Linux computer, from within my Home Network, but for it to be impossible to do so from outside.



      What would be the best way to go about this?



      Thanks in advance!







      remote-desktop remote-access






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 13 '17 at 2:56







      Tyler

















      asked May 13 '17 at 1:43









      TylerTyler

      112




      112





      bumped to the homepage by Community 5 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 5 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          2 Answers
          2






          active

          oldest

          votes


















          0














          Secure Shell is one choice that is fairly easy but it only allows for a Command Line Interface (CLI). SSH can be accessed from the WAN by port forwarding in your router settings.



          Remote Desktop is easy and available natively on Ubuntu machines. The instructions to set it up can be found at the following page.
          http://www.makeuseof.com/tag/ubuntu-remote-desktop-builtin-vnc-compatible-dead-easy/



          You need to go into Desktop Sharing Preferences and allow others to view your Desktop and allow other users to control your desktop. You can set a password under security if you so desire.



          After you find the IP address you can use Remmina Remote Desktop client to access it from that machine. You can use ifconfig to determine the IP address. When you open Remmina it should look similar to the picture below. However it will auto-populate with RDP, you will need to change this to VNC.enter image description here



          Remote Desktop can also be accessed from WAN by forwarding the port, but if this isn't setup you won't have access. One thing to check is to make sure that you are using VNC not RDP as your protocol to connect.



          On the machine you want to connect from you will need to make sure that Remmina is installed and properly.
          In Ubuntu/Debian:



          sudo apt-get install remmina remmina-plugin-*


          In Centos/RHEL:



          yum install remmina remmina-plugin-*


          In Fedora:



          sudo dnf copr enable hubbitus/remmina-next
          sudo dnf upgrade --refresh 'remmina*' 'freerdp*'





          share|improve this answer


























          • Will this prevent connections from outside the network, or will that still be possible?

            – Tyler
            May 13 '17 at 1:56











          • With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

            – Robby1212
            May 13 '17 at 1:57













          • When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

            – Tyler
            May 13 '17 at 2:06











          • @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

            – nullmeta
            May 13 '17 at 2:16











          • @nullmeta That didn't change anything.

            – Tyler
            May 13 '17 at 2:44



















          -1














          If you are familiar with terminal, you can use ssh. Simply install on the machine you want to control package openssh-server.



          On your local machine open terminal and type ssh login@internal_ip_of_your_remote_machine. Some networks even work with hostname (login@hostname.local).



          If you want to skip logging in all the time, you can create and copy your public authentification key:



          ssh-keygen - if you have already not generated your ssh key (you can confirm everything)



          ssh-copy-id login@remote_machine and enter remote password.
          From now on you can login from your computer without password query.






          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/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%2faskubuntu.com%2fquestions%2f914639%2fhow-to-connect-from-a-linux-machine-to-an-ubuntu-machine-on-internal-network-onl%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Secure Shell is one choice that is fairly easy but it only allows for a Command Line Interface (CLI). SSH can be accessed from the WAN by port forwarding in your router settings.



            Remote Desktop is easy and available natively on Ubuntu machines. The instructions to set it up can be found at the following page.
            http://www.makeuseof.com/tag/ubuntu-remote-desktop-builtin-vnc-compatible-dead-easy/



            You need to go into Desktop Sharing Preferences and allow others to view your Desktop and allow other users to control your desktop. You can set a password under security if you so desire.



            After you find the IP address you can use Remmina Remote Desktop client to access it from that machine. You can use ifconfig to determine the IP address. When you open Remmina it should look similar to the picture below. However it will auto-populate with RDP, you will need to change this to VNC.enter image description here



            Remote Desktop can also be accessed from WAN by forwarding the port, but if this isn't setup you won't have access. One thing to check is to make sure that you are using VNC not RDP as your protocol to connect.



            On the machine you want to connect from you will need to make sure that Remmina is installed and properly.
            In Ubuntu/Debian:



            sudo apt-get install remmina remmina-plugin-*


            In Centos/RHEL:



            yum install remmina remmina-plugin-*


            In Fedora:



            sudo dnf copr enable hubbitus/remmina-next
            sudo dnf upgrade --refresh 'remmina*' 'freerdp*'





            share|improve this answer


























            • Will this prevent connections from outside the network, or will that still be possible?

              – Tyler
              May 13 '17 at 1:56











            • With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

              – Robby1212
              May 13 '17 at 1:57













            • When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

              – Tyler
              May 13 '17 at 2:06











            • @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

              – nullmeta
              May 13 '17 at 2:16











            • @nullmeta That didn't change anything.

              – Tyler
              May 13 '17 at 2:44
















            0














            Secure Shell is one choice that is fairly easy but it only allows for a Command Line Interface (CLI). SSH can be accessed from the WAN by port forwarding in your router settings.



            Remote Desktop is easy and available natively on Ubuntu machines. The instructions to set it up can be found at the following page.
            http://www.makeuseof.com/tag/ubuntu-remote-desktop-builtin-vnc-compatible-dead-easy/



            You need to go into Desktop Sharing Preferences and allow others to view your Desktop and allow other users to control your desktop. You can set a password under security if you so desire.



            After you find the IP address you can use Remmina Remote Desktop client to access it from that machine. You can use ifconfig to determine the IP address. When you open Remmina it should look similar to the picture below. However it will auto-populate with RDP, you will need to change this to VNC.enter image description here



            Remote Desktop can also be accessed from WAN by forwarding the port, but if this isn't setup you won't have access. One thing to check is to make sure that you are using VNC not RDP as your protocol to connect.



            On the machine you want to connect from you will need to make sure that Remmina is installed and properly.
            In Ubuntu/Debian:



            sudo apt-get install remmina remmina-plugin-*


            In Centos/RHEL:



            yum install remmina remmina-plugin-*


            In Fedora:



            sudo dnf copr enable hubbitus/remmina-next
            sudo dnf upgrade --refresh 'remmina*' 'freerdp*'





            share|improve this answer


























            • Will this prevent connections from outside the network, or will that still be possible?

              – Tyler
              May 13 '17 at 1:56











            • With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

              – Robby1212
              May 13 '17 at 1:57













            • When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

              – Tyler
              May 13 '17 at 2:06











            • @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

              – nullmeta
              May 13 '17 at 2:16











            • @nullmeta That didn't change anything.

              – Tyler
              May 13 '17 at 2:44














            0












            0








            0







            Secure Shell is one choice that is fairly easy but it only allows for a Command Line Interface (CLI). SSH can be accessed from the WAN by port forwarding in your router settings.



            Remote Desktop is easy and available natively on Ubuntu machines. The instructions to set it up can be found at the following page.
            http://www.makeuseof.com/tag/ubuntu-remote-desktop-builtin-vnc-compatible-dead-easy/



            You need to go into Desktop Sharing Preferences and allow others to view your Desktop and allow other users to control your desktop. You can set a password under security if you so desire.



            After you find the IP address you can use Remmina Remote Desktop client to access it from that machine. You can use ifconfig to determine the IP address. When you open Remmina it should look similar to the picture below. However it will auto-populate with RDP, you will need to change this to VNC.enter image description here



            Remote Desktop can also be accessed from WAN by forwarding the port, but if this isn't setup you won't have access. One thing to check is to make sure that you are using VNC not RDP as your protocol to connect.



            On the machine you want to connect from you will need to make sure that Remmina is installed and properly.
            In Ubuntu/Debian:



            sudo apt-get install remmina remmina-plugin-*


            In Centos/RHEL:



            yum install remmina remmina-plugin-*


            In Fedora:



            sudo dnf copr enable hubbitus/remmina-next
            sudo dnf upgrade --refresh 'remmina*' 'freerdp*'





            share|improve this answer















            Secure Shell is one choice that is fairly easy but it only allows for a Command Line Interface (CLI). SSH can be accessed from the WAN by port forwarding in your router settings.



            Remote Desktop is easy and available natively on Ubuntu machines. The instructions to set it up can be found at the following page.
            http://www.makeuseof.com/tag/ubuntu-remote-desktop-builtin-vnc-compatible-dead-easy/



            You need to go into Desktop Sharing Preferences and allow others to view your Desktop and allow other users to control your desktop. You can set a password under security if you so desire.



            After you find the IP address you can use Remmina Remote Desktop client to access it from that machine. You can use ifconfig to determine the IP address. When you open Remmina it should look similar to the picture below. However it will auto-populate with RDP, you will need to change this to VNC.enter image description here



            Remote Desktop can also be accessed from WAN by forwarding the port, but if this isn't setup you won't have access. One thing to check is to make sure that you are using VNC not RDP as your protocol to connect.



            On the machine you want to connect from you will need to make sure that Remmina is installed and properly.
            In Ubuntu/Debian:



            sudo apt-get install remmina remmina-plugin-*


            In Centos/RHEL:



            yum install remmina remmina-plugin-*


            In Fedora:



            sudo dnf copr enable hubbitus/remmina-next
            sudo dnf upgrade --refresh 'remmina*' 'freerdp*'






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited May 13 '17 at 15:55

























            answered May 13 '17 at 1:54









            Robby1212Robby1212

            336317




            336317













            • Will this prevent connections from outside the network, or will that still be possible?

              – Tyler
              May 13 '17 at 1:56











            • With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

              – Robby1212
              May 13 '17 at 1:57













            • When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

              – Tyler
              May 13 '17 at 2:06











            • @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

              – nullmeta
              May 13 '17 at 2:16











            • @nullmeta That didn't change anything.

              – Tyler
              May 13 '17 at 2:44



















            • Will this prevent connections from outside the network, or will that still be possible?

              – Tyler
              May 13 '17 at 1:56











            • With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

              – Robby1212
              May 13 '17 at 1:57













            • When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

              – Tyler
              May 13 '17 at 2:06











            • @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

              – nullmeta
              May 13 '17 at 2:16











            • @nullmeta That didn't change anything.

              – Tyler
              May 13 '17 at 2:44

















            Will this prevent connections from outside the network, or will that still be possible?

            – Tyler
            May 13 '17 at 1:56





            Will this prevent connections from outside the network, or will that still be possible?

            – Tyler
            May 13 '17 at 1:56













            With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

            – Robby1212
            May 13 '17 at 1:57







            With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

            – Robby1212
            May 13 '17 at 1:57















            When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

            – Tyler
            May 13 '17 at 2:06





            When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

            – Tyler
            May 13 '17 at 2:06













            @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

            – nullmeta
            May 13 '17 at 2:16





            @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

            – nullmeta
            May 13 '17 at 2:16













            @nullmeta That didn't change anything.

            – Tyler
            May 13 '17 at 2:44





            @nullmeta That didn't change anything.

            – Tyler
            May 13 '17 at 2:44













            -1














            If you are familiar with terminal, you can use ssh. Simply install on the machine you want to control package openssh-server.



            On your local machine open terminal and type ssh login@internal_ip_of_your_remote_machine. Some networks even work with hostname (login@hostname.local).



            If you want to skip logging in all the time, you can create and copy your public authentification key:



            ssh-keygen - if you have already not generated your ssh key (you can confirm everything)



            ssh-copy-id login@remote_machine and enter remote password.
            From now on you can login from your computer without password query.






            share|improve this answer




























              -1














              If you are familiar with terminal, you can use ssh. Simply install on the machine you want to control package openssh-server.



              On your local machine open terminal and type ssh login@internal_ip_of_your_remote_machine. Some networks even work with hostname (login@hostname.local).



              If you want to skip logging in all the time, you can create and copy your public authentification key:



              ssh-keygen - if you have already not generated your ssh key (you can confirm everything)



              ssh-copy-id login@remote_machine and enter remote password.
              From now on you can login from your computer without password query.






              share|improve this answer


























                -1












                -1








                -1







                If you are familiar with terminal, you can use ssh. Simply install on the machine you want to control package openssh-server.



                On your local machine open terminal and type ssh login@internal_ip_of_your_remote_machine. Some networks even work with hostname (login@hostname.local).



                If you want to skip logging in all the time, you can create and copy your public authentification key:



                ssh-keygen - if you have already not generated your ssh key (you can confirm everything)



                ssh-copy-id login@remote_machine and enter remote password.
                From now on you can login from your computer without password query.






                share|improve this answer













                If you are familiar with terminal, you can use ssh. Simply install on the machine you want to control package openssh-server.



                On your local machine open terminal and type ssh login@internal_ip_of_your_remote_machine. Some networks even work with hostname (login@hostname.local).



                If you want to skip logging in all the time, you can create and copy your public authentification key:



                ssh-keygen - if you have already not generated your ssh key (you can confirm everything)



                ssh-copy-id login@remote_machine and enter remote password.
                From now on you can login from your computer without password query.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 13 '17 at 15:45









                Michal PolovkaMichal Polovka

                1,1651819




                1,1651819






























                    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%2f914639%2fhow-to-connect-from-a-linux-machine-to-an-ubuntu-machine-on-internal-network-onl%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

                    Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                    Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                    Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...