A proxy ID number is a network configuration value used to identify which traffic should pass through an IPsec VPN tunnel. It is not a person’s identification number or a universal number assigned to every proxy server. In site-to-site VPNs, “proxy ID” commonly refers to the local and remote network details—also called traffic selectors—that tell each VPN device which traffic to protect. Knowing how proxy IDs work can help explain tunnel failures and prevent traffic from being sent through the wrong connection.
What Is a Proxy ID Number?
In the context of an IPsec VPN, a proxy ID identifies the traffic that a VPN tunnel is meant to carry. It usually consists of a pair of network definitions: one for the local side of the tunnel and one for the remote side. These definitions may specify IP addresses or subnets, and sometimes a protocol or port.
For example, a company might configure a VPN between its office network, 10.20.0.0/16, and a partner’s network, 172.16.40.0/24. The local and remote values describe the traffic allowed through that VPN connection. The exact labels can vary by product: a device might call them proxy IDs, traffic selectors, encryption domains, or interesting traffic.
The term can be confusing because “proxy” also refers to a server that forwards requests between a user and the internet. A web proxy generally does not use a “proxy ID number” in this IPsec sense. The meaning depends on where the term appears—often in a firewall, router, VPN gateway, or tunnel configuration screen.
How Proxy IDs Work in an IPsec VPN
Before two VPN gateways can protect traffic with IPsec, they need compatible security settings. During tunnel negotiation, each side identifies the traffic it expects to send through the tunnel. These traffic definitions are compared so the devices can agree on which packets should be encrypted and accepted.
- Traffic is identified. A device checks whether a packet’s source and destination match the configured local and remote networks.
- The packet is selected for the tunnel. If it matches the VPN’s traffic rules, the gateway can encrypt it and send it to the peer.
- The receiving gateway checks the traffic. It decrypts the packet and verifies that it falls within the selectors agreed upon for the tunnel.
- Matching rules allow delivery. The receiving gateway forwards permitted traffic toward its destination network, subject to firewall rules and routing.
In many implementations, proxy IDs are associated with IPsec Phase 2 negotiation, where the gateways establish the security associations used to protect data. The exact negotiation details depend on the VPN version and vendor. For example, Internet Key Exchange version 2 (IKEv2) uses traffic selectors, while some interfaces continue to display the familiar term “proxy ID.”
What Information Does a Proxy ID Contain?
A proxy ID is often described as a local-and-remote pair, but a VPN may use several traffic attributes. Common fields include:
- Local subnet or address: The network or host on the side where the VPN configuration is being viewed.
- Remote subnet or address: The network or host behind the other VPN gateway.
- IP protocol: In some configurations, a selector can be limited to a protocol such as TCP, UDP, or all IP traffic.
- Port range: Some systems can narrow a selector to particular ports, although many site-to-site tunnels use broad network selectors and enforce service restrictions with firewall rules.
“Local” and “remote” are relative to the device displaying the settings. A network configured as local on one gateway is normally remote on the other. That reversal is expected; the important point is that both devices describe the same two networks and compatible traffic.
Example: A Site-to-Site VPN
Suppose a U.S. retailer connects its headquarters network to a payment provider’s data center. The retailer uses 192.168.50.0/24, and the provider uses 10.80.12.0/24. On the retailer’s gateway, the local selector may be 192.168.50.0/24 and the remote selector 10.80.12.0/24. On the provider’s gateway, those values appear in the opposite order.
If the retailer instead configures its remote network as 10.80.12.0/25, the two gateways may not agree. That smaller subnet includes only part of the provider’s /24 range. Depending on the equipment and negotiation settings, the tunnel may fail to establish, or it may come up while some traffic does not match the agreed selectors.
Why Proxy IDs Matter
Correct proxy IDs help VPN gateways determine which traffic should be encrypted and which traffic belongs outside the tunnel. They also support access boundaries: a tunnel can be limited to specified networks rather than treated as a path for all traffic. This is one part of a broader security design, not a substitute for authentication, encryption settings, firewall policies, or network access controls.
Proxy IDs are especially important when connecting equipment from different vendors. One vendor may require explicit selectors, while another may automatically derive them from routing or policy settings. A mismatch in subnet, mask, protocol, or port can prevent the devices from negotiating a compatible IPsec security association.
Common Proxy ID Problems and Troubleshooting
| Symptom | Possible cause | What to check |
|---|---|---|
| The VPN will not establish | Selectors do not match, or security settings differ | Compare local and remote networks, masks, protocols, ports, and the VPN’s Phase 2 settings on both gateways. |
| The tunnel is up, but applications fail | Traffic falls outside the selectors, or a route or firewall rule is missing | Check the packet’s source and destination, routing tables, firewall policies, and return path. |
| Only some hosts can communicate | A selector uses a narrower subnet than intended | Verify subnet masks and confirm that each required host belongs to the configured network. |
| Traffic takes an unexpected path | Overlapping networks, route preference, or NAT behavior | Review routing, address translation, and any VPN exemption rules with the network administrator. |
For a useful first check, compare the two sides’ configurations side by side. Confirm that each gateway’s local network matches the other gateway’s remote network, and vice versa. Then check logs for messages about traffic-selector or proxy-ID mismatches. Network teams should also verify whether the VPN uses policy-based or route-based configuration, because the role of selectors can differ between designs.
Changes should be coordinated with the owner of the other VPN endpoint. Updating one side alone can interrupt the tunnel or leave traffic selectors inconsistent. If a tunnel carries business-critical traffic, administrators should schedule changes appropriately and document the original settings before applying a fix.
Proxy ID Number vs. Public IP Address
A proxy ID is not the public IP address of a VPN gateway. The public IP address helps one gateway reach its peer across the internet; the proxy ID describes the internal traffic the tunnel is intended to protect. A gateway may also have private addresses, routes, firewall rules, and NAT policies, all of which serve different functions.
It is also not usually a unique numeric identifier, such as an account number. In everyday IT conversation, “proxy ID number” may be used loosely for the selector shown in a device’s configuration. The actual setting is more often an address, subnet, or set of traffic attributes than a single number.
Reliable References
For technical background, consult the Internet Engineering Task Force’s IPsec Architecture specification, RFC 4301, and RFC 7296, which defines IKEv2 and its traffic-selector negotiation. Product documentation from the VPN gateway manufacturer is essential for the specific meaning and configuration steps, since terminology and defaults differ across vendors.