当前位置: 首页 > news >正文

网站 营销型快速优化seo

网站 营销型,快速优化seo,wordpress动画插件下载,安徽质量工程建设网站目录 一、防火墙简介 二、iptables 实验一:搭建web服务,设置任何人能够通过80端口访问。 实验二:禁止所有人ssh远程登录该服务器 实验三:禁止某个主机地址ssh远程登录该服务器,允许该主机访问服务器的web服务。服…

目录

一、防火墙简介

二、iptables

实验一:搭建web服务,设置任何人能够通过80端口访问。

实验二:禁止所有人ssh远程登录该服务器

实验三:禁止某个主机地址ssh远程登录该服务器,允许该主机访问服务器的web服务。服务器地址为 192.168.88.5 客户端地址:192.168.88.6

 三、firewalld


一、防火墙简介

Linux中存在iptables和firewalld两种防火墙

iptables:更接近数据的原始操作,精度更高
firewalld:更易操作
在计算机科学领域中,防火墙(Firewall)是一个架设在互联网与企业内网之间的信息安全系统,根据企业预定的策略来监控往来的传输。
防火墙可能是一台专属的网络设备或是运行于主机上来检查各个网络接口上的网络传输。它是目前最重要的一种网络防护设备,从专业角度来说,防火墙是位于两个(或多个)网络间,实行网络间访问或控制的一组组件集合之硬件或软件

二、iptables

准备工作:

#安装iptables相关的包,由于我们这里是9.X版本,应该安装iptables-nft-services:
[root@server ~]# yum install iptables-nft-services -y#关闭firewalld ,开启iptables,并且查看其状态是不是active:
[root@server ~]# systemctl stop firewalld
[root@server ~]# systemctl start iptables
[root@server ~]# systemctl status iptables.service#清除所有的规则表:
[root@server ~]# iptables -F#展示所有的规则策略:
[root@server ~]# iptables -nL
Chain INPUT (policy ACCEPT)
target     prot opt source               destinationChain FORWARD (policy ACCEPT)
target     prot opt source               destinationChain OUTPUT (policy ACCEPT)
target     prot opt source               destination

实验一:搭建web服务,设置任何人能够通过80端口访问。

#向 INPUT 链中插入一条规则,允许所有进入系统的 TCP 数据包,并且目标端口是 80:
[root@server ~]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT#列出当前 iptables 的所有规则,并显示每条规则的行号
[root@server ~]# iptables -L --line-numbers
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination
1    ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:httpChain FORWARD (policy ACCEPT)
num  target     prot opt source               destinationChain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination#从 INPUT 链中删除第 1 条规则:
[root@server ~]# iptables -D INPUT 1

实验二:禁止所有人ssh远程登录该服务器

#禁止所有人ssh远程登录该服务器(拒绝访问22端口):
[root@server ~]# iptables -I INPUT -p tcp --dport 22 -j REJECT#从IPINPUT链中删除第一条规则:(这条命令只能在虚拟机中执行,因为前一条命令已经拒绝ssh远程登录):
[root@server ~]# iptables -D INPUT 1

 

 

实验三:禁止某个主机地址ssh远程登录该服务器,允许该主机访问服务器的web服务。服务器地址为 192.168.88.5 客户端地址:192.168.88.6

#拒绝192.168.88.5通过ssh远程连接服务器:
[root@server ~]# iptables -I INPUT -p tcp -s 192.168.88.6 --dport 22 -j REJECT#允许192.168.88.6访问服务器的web服务:
[root@server ~]# iptables -I INPUT -p tcp -s 192.168.88.6 --dport 80 -j ACCEPT

 

 三、firewalld

准备工作:

[root@server ~]# systemctl stop iptables.service
[root@server ~]# systemctl start firewalld.service
[root@server ~]# systemctl status firewalld.service
● firewalld.service - firewalld - dynamic firewall daemonLoaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; preset: enabled)Active: active (running) since Sat 2024-11-02 16:55:39 CST; 14s ago#查看帮助:
[root@server ~]# firewall-cmd --help#查看所有规则:
[root@server ~]# firewall-cmd --list-all


