View Single Post
Posts: 267 | Thanked: 183 times | Joined on Jan 2010 @ Campinas, SP, Brazil
#5
When you are sure the external IP address is connectable, you can do a simple command with netcat (apt-get install netcat from extras-devel) to redirect from <EXTERNAL IP> <EXTERNAL PORT> to <INTERNAL IP> <INTERNAL PORT> like that:

Code:
nc -l external_ip external_port | nc internal_ip internal_port
You also have socat (Socket CAT) in extras-devel, a more powerful command-line utility, but also much more complicated.
__________________
My nickname on freenode is ptl, that is, the consonants of my nickname here. Kind of a long story.