title: Iptables default chains priority?
body: <p>In order to check the RPyC module, I created 2 VM's (Ubuntu and Xubuntu), and tried to communicate between them.
  At first, I ran the RPyC server on the <b>ubuntu VM</b>, and connected from the <b>Xubuntu VM</b>. Went well!</p>
  
  <p>Then, I switched between them. I ran the server on the <b>Xubuntu VM</b> this time, and tried to connect from the <b>Ubuntu VM</b>. 
  I've got a "No route to host" message.</p>
  
  <p>The first thing I though is to try the firewall.
  When i shut down the firewall, I managed to connect, so I tried to look at the Iptables rules-list in the machine.</p>
  
  <p>The INPUT chain in the iptables had bunch of different rules, where all of them, except from one was <b>ACCEPT</b>, when the first one was <b>ACCEPT all</b>.
  The last one was <b>REJECT all</b> (don't ask why, it wasn't my configuration).</p>
  
  <p>I tried to delete the rules one by one until I was able to connect, and when I deleted the last one, the <b>REJECT all</b>, I was able to connect.</p>
  
  <p>My question is- why, although it was the last rule in the chain list, the REJECT all overrides the ACCEPT all rule? is there any prioritise of the default Iptables CHAINS?</p>
  
  <p>Thanks in advance,</p>
  
  <p>Idan</p>