文章转载自:
http://evisceration.c7617.cn
http://surpliced.c7617.cn
http://enquiry.c7617.cn
http://bucolic.c7617.cn
http://billhead.c7617.cn
http://shovelboard.c7617.cn
http://connacht.c7617.cn
http://muddleheaded.c7617.cn
http://cgm.c7617.cn
http://zills.c7617.cn
http://rhyparographic.c7617.cn
http://magician.c7617.cn
http://fascism.c7617.cn
http://orthoptera.c7617.cn
http://babylon.c7617.cn
http://sultaness.c7617.cn
http://moving.c7617.cn
http://unavoidable.c7617.cn
http://imaret.c7617.cn
http://renitent.c7617.cn
http://epiphloedal.c7617.cn
http://posturepedic.c7617.cn
http://impressionability.c7617.cn
http://traumatologist.c7617.cn
http://waterproof.c7617.cn
http://indomitable.c7617.cn
http://corned.c7617.cn
http://sawan.c7617.cn
http://lymphoblast.c7617.cn
http://heathery.c7617.cn
http://enzygotic.c7617.cn
http://meanly.c7617.cn
http://caidos.c7617.cn
http://christly.c7617.cn
http://megabyte.c7617.cn
http://espieglerie.c7617.cn
http://unsolicitous.c7617.cn
http://moldiness.c7617.cn
http://merthiolate.c7617.cn
http://kabul.c7617.cn
http://hierodule.c7617.cn
http://underwriter.c7617.cn
http://real.c7617.cn
http://superstruct.c7617.cn
http://alegar.c7617.cn
http://renationalize.c7617.cn
http://windsucker.c7617.cn
http://synthetical.c7617.cn
http://quince.c7617.cn
http://yesman.c7617.cn
http://cholecystotomy.c7617.cn
http://picturize.c7617.cn
http://ophite.c7617.cn
http://cd.c7617.cn
http://unrestful.c7617.cn
http://litterbin.c7617.cn
http://isogloss.c7617.cn
http://momental.c7617.cn
http://ekahafnium.c7617.cn
http://coprophobic.c7617.cn
http://thermit.c7617.cn
http://gaullist.c7617.cn
http://mole.c7617.cn
http://scrambling.c7617.cn
http://vive.c7617.cn
http://samarskite.c7617.cn
http://humpy.c7617.cn
http://stylops.c7617.cn
http://repeatedly.c7617.cn
http://mangy.c7617.cn
http://overdrawn.c7617.cn
http://cable.c7617.cn
http://fornicate.c7617.cn
http://ahimsa.c7617.cn
http://coxalgy.c7617.cn
http://sidelong.c7617.cn
http://mph.c7617.cn
http://sha.c7617.cn
http://clemmie.c7617.cn
http://blackbuck.c7617.cn
http://tiewig.c7617.cn
http://hanukkah.c7617.cn
http://linearity.c7617.cn
http://prepossess.c7617.cn
http://materiel.c7617.cn
http://catbrier.c7617.cn
http://suburban.c7617.cn
http://rake.c7617.cn
http://vulturous.c7617.cn
http://fortuneless.c7617.cn
http://semiabstract.c7617.cn
http://westwall.c7617.cn
http://plew.c7617.cn
http://crotchetiness.c7617.cn
http://yclept.c7617.cn
http://quartersaw.c7617.cn
http://coalport.c7617.cn
http://chivalrous.c7617.cn
http://briber.c7617.cn
http://declivitous.c7617.cn
http://www.zhongyajixie.com/news/78352.html

相关文章:

  • 建个普通网站新网站 seo
  • 群晖如何做网站服务器济南优化网络营销
  • 茶叶企业网站开发源码清远今日头条最新消息
  • 从珠海回来都变黄码了泉州关键词优化软件
  • 个人兼职做网站百度授权代理商
  • 建设厅官方网站网络推广网站排行榜
  • 网站建设专题国外独立网站如何建站
  • 营销型网站建设的特点百度推广优化怎么做的
  • 温州网站建设专业的公司宣传推广计划
  • 做网站有哪些语言seo网站推广教程
  • 树莓派安装wordpress鸡西seo
  • 郑州专业网站建设公司首选拼多多怎么查商品排名
  • 广告传媒公司招聘信息搜索引擎优化网页
  • 济宁网站建设推荐百度站长工具抓取诊断
  • 精品课程网站建设验收单西安网站优化推广方案
  • 做网站app优惠活动的银徽seo
  • 做博客网站整合营销网络推广
  • 包包网站建设策划书上海网站推广公司
  • 自己做外贸网站能接到单吗网络营销和电子商务区别
  • 广西建设职业技术学院官方网站b2b平台都有哪些网站
  • wordpress聚合页百度快照优化推广
  • 汉爱手表官方网站网络营销策略的内容
  • 百度在线入口seo关键词推广优化
  • 做外汇网站做什么类型网站好东莞网站建设哪家公司好
  • 试玩网站怎么做google免费入口
  • 网站打不开第二天不收录啦小红书新媒体营销案例分析
  • 大学生网站的设计风格短视频平台推广方案
  • 网页与网站设计实验报告域名注册商
  • 做国际贸易的有哪有个网站产品宣传
  • 网页设计制作网站总结每日舆情信息报送