Linux (10) ___ iptables firewall, linux ___ iptables
I. Functions of the firewall
Iii. Classification of firewalls
III. Basic iptables Syntax:
Table:
Filters are commonly used. nat is used for address ing conversion.
Configuration file:
/Etc/
Configure SNMP and centossnmp for CentOS
This article describes how to configure a simple SNMP Service in the CentOS environment Software Installation
Switch to the system administrator account
Install snmpCheck that the snmp agent is
Vsftpd installation and configuration virtual user, vsftpd installation and configuration virtual
Originally published in cu:
Reference:I. Environment
OS
CentOS6.7 x86_64
Network
Sever: 192.168.1.254
Client: 192.168.1.100Ii. installation and
Linux iptables firewall basic application tutorial, linuxiptables
Iptables is a common firewall software in Linux, the following describes how to install and clear iptables rules. iptables only supports the specified port. iptables shields basic
Common CentOS commands and common centos commandsSystem Command yum command
Yum makecache yum generation CacheYum list installed mysql * check whether the * package has been installedRpm-qa | grep mysql * check whether the mysql * package has
FastDFS installation and deployment, FastDFS installation and deployment
(1) download the dependent library libevent (no matter where it is extracted, it must be installed in the/usr directory; otherwise, FastDFS cannot be found)
Wget
Configure CentOS firewall and centos Firewall
Yesterday, I helped my friend configure the CentOS server. At the beginning, I shut down the firewall for convenience of testing. Then I needed to configure the firewall. I found several firewall rules
Case study of SQLyog client unable to connect to MySQL Server-- View the Client ip Address [root @ mysql ~] # W 22:20:43 up, 1 user, load average: 0.00, 0.01, 0.05 user tty from login @ idle jcpu pcpu WHATroot pts/1 192.168.1.7 22:23:15 3.00 s 0.07
Port ing/port forwarding in CentOS
= [Implementation goal] ==============================
[Server A] has two NICs, one connected to the Intranet and one connected to the Internet. [server B] only has one Intranet Nic;
Access Port 7890 of [server A]
Create and reload the iptables path for Centos iptables
1. In daily applications, you can customize the storage location of iptables.
[Root @ dxt-gzcm-band-2-ct ~] # Iptables-save>/etc/iptables. conf
Edit
[Root @ dxt-gzcm-band-2-ct ~] # Vi/
1. install the software package
Use the ISO image in the virtual machine to install the corresponding software package
Rpm-q iptables (check whether this service is installed)
Ii. Start the linux Firewall
Service Startup Script:/etc/rc.
# View the number of httpd ProcessesPs-ef | grep httpd | wc-l
# View the number of concurrent Apache requests and their TCP connection statusNetstat-n | awk '/^ tcp/{++ S [$ NF]} END {for (a in S) print a, S [a]}'------------------------------------
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 http port 80.Edit iptablesVi/etc/sysconfig/iptables
vi
Set up a VPN Server in CentOS
Note:
Server Operating System: CentOS 5.X 64-bit
Server IP Address: 192.168.21.128
Purpose: To install and configure pptp on the server and provide the vpn dialing service externally
Specific operations:
1. Download
Windows Remote Desktop Management CentOS 6.4
1. Install tigervncserver in CentOS System-> Administration-> Add/Remove Software Search for vnc and install tigervnc-server, libvncserver, and tigervnc 2. Configure vncservers. Assume that you have two
RedHat Enterprise Linux 6.4 configure Xmanager 4
RedHat Enterprise Linux 6.4 configure Xmanager 4
Perform the following operations as an administrator:
1. vi/etc/inittab
Id: 5: initdefault: // set the system runtime level to 5. If it is 5, no
Operating System: CentOS6.3
Linux can be controlled by using SSH remote connection, or the following command can be executed on the host for projection.
[root@localhost ~]# export DISPLAY=ipaddress:0[root@localhost ~]# xhost +
This command requires
1. Install the samba service in CentOS6.3Yum-y install smaba2. Edit the samba configuration fileVi/etc/samba/smb. conf
vi /etc/samba/smb.conf
1) Change the user group
Workgroup = WORKGROUP
workgroup = WORKGROUP
2) authorized IP addresses
Hostsallow
I recently read some network security things and think that the world of the network is far less simple than we think. Last year, I simply read some simple rules for using iptables. Of course, I am only familiar with iptables, the purpose of writing
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.