I'm running oracle sql on port 1521. However I can connect on it from a remote server only through a socks5 proxy(due firewall restriction). The client that I use to connect to the sql server doesn't support socks5 so the question is "How to route all the traffic from port 1521 through a socks5 proxy ?"
Iptables – How to route the traffic from a specific port through a socks 5 server
firewalliptablessocks
Best Answer
I easily googled http://darkk.net.ru/redsocks/ but I never used it, so I can't tell for sure it would satisfy your need.