- Patch VPN gateways quickly: they are a top initial access target.
- Use certificates or MFA rather than shared secrets.
- Investigate unexpected tunnels and proxies: they are also attacker tools.
Port 2876: SPS Tunnel
Port 2876 is assigned by IANA to sps-tunnel (SPS Tunnel).
How sps-tunnel works
VPN, tunnels & proxiesTraffic is wrapped in a tunnel between the two ends, so the network in between only sees the tunnel.
- Transport
- TCP · UDP
- Exposure risk
- not rated depends on the program listening
- Encryption
- Unknownnot stated by the registry
- IANA status
- Assigned1 registered service
- Range
- Registered (1024-49151)
- Category
- VPN, tunnels & proxies
Is port 2876 dangerous?
We have no specific security note for port 2876. Its risk depends on the program actually listening on it. General advice for vpn, tunnels & proxies services:
IANA registry entries for port 2876
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| sps-tunnel | 2876 | TCP, UDP | SPS Tunnel | - | - |
// source: IANA service name and port number registry
Which program uses port 2876, and is it reachable?
Linux
sudo ss -ltnup 'sport = :2876' # process listening on 2876
sudo lsof -nP -i :2876macOS
sudo lsof -nP -i :2876
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 2876 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 2876 netstat -ano | findstr :2876
From another machine
nmap -p 2876 -sV <host> sudo nmap -sU -p 2876 <host> nc -zv <host> 2876
Block it in the firewall
sudo ufw deny 2876/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 2876" -Direction Inbound -LocalPort 2876 -Protocol TCP -Action Block # Windows
What is port 2876 used for?
Port 2876 is assigned by IANA to sps-tunnel (SPS Tunnel).
Is port 2876 TCP or UDP?
Port 2876 is registered for TCP and UDP.
Is it safe to open port 2876?
It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Patch VPN gateways quickly: they are a top initial access target.
How do I check if port 2876 is open?
On Linux run "ss -ltnup 'sport = :2876'", on macOS "lsof -nP -i :2876", and on Windows "netstat -ano | findstr :2876" to see the local process. From another machine, "nmap -p 2876 <host>" shows whether it is reachable.