What does the following iptables rule accomplish:
iptables A INPUT s 208.77.188.166 d 10.142.232.1 p tcp dport 22 j ACCEPT
A.
Accepts traffic on port 22 only from the hosts 208.77.188.166 and 10.142.232.1.
B.
Forwards all requests from the host 10.142.232.1 on port 22 the internal host 208.77.188.166
C.
Forwards all requests from the host 208.77.188.166 on port 22 the internal host 10.142.232.1
D.
Drops traffic on port 22 only from the hosts 208.77.188.166 and 10.142.232.1.
sure?
how does appending to INPUT chain result in forwarding..?
Or the question is wrong or all answers are wrong.
It’s close to the option C, but it’s not.
One should most probably read “route” instead of “forward” in answers B and C.