‘壹’ linux阒茬伀澧欓厤缃
linux閰岖疆阒茬伀澧欐诲叡闇瑕4姝ユ搷浣滐纴链瑙嗛戦氲繃centos7绯荤粺𨱒ユ搷浣滐纴鍏蜂綋镄勬搷浣沧柟娉曞备笅锛
1
镓揿紑缂栬緫鏂囦欢
棣栧厛鍦↙inux绯荤粺涓镆ユ垒骞舵墦寮缂栬緫閰岖疆阒茬伀澧欑殑鏂囦欢銆 2
娣诲姞璇鍙
鍦ㄦ墦寮镄勬枃浠朵腑娣诲姞璇鍙ワ纴璇鍙ヤ竴瀹氲佸湪icmp-host-prohibited涔嫔墠銆 3
閲嶅惎阒茬伀澧
閲嶅惎阒茬伀澧欙纴浣块厤缃鐢熸晥锛屽叆锻戒护銆 4
镆ョ湅阒茬伀澧
镆ョ湅阒茬伀澧欐槸钖︾敓鏁堬纴杈揿叆锻戒护锛歩ptables -L -n銆 end 1 2 3 4
澹版槑锛氭湰缃戦〉鍐呭规棬鍦ㄤ紶鎾鐭ヨ瘑锛岃嫢链変镜𨱒幂瓑闂棰樿峰强镞朵笌链缃戣仈绯伙纴鎴戜滑灏嗗湪绗涓镞堕棿鍒犻櫎澶勭悊銆