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
here is the code i test ,but it doesn't work
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
I had tried,when i use tnsping to test the new tnsname,I got the “ORA-12569:TNS:包校验和失败”