LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2015, 07:58 PM   #1
Jeff-Royer
LQ Newbie
 
Registered: Jul 2015
Distribution: Zorin OS and FreeBSD
Posts: 6

Rep: Reputation: Disabled
can someone on the internet using nmap read what services are running on my system?


hey people out there,

I'm running two services for my local network to access plex and ssh.

I heard that as long as port forwarding is disable in my router and is not forwarding any ports to my local services, it should be safe and services are not seen by namp or the outside world. Is this true? thx in advance

Last edited by Jeff-Royer; 07-29-2015 at 08:04 PM.
 
Old 07-29-2015, 08:47 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Hello and welcome to LQ.

I'd suggest you go to one of those web sites that try to test your system maybe.
nmap could be run locally if you wish too. I rather doubt you could find what "services" are in fact running unless this is the worst set up system. At one time every system was open but now most are much more secure by default.

Here is the problem with security. A totally secure system won't work at all, you have to open stuff up to the outside world. To get into your system a hacker has to have some avenue to enter and then find out what is running. They can't if you don't respond to some things. For example the ssh, you could do some tricks to help limit the common crook maybe. Simple things like how it was set up and passwords or certificates to double authentication to time limits and maybe moving ports but with every improvement you end up with other holes.

To answer your question it is basically no on a modern linux system. The more "best practices" you learn and use the more likely that your system will be secure. If you have opened up holes or there are known or unknown holes then it could be attacked.

Last edited by jefro; 07-29-2015 at 08:48 PM.
 
Old 07-29-2015, 09:09 PM   #3
Jeff-Royer
LQ Newbie
 
Registered: Jul 2015
Distribution: Zorin OS and FreeBSD
Posts: 6

Original Poster
Rep: Reputation: Disabled
Linux security is a very, very, very complex subject. However, I am not over zealous or paranoid. I just want my services to be accessed only from my local network for local users and not the outside world.

I did read a public server needs ports forwarding enabled in the router for the general public to access local services. Again, I only read this. And since I don't have port forwarding enabled, I'm assuming my services will not be available for the general public.

Of course, I could be wrong.

Thanks for the reply and the nice welcome
 
Old 07-29-2015, 09:40 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
I'm hardly an expert in this area, but this nmap tutorial might help:

http://www.linux.com/learn/tutorials...-guide-to-nmap
 
Old 07-29-2015, 09:57 PM   #5
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
If your LAN is behind a NAT router to your public IP, and if your router is not configured to forward service ports such as http, you can safely run such services on your LAN withous worrying about outside access via the router.

Unless your router has some kind of security problem or misconfiguration, anyway.
 
Old 07-29-2015, 10:02 PM   #6
Jeff-Royer
LQ Newbie
 
Registered: Jul 2015
Distribution: Zorin OS and FreeBSD
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
I'm hardly an expert in this area, but this nmap tutorial might help:

http://www.linux.com/learn/tutorials...-guide-to-nmap
I do know the basics of nmap. But my question was can someone on the outside using nmap see what services are running on my system.



Quote:
Originally Posted by Doug G View Post
If your LAN is behind a NAT router to your public IP, and if your router is not configured to forward service ports such as http, you can safely run such services on your LAN withous worrying about outside access via the router.

Unless your router has some kind of security problem or misconfiguration, anyway.
That's reassuring



Thanks framknell and Doug for your inputs
 
Old 07-31-2015, 07:42 AM   #7
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
i use this site for probing my ports : https://pentest-tools.com/discovery-...er-online-nmap
 
1 members found this post helpful.
Old 07-31-2015, 01:28 PM   #8
Jeff-Royer
LQ Newbie
 
Registered: Jul 2015
Distribution: Zorin OS and FreeBSD
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ////// View Post
i use this site for probing my ports : https://pentest-tools.com/discovery-...er-online-nmap
A helpful link. Thanks
 
Old 07-31-2015, 01:50 PM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I use a similar site when ensuring I have opened the port I want to on my router:
https://www.grc.com/shieldsup
 
Old 07-31-2015, 02:34 PM   #10
Jeff-Royer
LQ Newbie
 
Registered: Jul 2015
Distribution: Zorin OS and FreeBSD
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
I use a similar site when ensuring I have opened the port I want to on my router:
https://www.grc.com/shieldsup
Thanks as well :-)
 
Old 07-31-2015, 07:45 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
"only from my local network for local users and not the outside world."
Some of the hackers are pretty smart. The way you secure a lan could be to remove access to outside. I used to create two lans in my house even to protect one from the other.

A good way may be to monitor or install a higher quality firewall than what may be on home routers. Sure ports play a huge stop in this but if you want to be more secure you could easily run a virtual machine firewall appliance inside your lan and have all traffic go between it. Otherwise step up to a dedicated firewall appliance to the wan side. See things like Untangle linux maybe.
 
  


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
How can i check the system running services? antlers Slackware 17 02-12-2023 07:47 AM
command to know how many services running on linux system ?? singhjc Linux - Newbie 2 08-18-2012 11:19 AM
module System Services can not be loaded. KDE3 running on Ubuntu 9.10 mikeboul Linux - Newbie 0 01-14-2010 10:28 PM
Running Nmap Tons of Fun Debian 4 05-12-2005 11:47 AM
Running Nmap Tons of Fun Linux - Software 1 05-11-2005 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:06 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