大网数据广告活动
服务器运维问答

Huawei Secospace USG 2000 on a non Default Port

· 52CE 我爱测

I would like to know which is the default port of IPSec. I have tried to connect on all default ports, but I was unsuccessful. Also, I have applied NMap to them, but have no response.

问题原文

原帖链接 · Zamoth · CC BY-SA 3.0

I would like to know which is the default port of IPSec. I have tried to connect on all default ports, but I was unsuccessful. Also, I have applied NMap to them, but have no response.

已采纳解答

原帖链接 · MadHatter · CC BY-SA 3.0

Usually, ISAKMP key exchange takes place on UDP/500. IPSec in encapsulating-security-payload mode has its own protocol number (50) so the question of "ports" does not apply. IPSec in NAT-traversal mode often uses UDP/4500, but unless you're sure you're in NAT-T mode, this will not apply.

The first problem with port scanning, even for the ISAKMP subsystem, is that it's not TCP, so you can't take advantage of the three-way handshake to confirm that it's listening before any protocol-related issues could possibly have arisen. Moreover, many IPSec appliances are configured to completely ignore requests that are not from peers to whom they are configured to talk, or traffic that isn't appropriate to the protocol. This is ostensibly for "security" reasons, but really it's a major PITA, and it may account for why your nmap scan reveals nothing.

In the case of some very twitchy Checkpoint firewalls I once had to peer with, as soon as an IPSec proposal was made which contained anything with which they were unhappy (in this case, one side wanted compression on, and the other did not) they went "dead in the water" - completely silent - instead of negotiating alternative connection parameters, despite the peers being well known to them. Had it not been for a very good checkpoint engineer at C&W, and her deft usage of high-level C&W executives to lean on Nokia, I don't think we would ever have found out why their Checkpoints kept going silent on us.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-10-18)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。