> For the complete documentation index, see [llms.txt](https://book.redsquad.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.redsquad.xyz/linux-hacking/reverse-shells/ping-pong.md).

# Ping-Pong

## TcpDump

{% hint style="info" %}
Check **connectivity** between attacker and victim.
{% endhint %}

```bash
#Victim
ping 10.8.132.133
```

```bash
#Attacker
sudo tcpdump -i tun0 icmp
```

```bash
#Networks accessible via the VPN
#Checking Routing Table | Linux

netstat -rn
sudo netstat -rn

#Checking current connections
netstat -an
netstat -ano | findstr TCP | findstr ":0"
```
