LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-10-2016, 10:33 AM   #1
Denis Gaulin
LQ Newbie
 
Registered: Sep 2014
Posts: 5

Rep: Reputation: Disabled
simple recipe to connect to my home server - debian - ubuntu


I have started about 3 years ago to use Ubuntu.Now I have 14.04LTS for stability.

I want to setup access to my home computer from other locations ( my office for instance).
I have read over 200 articles on how to setup firewall, ssh-server, iptables and everything is becoming very confusing because not one relates to the other portion of the puzzle to make everything work.
Ex- I have setup SSH-server and it works good but I still cannot set iptables....for the firewall; (which is best to start ufw/ gufw/ firestarter or else), The result is thatnothing is still working and I am not able to do it.

Also what is the setup that has to be made in the router to coordinate all these setups? The end goal is to make it work...

There seems to be no article that deals with all these subjects together or interrelates these together so we can have a clear understanding and more accurate procedures.
Would it be possible to have more or less a basic recipe; steps a,b,c,d, etc.. of what are all the steps to accomplish the ultimate work?

Denis Gaulin

Last edited by Denis Gaulin; 01-10-2016 at 10:42 AM. Reason: grammatical errors and to clarify my tought
 
Old 01-10-2016, 11:25 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Denis Gaulin View Post
I have started about 3 years ago to use Ubuntu.Now I have 14.04LTS for stability.

I want to setup access to my home computer from other locations ( my office for instance).
I have read over 200 articles on how to setup firewall, ssh-server, iptables and everything is becoming very confusing because not one relates to the other portion of the puzzle to make everything work.
Ex- I have setup SSH-server and it works good but I still cannot set iptables....for the firewall; (which is best to start ufw/ gufw/ firestarter or else), The result is thatnothing is still working and I am not able to do it.
UFW (Uncomplicated Firewall) would be good for a new user. And documentation is always the best place to start...the Ubuntu page on UFW has the EXACT command to enable remote SSH:
https://wiki.ubuntu.com/UncomplicatedFirewall
Quote:
Also what is the setup that has to be made in the router to coordinate all these setups? The end goal is to make it work...
The end goal of working on ANYTHING is to make it work. And there's no way anyone can tell you the answer to this, since we don't know what kind of router you have, or where you live. Some ISP's are better than others...but chances are there will be a web-page you can access on your router, which will let you do what is known as a 'port forward'. For this, you'll need to know:
  • The external IP address of your Internet router (this is provided by your ISP). If it's dynamic...you WILL have problems, since your Internet-facing address will change whenever they update things, reboot your router, or if you lose power.
  • The IP address of your Ubuntu box on your local, internal network.
  • The port your have SSH running on, if you changed it.
Say your external IP address is 11.12.13.14, and your Ubuntu box is 192.168.10.10, and you're running SSH on the default port 22. You forward port 22 on your external address to port 22 on your INTERNAL system, so the router just shovels things in on that port, to that address. So that by typing in "ssh user@11.12.13.14" from any box on the Internet, you'll get connected to your Ubuntu box. HOW you do this, where, and the syntax depends on the hardware.
Quote:
There seems to be no article that deals with all these subjects together or interrelates these together so we can have a clear understanding and more accurate procedures. Would it be possible to have more or less a basic recipe; steps a,b,c,d, etc.. of what are all the steps to accomplish the ultimate work?
No, because what you're asking for has FAR too many variables. Setting up SSH varies from system to system, and on that users needs, not to mention the THOUSANDS of brands of routers, each with a different setup, and the various policies from each ISP. Not to even get in to the whole dynamic-vs-static IP address problems.

If you get a basic understanding of networking, that's what you need.
 
Old 01-11-2016, 10:53 AM   #3
Denis Gaulin
LQ Newbie
 
Registered: Sep 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Simple recipe to connect to my home server - debian-Ubuntu

2015-01-11 Thanking you TB0ne. You answer clarify what I had more or less concluded. THis is enough to make me go on check my IP with my ISP (service provider) and continue. Has you said I will use ufw for starter.

Once again thank you for fast response
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot connect an Ubuntu client to a Debian server g.tauanearu Linux - Networking 3 04-24-2012 11:14 PM
How to make a simple kernel patch with OE Bitbake / Recipe System leiphasw Linux - Distributions 1 11-07-2010 03:25 AM
LXer: Simple Home File Server (Based On Ubuntu) LXer Syndicated Linux News 0 01-27-2008 02:50 PM
Webcam - 3com home connect lite under Debian Lenale Linux - Hardware 0 01-20-2005 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration