tips:port_mirror_commands
Differences
This shows you the differences between two versions of the page.
| tips:port_mirror_commands [2020/10/14 15:30] – created navaneeth | tips:port_mirror_commands [2020/10/14 15:47] (current) – navaneeth | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| We need both inbound and outbound traffic, so using the commands, | We need both inbound and outbound traffic, so using the commands, | ||
| < | < | ||
| - | “PREROUTING” is before routing decision happens | + | **“PREROUTING”** is before routing decision happens |
| < | < | ||
| - | “POSTROUTING” is after routing decision | + | **“POSTROUTING”** is after routing decision |
| + | |||
| + | ===== 2. Ping Windows using tcpdump | ||
| + | After the rules are applied, ping “Windows XP client” from “Ubuntu” using tcpdump | ||
| + | |||
| + | < | ||
| + | |||
| + | ===== 3. Viewing the iptables ===== | ||
| + | To view the iptables from command line, use the commands. | ||
| + | < | ||
| + | or | ||
| + | < | ||
| + | |||
| + | ===== 4. Removing the iptables ===== | ||
| + | To remove the rules for iptables, use the following commands. | ||
| + | < | ||
| + | < | ||
| + | |||
| + | |||
| + | |||
| + | |||
tips/port_mirror_commands.1602669602.txt.gz · Last modified: 2020/10/14 15:30 by navaneeth