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.
1 answers
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
Hot tools Tags
Hot Questions
Popular tool
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 phpstudy integrated installation environment runtime library
PHP programmer toolbox full version
Programmer Toolbox v1.0 PHP Integrated Environment
VC11 32-bit
VC11 32-bit phpstudy integrated installation environment runtime library
SublimeText3 Chinese version
Chinese version, very easy to use
Hot Topics
20416
7
13574
4






