Centos 5.6 with firewall rules used

2011-10-08  来源:本站原创  分类:OS  人气:126 

1, see Firewall Information

/ Etc / init.d / iptables status

2, add the firewall to allow port

/ Sbin / iptables-i input-p tcp - dport 88-j accept

/ Etc / rc.d / init.d / iptables save # save the changes

/ Etc / init.d / iptables restart # restart the firewall for changes to take effect

3, turn off the firewall service

/ Etc / init.d / iptables stop

Permanently turn off the firewall
chkconfig-level 35 iptables off

  • Centos 5.6 with firewall rules used 2011-10-08

    1, see Firewall Information / Etc / init.d / iptables status 2, add the firewall to allow port / Sbin / iptables-i input-p tcp - dport 88-j accept / Etc / rc.d / init.d / iptables save # save the changes / Etc / init.d / iptables restart # restart th

  • linux iptables firewall rules port 2011-01-02

    Start Configuration We configure a filter list to the firewall . (1) View of the authority's setup IPTABLES [[email protected] ~]# iptables -L -n Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt sourc

  • (Turn) in the CentOS set iptables 2010-03-01

    1. Introduction CentOS built a very strong firewall, collectively referred to as iptables, but the more correct name is iptables / netfilter. iptables is a user-space module. As a user, you is through the command line, it will put the default firewal

  • In centos 5.3 install nginx0.7.67 + mysql5.1.49 + php5.2.14 2010-08-21

    Nginx ("engine x") is a high performance HTTP reverse proxy server, because of its high performance and reliability, more and more domestic websites have started using Nginx as a Web server. The following is the author most recently of the insta

  • [Zz] Howto disable the iptables firewall in Linux 2010-09-30

    Q. Quick question: I need to disable firewall in Linux for testing purpose. I'm using CentOS 4.4. How do I disable the firewall in Linux? A. A Linux firewall is software based firewall that provides protection between your server (workstation) and da

  • CentOS 5.5 Security Configuration 2011-01-18

    CentOS 5.5 Security Configuration First, the system security log file CentOS internal log file is a network intrusion detection is an important clue, if the system is directly connected to the Internet, found that many people do on the system Telnet

  • CentOS + Nginx + PHP + Mysql + Security Guide notes to build the whole environment 2011-04-01

    Reference: http://www.moqifei.com/archives/37 This is the first part, Major content: [User Management and User Security] [Automatically set the system time and synchronize the system time] [Close unneeded services] [System Update] [Build with OpenSSH

  • Set up under the CentOS 6.0 LAMP environment (source install) 2011-09-21

    Transfer http://auction1.taobao.com/auction/item_detail-0db2-c96f1f929a63eed04664eccbcc912d28.jhtml <p> <span> history two days, and finally to build on the good in centos 6.0 a complete LAMP development environment, and a lot of trouble, but

  • Linode VPS CentOS 5.5 安装 pptpVPN 2011-03-08

    一.前言 没有什么前言,就是简单介绍一下标题中提到的一些名词 1.Linode VPS:很有名的一家Linux专业VPS供应商,国内访问速度还不错.http://www.linode.com 2.CentOS:著名的Linux发行版.http://www.centos.org 3.pptp:与OpenVPN齐名的VPN服务器. 二.安装环境 我购买的是Linode 512MB内存的VPS,安装了CentOS 5.5 64bit. 三.注意事项 1.安装过程需要root权限 2.需要注意的地方加粗

  • Centos samba 使用 2011-08-12

    摘自:http://hi.baidu.com/websfx/blog/item/e6ed81ddb2507b305982dd83.html 在我们使用 Windows 作为客户机的时候,通常有文件.打印共享的需求.作为Windows 网络功能之一,通常可以在 Windows 客户机之间通过 Windows Network 固有的功能实现这些要求.然而,通过 Samba 我们也可以让一台 CentOS 主机来兼容 Windows 网络,实现同样的功能,进而充分发挥 CentOS 主机的可用性. 本

  • CentOS 5.5(5.x)设置网络.PPPOE.软件源 2011-10-24

    设置网络 1.设置IP 1.1) 修改IP地址1.9) 网络命令 修改对应网卡的IP地址的配置文件 vi /etc/sysconfig/network-scripts/ifcfg-eth0 修改以下内容 DEVICE=eth0 (描述网卡对应的设备别名,例如ifcfg-eth0的文件中它为eth0) BOOTPROTO=static (设置网卡获得ip地址的方式,可能的选项为static,dhcp或bootp,分别对应静态指定的ip地址,通过dhcp协议获得的ip地址,通过bootp协议获得的i

  • centos FTP服务器的架设和配置&iptables手册说明 2013-06-20

    http://blog.csdn.net/loftyscholar/article/details/7184829 http://www.frozentux.net/iptables-tutorial/cn/iptables-tutorial-cn-1.1.19.html#ACKNOWLEDGEMENTS 本文参考了网上的几篇博文,在CentOS上搭建FTP服务器,两种搭建方式:gssftp与vsftpd. RedHat和CentOS都自带了一个gssftp服务,使用方式如下: 1 进入gssf

  • 玩转Linux之- CentOS 6.5,tomcat无法远程访问 2014-09-25

    问题描述: CentOS 6.5安装完成 Tomcat 后,访问本地:http://localhost:8080/正确,但局域网内无法访问 . 原因: /etc/init.d/iptables status Table: filter Chain INPUT (policy ACCEPT) num target prot opt source destination 1 RH-Firewall-1-INPUT all -- Chain FORWARD (p

  • Ignoring the Great Firewall of China 2010-03-30

    http://www.lightbluetouchpaper.org/2006/06/27/ignoring-the-great-firewall-of-china/ http://bbs.isbase.net/viewthread.php?tid=23766 http://www.cl.cam.ac.uk/ ~ rnc1 / http://www.cl.cam.ac.uk/ ~ rnc1/ignoring.pdf http://www.williamlong.info/archives/195

  • centos install samba 2010-03-09

    Programming under linux server version in a lot of trouble. Or use the samba bar. Use yum install samba samba package the latest updates Easy access to install the Samba for UNIX / LINUX servers. 1. When installing centos open in the firewall documen

  • iptable rules and some simple examples 2010-04-07

    iptable rules and some brief examples of Set Rules iptables-p INPUT DROP iptables-p OUTPUT ACCEPT iptables-p FORWARD DROP 1, to prevent the external network using IP within the network of deception iptables-t nat-A PREROUTING-i eth0-s / 8-j

  • linux firewall turned on and off 2010-04-08

    The order to shut down the firewall Quote / Etc / init.d / iptalbes stop If the following error Quote Unloading iptables modules: [FAILED] rm: cannot remove `/ var / lock / subsys / iptables': Permission denied May be due to your permission, however,

  • openvz vps ubuntu install and configure the iptables firewall openvpn 2010-05-01

    Original link: http://www.netroby.com/article-1565.html The article wrote it myself, only in their own independent javaeye blog and blog. Welcome reproduced, thank acknowledgment. vpn can turn a jump movement skills. For bought openvz vps, would like

  • Firewall + traffic statistics Android code 2010-06-09

    Reprinted: http://blog.csdn.net/Zengyangtech/archive/2010/06/01/5638604.aspx BroadcastReceiver module Information for monitoring the boot and initialize and start the service package zy.dnh; import java.io.File; import java.io.FileOutputStream; impor

  • Open and close firewall linux 2010-06-12

    part.1 Take effect after reboot Open: chkconfig iptables on Close: chkconfig iptables off Immediate effect, after the failure restart Open: service iptables start Close: service iptables stop Or Close: / etc / rc.d / init.d / iptables stop Start: / e