CyberHunter
Local dataset, no network
// VPN, tunnels & proxies

Port 4754: GRE-in-UDP Encapsulation

Port 4754 is assigned by IANA to gre-in-udp (GRE-in-UDP Encapsulation).

4754

How gre-in-udp works

VPN, tunnels & proxies
yougatewaygre-in-udp yougatewaygre-in-udp

Traffic is wrapped in a tunnel between the two ends, so the network in between only sees the tunnel.

Transport
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)
01 Security

Is port 4754 dangerous?

We have no specific security note for port 4754. Its risk depends on the program actually listening on it. General advice for vpn, tunnels & proxies services:

  • 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.
02 Registry

IANA registry entries for port 4754

ServicePortTransportDescriptionReferenceUpdated
gre-in-udp 4754 UDP GRE-in-UDP Encapsulation RFC 8086 2016-10-05
-4754-Reserved--

// source: IANA service name and port number registry

03 Check it

Which program uses port 4754, and is it reachable?

Linux

sudo ss -ltnup 'sport = :4754'      # process listening on 4754
sudo lsof -nP -i :4754

macOS

sudo lsof -nP -i :4754

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 4754 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 4754
netstat -ano | findstr :4754

From another machine

nmap -p 4754 -sV <host>
sudo nmap -sU -p 4754 <host>
nc -zv <host> 4754

Block it in the firewall

sudo ufw deny 4754/udp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 4754" -Direction Inbound -LocalPort 4754 -Protocol UDP -Action Block  # Windows
04 FAQ
What is port 4754 used for?

Port 4754 is assigned by IANA to gre-in-udp (GRE-in-UDP Encapsulation).

Is port 4754 TCP or UDP?

Port 4754 is registered for UDP.

Is it safe to open port 4754?

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 4754 is open?

On Linux run "ss -ltnup 'sport = :4754'", on macOS "lsof -nP -i :4754", and on Windows "netstat -ano | findstr :4754" to see the local process. From another machine, "nmap -p 4754 <host>" shows whether it is reachable.

05 Related

Latest vulnerability news

All news