There is a requirement where clients should not know the port on which a particular service is running in the server.
Written a firewall script to redirect the port, where user will see some different port. e.g
here ip1 and ip2 are clients ip. PortB and PortD are original port. But client can see portA and portC
The actual port got display during access, that is what we are trying to prevent. netstat command is displaying portA and portC at the client's space. So from netstat commnd client wont be knowing the actual port number, but accessing the url is revealing the actual port number. Now changing url is not in the scope of the script. How to prevent showing actual port.