How to distinguish encapsulated packets from different interfaces
The function I want to have is simple.
Encapsulated packets come from two interfaces, say interface A and B. For some reason, I have to use iptables rules to modify the tcpmss when these packets are deciphered. However, I have to set different tcpmss size for packets from interface A and B respectively. Possible?
By the -i option for iptables?
iptables -i interfaceA
iptables -i interfaceB