Port
Agreement
Application protocols
System service Name
N/A
Gre
GRE (IP protocol 47)
Routing and Remote Access
N/A
Esp
IPsec ESP (IP protocol 50)
Routing and Remote Access
N/A
In this article, I'll introduce you to the communication ports used by various Exchange servers (ExchangeServer) components of Microsoft's development, so that you know which ports can be shut down and which ones must remain open for better security.
In this article, I'll introduce you to the communication ports used by various Exchange servers (ExchangeServer) components of Microsoft's development, so that you know which ports can be shut down and which ones must remain open for better security.
This article describes 25 common iptables usages. If you do not know iptables, you can refer to the previous iptables detailed tutorial: Basics, architecture, purge rules, append rules, application examples, after reading this article, you can
This article will introduce 25 most commonly used iptables policies to you. I hope these methods will be helpful to your friends' server security.
1. Clear existing policiesWhen you create a new policy, you may want to clear all default policies and
1, empty the existing strategyWhen you start creating a new strategy, you may want to clear all the default policies, and the existing policies, you can do this:
The code is as follows
Copy Code
Iptables-f or
1 #coding = Utf-82 3 " "4 python 3.45 a simple TCP port connection is given to determine whether the specified IP is open for the specified port. 6 " "7 8 ImportSocket9 ImportOptparseTen ImportRe One ImportThreading A ImportSYS - - defAnlyze_host
The code is as follows
Copy Code
#!/bin/sh#------------------------------------------------------------------------------# for debugging use Iptables-v.Iptables= "/sbin/iptables"Ip6tables= "/sbin/ip6tables"Modprobe=
1. Clear the existing policyWhen you start to create a new policy, you may want to clear all the default policies, and the existing policies can do so:Iptables-f or Iptables--flush2, set the default policyThe default chain policy is accept, changing
We recommend a good iptables-shell script to free you from the troublesome iptables configuration. I am not sure who the script author is, so I deleted the version declaration. system: centos5.9 script content: viiptables. sh #! /Bin/sh # -----------
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.