View Single Post
  #9   (View Single Post)  
Old 16th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Quote:
But when I have only one default route to my if1 and Im trying ssh from outside via if2 I see incoming connection in tcpdump on that interface but nothing happen.
I'm guessing, of course, but that is likely because the three-way TCP handshake fails to establish the connection. TCP uses three packets to establish a connection:
Code:
[client] --> SYN packet --> [IF2]
[client] <-- SYN-ACK packet <-- [IF2]
[client] --> ACK packet --> [IF2]
But what is probably happening:
Code:
[client] --> SYN packet --> [IF2]
[client] <-- SYN-ACK packet <-- [IF1]
[client] ???
Reply With Quote