Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.