Results 1 to 8 of 8

Thread: access ubuntu box behind a firewall from multiple points

  1. #1
    Join Date
    Nov 2005
    Beans
    313
    Distro
    Kubuntu 8.04 Hardy Heron

    access ubuntu box behind a firewall from multiple points

    Hello,

    So I have a notebook and a desktop and don't want to go through all the effort of putting files and folders on both of them and trying to sync the two up you know. MY desktop has a much larger hard drive but I want to keep it safe so I have firestarter running on it. It's been working pretty well. Well I want to be able to access the files on my desktop from my notebook. The problem is the firestarter. It blocks any IPs it doesn't recognize (as it should). I am not always at the same place twice and use a variety of IP addresses. How can I set it up to where Firestarter recognizes my machine and accept it regardless of what network I am on? Thanks.
    Open Source = Freedom
    Check out my nerdy gear at http://www.cafepress.com/bestgeekchic

    Gotta love the Ubuntu

  2. #2
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    5,474
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: access ubuntu box behind a firewall from multiple points

    At times like that, you cannot just use a whitelist to allow selected IP addresses. You need access to a service from anywhere.

    I would suggest running an SSH server on an unusual port number, up in the many thousands. Configure SSH either to use key-based authentication only, or configure AllowUser to only allow your username (in /etc/ssh/sshd_config) and make sure you have a good strong password.

    SSH allows remote file access - put an address in the nautilus address bar in this format:
    ssh://username@1.2.3.4:10000/
    and ssh also allows shell login.

  3. #3
    Join Date
    Nov 2005
    Beans
    313
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: access ubuntu box behind a firewall from multiple points

    That is cool for ssh. I was wondering, what if I have other services I need. Example, I want to put stuff on a mysql server and what not. I do not know how to do that to where I can access it remotely through my firewall from a variety of locations and IPs. i guess I can change the port number to a high thousands number but I'd like to do it another way. Any ideas?
    Open Source = Freedom
    Check out my nerdy gear at http://www.cafepress.com/bestgeekchic

    Gotta love the Ubuntu

  4. #4
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    5,474
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: access ubuntu box behind a firewall from multiple points

    You can do tunneling of TCP over SSH for just one other service, but if you want to lot of services, perhaps you should be looking at using OpenVPN. It is good and secure and will provide full connectivity between the machines. The HOWTO on the OpenVPN website gives full and detailed instructions.

  5. #5
    Join Date
    Nov 2005
    Beans
    313
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: access ubuntu box behind a firewall from multiple points

    So let me make sure I am hearing right. I can do openvpn and log in and that will solve most all of my problems? What about logging into openvpn, won't my firewall block that? What's the best way to set this up?
    Open Source = Freedom
    Check out my nerdy gear at http://www.cafepress.com/bestgeekchic

    Gotta love the Ubuntu

  6. #6
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,554
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: access ubuntu box behind a firewall from multiple points

    Can you just give us some ideas about how many services you would like to run or need access to? OpenVPN is a full-blown high resource solution, however a simpler solution may be more applicable for your situation depending on exactly what you want to do.

  7. #7
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: access ubuntu box behind a firewall from multiple points

    and changing SSH port won't secure you in any way... use a strong password and an auto-ban program for brute-forcing.

  8. #8
    Join Date
    Nov 2005
    Beans
    313
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: access ubuntu box behind a firewall from multiple points

    Okay, well this is what I want to accomplish

    1) I have a lot of documents and I want to keep them in sync. Naturally it can get tedious trying to remember which ones I have changed and make sure to copy over right ones. If I edit one of my notebook and my desktop, well that causes a problem. I want to have most all of my documents on my desktop and access them that way. SSH or OpenVPN can work for that I am sure.

    2) I want to keep all of my music in a MySQL database and pull it with Amarok. I have like 15 Gigs of music and that is a lot to keep up with. If I can centralize that, it would make a difference. That and there are a few other things I want to put onto a MySQL database.

    3) I want to do something with Apache. I want to have a decent web interface for everything and make it easy to develop web apps on my desktop and access them at anytime.

    That is really it in a nutshell. If anything else comes up, I'll tackle it then but that's the bulk of it.
    Open Source = Freedom
    Check out my nerdy gear at http://www.cafepress.com/bestgeekchic

    Gotta love the Ubuntu

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •