Skip to content

To check client connections on VyOS

To check client connections on VyOS, you can use several commands depending on what type of connections you’re looking for:

Active Network Connections

show conntrack table ipv4

This shows all tracked connections through the firewall.

VPN Connections

For IPsec VPN:

show vpn ipsec sa
show vpn ipsec state

For OpenVPN:

show openvpn status
show openvpn server status

For L2TP:

show vpn l2tp remote-access

DHCP Leases

To see clients that received IP addresses:

show dhcp server leases
show dhcp server statistics

Active Sessions

show conntrack statistics
show session

Network Statistics

show interfaces
show ip route
netstat -tulnp  # From operational mode

Real-time Monitoring

For live connection monitoring:

monitor conntrack-sync
monitor traffic interface <interface-name>

Which command you use depends on what you’re specifically looking for – VPN clients, DHCP clients, firewall connections, etc. The show conntrack table ipv4 command is often the most comprehensive for seeing active connections through your VyOS device.

Are you looking for a specific type of client connection?

Thanks for the correction! Let me give you the actual working commands for VyOS:

Active Connections

show conntrack table ipv4
show conntrack table ipv6

Connection Statistics

show conntrack statistics

Monitor Live Traffic

monitor traffic interface <interface-name>
# Example: monitor traffic interface eth0

See Listening Ports/Services

netstat -tulnp
ss -tulnp

DHCP Leases (if running DHCP server)

show dhcp server leases

VPN Connections

For IPsec:

show vpn ipsec sa

For OpenVPN:

show openvpn server
show openvpn status server

Active NAT Translations

show nat source translations
show nat destination translations

Interface Statistics

show interfaces
show interfaces detail

The show conntrack table ipv4 command is your main tool for seeing all active connections passing through the VyOS router – it shows source/destination IPs, ports, protocols, and connection states.

What specific information are you trying to find about your client connections?

Published inUncategorized

Be First to Comment

Leave a Reply