I have an OpenVPN server and two clients,
I can ping clients from each other, but when I do so, I don't see any packets on the server using tcpdump
Server
is running on 192.168.0.1
and I try to capture traffic using tcpdump -i tun0 icmp --immediate-mode -l -n
Clients
is running on 192.168.0.2
and I can ping client2 ping 192.168.0.3
which resolves fine:
PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
64 bytes from 192.168.0.3: icmp_seq=1 ttl=128 time=32.4 ms
TCP Dump
but I can't see anything from tcpdump:
0 packets captured
0 packets received by filter
0 packets dropped by kernel
Although if I ping the openvpn server directly ping 192.168.0.1
, I can see packets being captured there:
18:05:04.022747 IP 192.168.0.2 > 192.168.0.1: ICMP echo request, id 5, seq 5, length 64
18:05:04.022801 IP 192.168.0.1 > 192.168.0.2: ICMP echo reply, id 5, seq 5, length 64
How can I capture inter-client communication packets on the server?