Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I want to forward the packets from a port to another port within the localhost

How can I port forward from to ?

share|improve this question
What OS are you using, and if you could explain why you want to do this their might be simpler approaches than port forwarding. – Paul Dec 9 '11 at 2:44

You need a proxy server or other program that is listening on and forwarding traffic to

Windows, try Trivial Proxy. Linux, check your distribution for rinetd.

Under Linux, it's completely possible to do this with iptables - probably looking at using the REDIRECT target in the PREROUTING nat table.

share|improve this answer
Do you have a working download link by any chance? Original page seems down (also as to per some old comments on other side for some time now), same with the usual freeware-hubs, which only point to the original (non-functional) page. – Andreas Reiff Mar 26 '13 at 13:37
Ahh, that sucks, it was a pretty simple and straightforward utility. Well, I suggest Luigi Auriemma's stcpipe - it's command line but has some additional neat features like being able to observe connections live on stdout and such: – LawrenceC Mar 26 '13 at 14:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .