Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Craig on February 24, 2000, 11:28:27 PM

Title: How can I do port mapping?
Post by: Craig on February 24, 2000, 11:28:27 PM
I need to map some incoming ports so that I can use telecom software from within my private network. How can I do this?
Title: RE: How can I do port mapping?
Post by: Aaron on March 01, 2000, 07:32:05 AM
Craig, I feel your pain, i too have been having trouble figuring out how to get port mapping to work.  You'll need to use ipchains, i haven't had time or energy to figure that out, but there are how-to pages all over the web, also try the 'man' pages (man ipchains).
Title: RE: How can I do port mapping?
Post by: Charlie Brady on March 01, 2000, 01:38:29 PM
Aaron wrote:

> Craig, I feel your pain, i too have been having trouble
> figuring out how to get port mapping to work.  You'll need to
> use ipchains, i haven't had time or energy to figure that out,
> but there are how-to pages all over the web, also try the 'man'
> pages (man ipchains).

The easiest way to do TCP port mapping is actually not to use ipchains at all, but to use a small connecting program such as "socket" or "netcat",
and configure inetd (or rlinetd in e-smith 4.0) to start:

socket machine port

whenever someone connects to the port of interest on your server.

Charlie