Solved

How to configure portforwarding ?

Posted on 2008-06-12
7
262 Views
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?
0
Comment
Question by:jaisonshereen
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 17

Assisted Solution

by:owensleftfoot
owensleftfoot earned 100 total points
ID: 21768598
0
 
LVL 5

Assisted Solution

by:rslqld
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?
0
 

Author Comment

by:jaisonshereen
ID: 21776505
i dont know anything about port forwarding.....
only thing that i know is to list iptables -L
 
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 51

Accepted Solution

by:
ahoffmann earned 250 total points
ID: 21781505
man iptables

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

Author Comment

by:jaisonshereen
ID: 21784225
what this will do ?
0
 
LVL 5

Assisted Solution

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

Just substitute IPs and ports as needed.
0
 
LVL 51

Expert Comment

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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

12 Experts available now in Live!

Get 1:1 Help Now