LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-09-2019, 06:27 AM   #1
sky test
LQ Newbie
 
Registered: Aug 2019
Posts: 1

Rep: Reputation: Disabled
Problem in Installing and opening the Ports


Hi team,
I just want to open the maximum number of ports (More than 100 ports) on a Linux VM. I'm trying to install each service and getting an error.
Can you please tell me the location of shell scripts to install the service and open the ports on my machine.
Below are some ports I'm targeting. I want to do this for an experimental security testing project on the local machine. So, I don't mind any script given by you in running in my machine.
HTTP
telnet
https
FTP
ssh
SMTP
ms-wbt-server
pop3
microsoft-ds
netbios-ssn
imap
domain
msrpc
mysql
http-proxy
pptp
rpcbind
pop3s
imaps
vnc
NFS-or-IIS
submission
sun-answerbook
smux
h323q931
smtps
afp
ident
hosts2-ns
X11:1
snet-sensor-mgmt
shell
sip
bgp
LSA-or-nterm
cisco-sccp
https-alt
http-alt
filenet-tms
rtsp
rsftp
ms-sql-s
unknown
dc
printer
http
unknown
IIS
nrpe
ldp
upnp
pcanywheredata
ipp
unknown
blackice-icecap
nfs
kerberos-sec
finger
vnc-http
pop3pw
ccproxy-ftp
nfsd-status
unknown
X11
login
ftps
wsdapi
svrloc
unknown
klogin
kshell
admdog
news
echo
ldap
ajp13
squid-http
snpp
abyss
airport-admin
realserver
aol
ppp
postgresql
upnp
mapper-ws_ethd
daytime
ms-lsa
discard
ida-agent
unknown
unknown
unknown
rsync
wms
pn-requester
radmin
jetdirect
nntp
time
UDP
 
Old 08-10-2019, 02:50 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Have you considered just turning off the firewall?

Absent any specifics about Linux distribution and version, it's pretty much impossible to provide any specific answers.
Also "getting an error" tells us nothing about the problems you're experiencing.

Please see the "How_To_Ask_a_Question" link in my signature.

...or is this a homework assignment?

Last edited by scasey; 08-10-2019 at 02:58 PM.
 
Old 08-10-2019, 02:52 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Welcome to LinuxQuestions.

We are not your team...

Unfortunately the name associated with a port number does not always reflect the service or application that uses it. For example HTTP is the first on your list which is port 80 and associated with a web server. Some of the more common web servers are Apache, Apache Tomcat, nginx and lightppd. microsoft-ds and netbios-ssn are part of the CIFS protocol i.e Microsoft file and printer sharing of which the linux service name is called samba.

The install script is typically the package manager and which one depends on what distribution you are using. Many distributions during the install process offer a selection of program/packages and selecting everything would automatically cover many on your list. You would still need to determine which program goes with each port and some might need to configured before they will start.

Last edited by michaelk; 08-10-2019 at 03:00 PM.
 
Old 08-11-2019, 01:29 PM   #4
g1thub
LQ Newbie
 
Registered: Aug 2019
Posts: 3

Rep: Reputation: Disabled
it seems to be a huge workaround, either dl apt install ufw and enable input while running services or download metaspoilable vm server which i guess allready delievers alot of open ports to be able 4 testing reasons
 
  


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
Problem opening ports - ports appear open, but do not work. computer_freak_8 Linux - Software 10 09-20-2008 09:39 PM
ports, ports, ports cjae Linux - Networking 1 04-09-2006 09:38 AM
opening certain ports in IPtables and mandrake durden2.0 Linux - Networking 1 09-24-2003 03:57 AM
closing all and opening specific ports nakkaya Linux - General 2 02-08-2003 11:03 AM
FTP Server..... opening of ports and all that Daniel Linux - Networking 2 12-12-2002 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:35 PM.

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