Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My poblem:

At work I have a proxy with some closed ports. I need to connect to an Oracle DB on some DB_IP at port 1521. DB_IP is a public IP.

What I Have:

At home, I have a Linux machine and a Linksys WRT54G Router.

What I need:

How can I do to communicate a PC at work with DB_IP:1521?

Thanks in advance.

share|improve this question
up vote 1 down vote accepted

You can use your SSH server and port forwarding to accomplish this. Just connect to your SSH server on your linux machine using a remote forwarded port:

ssh -R 15210:DB_IP:1521

Then point your app that needs to talk to the DB to localhost:51210. That port can actually be any port you like, just make sure you make the appropriate change to the SSH command above if you change it. This command allocates a socket on your machine which is forwarded to DB_IP:1521 through your linux machine.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.