ok,
so with all info provided i can assume you need to open a port for your application to hit a remote server at a specific port.
on a pre-assumption this could be of help:
Code:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1521 -j REDIRECT --to-ports [your_remote_server_ip]:1521
Quote:
But only opening port is not helping us connect to remote server. So we need to enalble nat for this specific port request. By what iptable command can we accomplish port based nating. Pl guide.
|
How did you opened the port ?
what have you tried till now ?
did you checked squid logs to confirm it is blocking your application?
did you checked application access logs to check whether it ever hit the remote server ?
It is Always advised to share proper content to get a proper answer.