LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem in Installing and opening the Ports (https://www.linuxquestions.org/questions/linux-networking-3/problem-in-installing-and-opening-the-ports-4175658864/)

sky test 08-09-2019 06:27 AM

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

scasey 08-10-2019 02:50 PM

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?

michaelk 08-10-2019 02:52 PM

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.

g1thub 08-11-2019 01:29 PM

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


All times are GMT -5. The time now is 06:26 PM.