title: How do we transfer oracle port 1521 to another machine's port 9800
body: <p>I want to transfer oracle A port 1521 to B 9800 with firewalld,where I can use B:9800 to visit A's oracle.
  I set a new tnsnames.ora which have B:9800</p>
  
  <p>here is the code i test ,but it doesn't work</p>
  
  <pre class="lang-sh prettyprint-override"><code>firewall-cmd --add-port=9800/tcp
  firewall-cmd --permanent --zone=public --add-forward-port=port=1521:proto=tcp:toaddr= B:toport=9800
  firewall-cmd --reload
  </code></pre>
  
  <p>I had tried,when i use tnsping to test the new tnsname,I got the “ORA-12569：TNS：包校验和失败”</p>