drmnsamoliu
New Around Here
I have an ASUS RT AC-66U Wi-Fi router with stock firmware which works in router mode with ppp connection to ISP.
Recently when I was trying to capture network traffics on the router with tcpdump, I realized that most outbound traffic can only be captured on eth0 and most inbound traffic can only be captured on eth1.
I also observe that the outbound traffic have the router's public IP address (X.X.195.197) as src and inbound traffic have the local IP address of the device (192.168.2.154) who initialize the connection.
Following are some images from Wireshark
This is capture from eth0, we can see that there are two Client Hello with seemingly no Server Hello response:
This is capture from eth1, which has the two corresponding Server Hello response with no Client Hello:
Using the mergecap utility, I can get the full picture of TLS handshake, just with messed up src and dst:
From the information I can collect, the router has vlan setup because of the ppp connection:
I'm not familiar with how ppp and vlan works in low level so I need some clue about how and why this inbound/outbound separation on two interfaces occurred or is needed.
Also, another weird behavior is that capture using tcpdump -i any won't be able to capture most outbound traffic that will show up on eth0 either.
Where can I start looking into to at least be able to capture a "normal" LAN IP <-> Internet IP like capturing in access point mode or on a PC?
Recently when I was trying to capture network traffics on the router with tcpdump, I realized that most outbound traffic can only be captured on eth0 and most inbound traffic can only be captured on eth1.
I also observe that the outbound traffic have the router's public IP address (X.X.195.197) as src and inbound traffic have the local IP address of the device (192.168.2.154) who initialize the connection.
Following are some images from Wireshark
This is capture from eth0, we can see that there are two Client Hello with seemingly no Server Hello response:
This is capture from eth1, which has the two corresponding Server Hello response with no Client Hello:
Using the mergecap utility, I can get the full picture of TLS handshake, just with messed up src and dst:
From the information I can collect, the router has vlan setup because of the ppp connection:
I'm not familiar with how ppp and vlan works in low level so I need some clue about how and why this inbound/outbound separation on two interfaces occurred or is needed.
Also, another weird behavior is that capture using tcpdump -i any won't be able to capture most outbound traffic that will show up on eth0 either.
Where can I start looking into to at least be able to capture a "normal" LAN IP <-> Internet IP like capturing in access point mode or on a PC?
Last edited: