Batch add firewall exception ports in Windows
Copy codeThe Code is as follows: echo off
Cls
Set var = 30000
Set end = 30010
: Continue
Set/a var + = 1
Echo add port % var %
Netsh firewall add portopening TCP % var % ftp_data _ % var %
If % var % lss % end % goto continue
Echo complete
Pause
The following article highl
Add open ports to CentOS firewallAdd
firewall-cmd --zone=public --add-port=80/tcp --permanent
(-Permanent takes effect permanently. If this parameter is not set, it will become invalid after restart)Reload
firewall-cmd --reloadView
firewall-cmd --zone= public --query-port=80/tcpDelete
firewall-cmd --zone= public --remove-port=80/tcp --permanent1. Basic use of
Cisco switch in the VLAN how to add multiple ports at a time, this is usually used in the process of our configuration, because if one of the add port, the workload will be very large, so need to add multiple ports at once, the following by the small set of specific operatio
Iptables using multiport to add multiple discontinuous ports for disc dancing, 01:26, Linux technology, reviews (0), references (0), reading (12214), Via site original Big | c3> Use multiport to add multiple ports that are not connected and can add up to 15 groups. As foll
Usually ssh telnet to the default port is 22, this port is generally can be changed or added, the configuration file location in:/etc/ssh/sshd_config by editing the file can modify the SSHD service related configuration, the following new Port 2223, That is, in addition to 22 port can log on to the server outside 2223 can also log inExecute command vim/etc/ssh/sshd_config Edit configuration file You can see that the default port is 22 and comment, then remove the comment and
Original address: http://www.veryhuo.com/a/view/48280.htmlWhat are the inbound rules and outbound rules for firewallsTo put it simplyOutbound is where you visit the extranetInbound is the extranet to access youRemember writing a tutorial two years ago about how to add a port to a system firewall under Windows Server 2008 , and now add it. Because today has friends to consult the fire network small, his wind
This article summarizes the methods for adding default ports to apache in Linux and the methods for modifying the default ports of apache mysql and other services after the addition. If you need a solution, please refer
The Code is as follows:
Copy code
/Etc/sysconfig/iptables
Change
The Code is as follows:
Copy code
/Etc/httpd/conf/httpd. conf
F
Article Title: redhat5) add and force close ports on the firewall. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
# Cd/etc/sysconfig
# Ls
# Vi iptables (gedit iptables)
Add
-A RH-Firewall-1-INPUT-m state -- state NEW-m t
more detections we just added650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/A5/75/wKioL1m-KdXBTUPrAAKd8yUajkA937.png "title=" Picture 14.png "Width=" "height=" 387 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" WIDTH:700PX;HEIGHT:387PX; "alt=" Wkiol1m-kdxbtupraakd8yuajka937.png "/> A simple custom template has been completedThis article is from the "First Legehappy51cto blog" blog, be sure to keep this source http://legehappy.blog.51cto.com/13251607/1966054Zabbix using its own script
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.