search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

1 answers
Q&A How to open a specified port in iptables in Linux
How to open a specified port in iptables in Linux
想无 2021-12-24 10:28:10 Views 1470

0

I am using CentOS6.8 Xiaoniao Cloud Server. Because the ssh remote connection port has been modified, port number 22 has been changed to port number 33. I would like to know how to release the new port on iptables.

Your Answer
submit

1 answers
0

Check the status: iptables -L -n Add the method of opening specific ports below: use iptables to open the following ports /sbin/iptables -I INPUT -p tcp --dport 8000 -j ACCEPT to save /etc/rc.d/ init.d/iptables save restart service service iptables restart to check whether the port that needs to be opened takes effect? /etc/init.d/iptables status For more information, please refer to: https://www.niaoyun.com/docs/15895.html/?utm_source=phpl-1227

2021-12-24 18:27:14

submit

Popular tool

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use