Open ports:
The code is as follows
Copy Code
[root@wx32 ~]# iptables-i input-p tcp--dport 80-j ACCEPT
Save configuration:
The code is as follows
Copy Code
[root@wx32 ~]# Service Iptables SaveSaving firewall rules to/etc/sysconfig/iptables: [OK]
Reboot the firewall:
The code
Open a specific port (iptables) to the CentOS Firewall)Iptables is the firewall and service name in linux.Service iptables status view Firewall status service iptables start Enable Firewall service iptables stop disable Firewall s
Linux iptable Firewall forbidden and open portsSource: http://hi.baidu.com/zplllm/item/f910cb26b621db57c38d5983Evaluation:1. Close all INPUT FORWARD OUTPUT only for certain ports.Here is the command implementation:Iptables-p INPUT DROPIptables-p FORWARD DROPIptables-p OUTPUT DROPThen use the command iptables-l-N to see if it's set up, good-looking to all DROPSuch a setup, we are only temporary, restart the
Vi/etc/sysconfig/iptablessuch as:-a input-m state–state new-m tcp-p tcp–dport 139-j ACCEPT (allow 139 ports through the firewall)-A input-m state–state new-m tcp-p tcp–dport 445-j ACCEPT (allow 445 ports through the firewall)Special note: Adding rules to the last line of the firewall configuration will cause the firewall
): Filter (filter, for native), Nat (address translation, for backend), mangle (for attackers, rarely used).Three chains (chain): Input,forward,output;prerouting,postrouting,output.Four operations (jump): Accept, Reject (REJECT), drop (drop), record (log).Several states (state): New, established (established), invalid (INVALID), correlation (related).Reference:1. Super Detailed introduction to Iptableshttp://blog.csdn.net/sdytlm/article/details/65449132. Linux
Iptables is a firewall under Linux and is also the service name.Service iptables Status View firewall stateService iptables start to turn on the firewallservice iptables Stop shutting down the firewallService iptables Restart Restart firewallfirewalls Open specific ports:① file/etc/sysconfig/iptables② Add:-A rh-firewall
1. View the ports on which the Iptables firewall is open:/etc/init.d/iptables status[[email protected] ~]#/etc/rc.d/init.d/iptables status or service iptables statusTable:filterChain INPUT (Policy ACCEPT)Num Target prot opt source destination1 ACCEPT TCP--0.0.0.0/0 0.0.0.0/0 TCP dpt:3306Chain FORWARD (Policy ACCEPT)Num Target prot opt
Robocopy is a powerful replication tool that can be found in Windows Server 2003 's Windows Resource Kit tools. In conjunction with the scheduled task, you can implement a timed copy of the SQL backup on one machine to another place on the network as a backup. This article discusses how to open some ports of the firewall to transfer files between an Internet server running Windows 2000 and an intranet serve
Iptables is a firewall under Linux and is also the service name. Service iptables Status View firewall stateService iptables start to turn on the firewallService iptables Stop shutting down the firewallService iptables Restart Restart firewallFirewalls Open specific ports:① file/etc/sysconfig/iptables② Add:-A rh-firewall
Introduction to Open-Source SIP Server OpenSIPS and open-source sipopensips
**************************************** **************************************** **************************************** ***Author: EasyWave time: 2014.09.14
Category: Linux application-open
System Environment: CentOS 6.5Add an entry under the firewall file, but note the location of the entry;[Email protected]debris ~]# vi/etc/sysconfig/iptables# Firewall configuration written by System-config-firewall# Manual Customization of this file are not recommended.*filter: INPUT ACCEPT [0:0]: FORWARD ACCEPT [0:0]: OUTPUT ACCEPT [0:0]-A input-m state--state
In many projects, NetScaler is generally placed in the DMZ, and NS is isolated from the backend infrastructure network, and the general bank and securities customers only open ports for VDI access, and here's the Citrix NetScaler ports that I previously organized in a project ...Firewall Open port:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6D/E8/w
VSFTPD under the RHEL6 platform http://www.linuxidc.com/Linux/2013-04/82300.htmLinux system VSFTPD Source Installation http://www.linuxidc.com/Linux/2013-03/81475.htmVSFTPD Security Configuration Case Study http://www.linuxidc.com/Linux/2012-12/76501.htm--------------------------------------Split Line--------------------------------------1. Installing the VSFTPD SoftwareYum Install Vsftpd-y2. Turn on anonymous access and passive mode portsVim/etc/vsf
The server successfully listens to a port (such as 5500), but the outside connection does not come in, telnet its port is not through, the solution is as follows (under the root user):$/sbin/iptables-i input-p tcp--dport 5500-j ACCEPT #开启89端口$/etc/rc.d/init.d/iptables Save #保存配置$/etc/rc.d/init.d/iptables Restart #重启服务See if the port is open$/etc/init.d/iptables StatusTable: FilterChain INPUT (Policy ACCEPT)Num Target prot opt
I have been busy working for a long time and have no time to upload the source code. It's so difficult to write it today. It's just a rough framework. I hope you can exchange ideas with each other, currently, the main problem is that the memory usage is too large and vs2008 is required to open it. You can use C ++ to write it. The file structure is described below:
Form1 is the main window. You should ha
Daemon Engine (http://sourceforge.net/projects/wfde/):A generic C + + class library for FTP server implementations, including a full-featured, mature FTP server.
Axcrypt-file encryption for Windows (http://sourceforge.net/projects/axcrypt/):Axcrypt-personal Privacy and Security with AES-128 File encryption and Compression for Windows 98/me/nt/2k/xp. Double-click to automatically decrypt and open documents. Store strong keys on removable usb-devices
network traffic or to evaluate current utilization of the network interface.
War FTP daemon engine (http://sourceforge.net/projects/wfde ):A generic C ++ class library for FTP Server implementations, including a full-featured, mature FTP server.
Axcrypt-file encryption for Windows (http://sourceforge.net/projects/axcrypt ):Axcrypt-personal privacy and security with AES-128 file encryption and compression for Windows 98/ME/NT/2 k/XP. double-click to automatically decrypt and
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.