How to configure portforwarding ?

Posted on 2008-06-12
Last Modified: 2013-12-23
Please help me in configuring port forwarding :

what is the information is required for configuring port forwarding ?
how it should be configured under unix?
Question by:jaisonshereen
  • 2
  • 2
  • 2
  • +1
LVL 17

Assisted Solution

owensleftfoot earned 100 total points
ID: 21768598

Assisted Solution

rslqld earned 150 total points
ID: 21775101
What sort of port forwarding?

There is SSH port redirection, as above, or is the box a network gateway running ipfw/etc and performing NAT?

Author Comment

ID: 21776505
i dont know anything about port forwarding.....
only thing that i know is to list iptables -L
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

LVL 51

Accepted Solution

ahoffmann earned 250 total points
ID: 21781505
man iptables

then you can do something like:
iptables -t nat -A PREROUTING  -d --dport 55 -j DNAT --to-destination

Author Comment

ID: 21784225
what this will do ?

Assisted Solution

rslqld earned 150 total points
ID: 21789497
That will forward port 55 to internal IP (5 octet IP, woot...)

Just substitute IPs and ports as needed.
LVL 51

Expert Comment

ID: 21791347
> .. 5 octet IP, woot...
hey rslqld, if you mean my suggestion then either use glasses or a better font ;-)

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Shoretel Edge Gateway 5 44
DNS and NSLOOKUP 21 57
wipe a usb using python 5 29
expectj telnet failing 5 26
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Internet Business Fax to Email Made Easy - With  eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now