网关抓包记录

20181030 分析为什么联通4G、宽带访问不了 att 网站

首先登录网关
	ssh -p 22 [email protected]

1、参考文档

http://support.fortinet.com.cn/index.php?m=content&c=index&a=show&catid=27&id=168

2、按照源地址和目标地址抓取

假设我个人电脑 ip : 58.31.xxx.xxx
WEB 服务器ip:	221.xxx.xxx.xxx
** 以上地址不是真实地址,实际操作 copy 以下命令对应修改
	diag sniffer packet any 'src host 58.31.xxx.xxx and dst
	host 221.xxx.xxx.xxx' 1
返回结果如下图:

抓包记录图

3、按照端口抓取

diagnose sniffer packet any 'tcp and port 6199'

一般就以上命令用得到

还有内部抓包的是
	diag sniffer packet internal 'src host 192.168.0.111 and dst
	host 192.168.0.1' 1
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章