To enable Oracle clients to connect properly to an Oracle server with a firewall, it is not enough to open a 1521 or custom listening port alone.
The server installed Windows2003, and opened the system from the firewall, found in the connection on the firewall opened on the listening port 1521 still unable to connect,
Iptables is a firewall under Linux and is also the service name. Service iptables Status View firewall status service iptables start Firewall service iptables stop shutdown firewall ser Vice iptables restart reboot firewall firewall
Vi/etc/sysconfig/iptables-A input-m state–state new-m tcp-p tcp–dport 80-j ACCEPT (allow 80 ports through the firewall)-A input-m state–state new-m tcp-p tcp–dport 3306-j ACCEPT (Allow 3306 ports through the firewall)Special Tips:Many netizens add these two rules to the last line of the
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
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
Turn ON/offsudo ufw allow|deny [service]Open or close a port, for example:sudo UFW allow SMTP allows all external IPs to access native 25/TCP (SMTP) portssudo ufw allow 22/tcp allows all external IPs to access the native 22/tcp (SSH) port This is important, ssh telnet is used for SECURECRT and other software suggestions to open. Or do not open the firewall.sudo U
Today friend asked a question, the firewall has set 21 port open, but the firewall opens, the FTP server is not connected. Using serv-u FTP Server software.
I remember having encountered the same problem before, and then checking the data, finally turned over to the solution and shared the solution as follows:
Set the allowed passive mode of the site that is al
After CentOS is installed, only port 22 is enabled by default. if you want to open other ports, you need to open the required ports. For example, open the default port 80 for http edit iptablesvi/etc/sysconfig/iptables add-ARH-Firewall
What firewall port does vsftp virtual user settings need to open? -- Linux general technology-Linux technology and application information. For details, refer to the following section. [I = s] This post was last edited by szfhx
When I use vsftp as a virtual user, the user cannot log on to the firewall. If the firewall
firewall on and off (effective immediately, fail after reboot): $ sudo service iptables start #开启 $ sudo service iptables stop #关闭 firewall on and off (takes effect after reboot): $ sudo chkconfig iptables on$ sudo chkconfig iptables off To open the relevant port : Modify the/etc/sysconfig/iptables file to add the following: -A input-p tcp-m state--state new-m
Introduction of a MySQL and PostgreSQL database firewall--greensql
Greensql is an open source database firewall that protects the database against SQL injection attacks. The Greensql project acts as an agent for SQL commands and supports built-in support for MySQL and PostgreSQL. This logic is based on the risk evaluation score matrix for the SQL command used an
For the safety of the computer, we will open the firewall so that others can not access, but sometimes we will be open to specific ports, can let others normal access, then how to open the firewall, today small set to share with y
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.