linux iptables 脚本,在线生成iptables脚本的网站

在线生成iptables脚本的网站

在线生成firewall脚本(iptables)――向导模式

Bifrost - GUI firewall management interface to iptables

http://bifrost.heimdalls.com

LinWiz - Linux configuration file and 脚本ing Wizards

http://www.lowth.com/LinWiz/

GIPTables Firewall - IPTABLES Rules Generator

http://www.giptables.org/

Easy Firewall Generator for IPTables(在线生成复杂的防火墙脚本*****)

http://morizot.net/firewall/gen/

PFG for IPTables 在线生成简单的防火墙脚本***

http://www.thegate.nu/pfg/

Firewall Builder - GUI Firewall Frontend(功能强大的防火墙构建工具*****)

http://www.fwbuilder.org/index.html

______________________________________________________

Dnsmasq - caching DNS forwarder

http://thekelleys.org.uk/dnsmasq/doc.html

FireHOL, the iptables stateful packet filtering firewall builder

http://firehol.sourceforge.net/

BullDog - A comprehensive and progressive firewall

http://tanaya.net/BullDog/

WallFire: wflogs - firewall log analysis tool

http://www.wallfire.org/wflogs/

Ulog-php - a php analyser for netfilter U-log

http://home.regit.org/ulogd-php.html

Firewall Tester

http://ftester.sourceforge.net/

YAFT\'s Another Firewall Tool

http://sourceforge.net/projects/yaft

Turtle Firewall Project

http://turtlefirewall.sourceforge.net/

TuxFrw - Firewall Automation Tool

http://tuxfrw.sourceforge.net/index.html

Shoreline Firewall

http://www.shorewall.net/

______________________________________

perl firewall在线生成

levy - Perl Firewall Generater

http://muse.linuxmafia.org/levy/

____________________________________

gSshield - BASH Shell Script Configurator

http://muse.linuxmafia.org/gshield.html

_________________________________

流量分析

Mason - Builds from system traffic

http://www.stearns.org/mason/

________________________________________

firewall log分析软件

adcfw-log - firewall logs analyzer/summarizer

http://adcfw-log.sourceforge.net/

IPTables log analyzer

http://www.gege.org/iptables/

_______________________

IPMENU - Curses Firewall Frontend

http://users.pandora.be/stes/ipmenu.html

________________________________

Firelogd - Firewall Log Daemon

http://www.speakeasy.org/~roux/dmn/

firewall log分析软件主页(fireparse)

Fireparse - Firewall Log Parser

http://aaron.marasco.com/linux.html

__________________________________________

SAINT - Assess the Security of Computer Networks

http://www.saintcorporation.com/saint/

saint在linux著名的扫描软件下面那个是下载地址

SATAN - Port Scanner with a Web Interface

http://www.ibiblio.org/pub/packages...atan-for-Linux/

_____________________________________

Abacus - Intrusion Prevention System

http://www.psionic.com/abacus/

Firewall Generator(在线生成简单的防火墙脚本***)

http://www.citadec.com/FirewallGenerator.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
下面是一个简单的iptables脚本,可以阻止所有入站流量,允许所有出站流量: ``` #!/bin/bash # 清空所有规则 iptables -F # 设置默认策略 iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT # 允许回环接口(localhost) iptables -A INPUT -i lo -j ACCEPT iptables -A OUTPUT -o lo -j ACCEPT # 允许已经建立的连接 iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT # 允许ssh连接 iptables -A INPUT -p tcp --dport 22 -j ACCEPT # 允许ping iptables -A INPUT -p icmp --icmp-type echo-request -j ACCEPT # 允许HTTP和HTTPS连接 iptables -A INPUT -p tcp --dport 80 -j ACCEPT iptables -A INPUT -p tcp --dport 443 -j ACCEPT # 防止DOS攻击 iptables -A INPUT -p tcp --dport 80 -m limit --limit 25/minute --limit-burst 100 -j ACCEPT # 允许DNS查询 iptables -A INPUT -p udp --dport 53 -j ACCEPT iptables -A INPUT -p tcp --dport 53 -j ACCEPT # 允许NTP时间同步 iptables -A INPUT -p udp --dport 123 -j ACCEPT # 允许SMTP邮件 iptables -A INPUT -p tcp --dport 25 -j ACCEPT # 允许POP3邮件 iptables -A INPUT -p tcp --dport 110 -j ACCEPT # 允许IMAP邮件 iptables -A INPUT -p tcp --dport 143 -j ACCEPT # 允许FTP连接 iptables -A INPUT -p tcp --dport 20:21 -j ACCEPT # 允许MySQL连接 iptables -A INPUT -p tcp --dport 3306 -j ACCEPT # 允许SSH连接 iptables -A INPUT -p tcp --dport 22 -j ACCEPT # 允许Git连接 iptables -A INPUT -p tcp --dport 9418 -j ACCEPT # 允许SVN连接 iptables -A INPUT -p tcp --dport 3690 -j ACCEPT # 允许Redis连接 iptables -A INPUT -p tcp --dport 6379 -j ACCEPT # 允许Memcached连接 iptables -A INPUT -p tcp --dport 11211 -j ACCEPT # 允许MongoDB连接 iptables -A INPUT -p tcp --dport 27017 -j ACCEPT # 允许Elasticsearch连接 iptables -A INPUT -p tcp --dport 9200 -j ACCEPT iptables -A INPUT -p tcp --dport 9300 -j ACCEPT # 允许Zookeeper连接 iptables -A INPUT -p tcp --dport 2181 -j ACCEPT # 允许Kafka连接 iptables -A INPUT -p tcp --dport 9092 -j ACCEPT # 允许Kibana连接 iptables -A INPUT -p tcp --dport 5601 -j ACCEPT # 允许RabbitMQ连接 iptables -A INPUT -p tcp --dport 5672 -j ACCEPT # 允许Zabbix连接 iptables -A INPUT -p tcp --dport 10050 -j ACCEPT # 允许Prometheus连接 iptables -A INPUT -p tcp --dport 9090 -j ACCEPT # 允许Grafana连接 iptables -A INPUT -p tcp --dport 3000 -j ACCEPT # 允许Jenkins连接 iptables -A INPUT -p tcp --dport 8080 -j ACCEPT # 允许Docker连接 iptables -A INPUT -p tcp --dport 2375 -j ACCEPT iptables -A INPUT -p tcp --dport 2376 -j ACCEPT # 保存规则 iptables-save > /etc/sysconfig/iptables ``` 这个脚本假定你的系统默认是没有任何防火墙规则的。如果你已经有一些防火墙规则,那么需要根据实际情况进行修改。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值