Joachim Holst wrote:

> Hi !
>
> I would like to have all incoming TCP/IP traffic on a specific port
> redirected to another machine. I've tried solving this with IPFWADM using
> the following command:
> ipfwadm -F -a accept -P tcp -S 0.0.0.0/0 82 -D 10.0.0.1 82 -V 10.0.0.254
> but it doesn't seem to be working. The only thing that happens is that I
> get "could not connect to host". I'm quite convinced that my problem is
> solvable. BTW, I'm forced to use kernel 2.0.36 du to a driver that isn't
> available for 2.2.x kernels so giving me some tips that point to ipchains
> wont help me.
>
> /Jocke!
> --
> Jone's Law:
>         The man who smiles when things go wrong has thought of someone
> to blame it on.

Here is the example I followed to get port forwarding with Dialpad. You
might also find this example helpful in solving your port forwarding, you of
course must plug in the port you are working .


 auto port forward

 # dialed to 1 pc one local masq net
/usr/sbin/ipmasqadm autofw -A -v -r upd 51200 51201 -c tcp 7175
/usr/sbin/ipmasqadm autofw -A -v -r tcp 51210 51210 -c tcp 7175




Reply via email to