Which Ports Does IPSec Use?
IPSec使用的是哪些端口？
More often than not, IPSec VPN ports are usually open in the firewall. If it is not, you can make it work by opening UDP port 500. This allows ISAKEP traffic to get forwarded through your firewalls. It also permits IP protocol IDs 50 to allow ESP traffic and 51 to allow AH traffic. The traffic is forwarded on firewall filters – both inbound and unbound.
通常情况下，IPSec VPN端口通常在防火墙中打开。如果不是，可以通过打开UDP端口500使其工作。这允许ISAKEP流量通过防火墙转发。它还允许IP协议ID50允许ESP通信，51允许AH通信。流量在防火墙过滤器（入站和未绑定）上转发。