本月博客排行
-
第1名
wy_19921005 -
第2名
mft8899 -
第3名
java-007 - Anmin
- benladeng5225
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
benladeng5225 - wy_19921005
- vipbooks
- kaizi1992
- 青否云后端云
- e_e
- tanling8334
- sam123456gz
- arpenker
- zysnba
- fantaxy025025
- xiangjie88
- wallimn
- lemonhandsome
- jh108020
- ganxueyun
- Xeden
- xyuma
- zhanjia
- wangchen.ily
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- ajinn
- xpenxpen
- 喧嚣求静
- kingwell.leng
- lchb139128
- kristy_yy
- jveqi
- javashop
- lzyfn123
- sunj
- yeluowuhen
- lerf
- silverend
- chenqisdfx
- xiaoxinye
- flashsing123
- bosschen
- lyndon.lin
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
最新文章列表
centos查看端口占用及开启防火墙端口
1.查看端口占用情况
#netstat -tunlp
2.开启防火墙端口
#/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
3.保存防火墙端口开启设置
#/etc/rc.d/init.d/iptables save
4.重启防火墙
#/etc/init.d/iptables restart
linux下IPTABLES配置详解
如果你的IPTABLES基础知识还不了解,建议先去看看.
开始配置
我们来配置一个filter表的防火墙.
(1)查看本机关于IPTABLES的设置情况
[root@tp ~]# iptables -L -nChain INPUT (policy ACCEPT)target prot opt source destination ...
iptables
#!/bin/bash # The outside interface, use ADSL EXTIF="eth0"
# the inside interfaceINIF="eth1"
# the inside network, This is for NAT's networkINNET="192.168.1.0/24"
...
iptables-rule
一、iptables:
删除现有规则iptables -F (OR) iptables --flush
清空 filter tableiptables -F -t filteriptables -X -t filteriptables -Z -t filter 清空 nat tableiptables -F -t natiptables -X -t natiptables -Z -t na ...
iptables管理单个ip以及ip段
#屏蔽单个IP的命令是
iptables -I INPUT -s 123.45.6.7 -j DROP
#封整个段即从123.0.0.1到123.255.255.254的命令
iptables -I INPUT -s 123.0.0.0/8 -j DROP
#封IP段即从123.45.0.1到123.45.255.254的命令
iptables -I INPUT -s 124.45.0.0/ ...
iptables 详细配置
如果你的IPTABLES基础知识还不了解,建议先去看看.
开始配置
我们来配置一个filter表的防火墙.
(1)查看本机关于IPTABLES的设置情况
[root@tp ~]# iptables -L -nC ...
jboss启动后其他地址无法访问
问题描述:jboss在服务器正常启动后,其他客户端无法正常访问,只能本地访问
原因是:jboss 端口的监听地址是本地,把address修改为下面的0.0.0.0即可
<Connector port="8080" address="${0.0.0.0}"
maxThreads="250" maxHttpH ...
Centos下配置iptables防火墙
服务器新增的系统是Centos6,这个版本默认已经安装了iptables。
iptables的基本操作:
service iptables startservice iptables stop
service iptables restartservice iptables status #如果没有启动,将提示没有启动,否则将会显示已经添加的过滤规则
service iptabl ...
iptables使用实践
1、现象:164的外网网卡坏了,内网网关正常
临时解决方案: 在165的虚拟网卡上绑定164的ip,通过165收发164的消息,通过内网进行消息转发
具体步骤:
165上配置:
iptables -t nat -A PREROUTING --dst remoteIP.164 -p tcp -m tcp --dport 29301 -j DNAT --to-destination locatIP: ...
linux iptables linux下IPTABLES配置详解
如果你的IPTABLES基础知识还不了解,建议先去看看.
开始配置
我们来配置一个filter表的防火墙.
(1)查看本机关于IPTABLES的设置情况
引用[root@tp ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
...