From: Rafal(sxat) on
Hi,

How make forward port ex. local 5000 to external host example.com:9000 and
setting timeout (default is 60s per connection) how change it...?

R

From: Indi on
On 2010-03-21, Rafal(sxat) <gonzaka(a)op.pl> wrote:
> Hi,
>
> How make forward port ex. local 5000 to external host example.com:9000 and
> setting timeout (default is 60s per connection) how change it...?
>
> R
>

I think something like:
fwd 127.0.0.1 5000 tcp from any to host.example.com 9000 in
The timeout variable is specified in /etc/sysctl, I don't think you
can change it with ipfw.

--
Caveat utilitor,
indi
From: Indi on
On 2010-03-22, Indi <indi(a)satcidananda.16x108.merseine.nu> wrote:
> On 2010-03-21, Rafal(sxat) <gonzaka(a)op.pl> wrote:
>> Hi,
>>
>> How make forward port ex. local 5000 to external host example.com:9000 and
>> setting timeout (default is 60s per connection) how change it...?
>>
>> R
>>
>
> The timeout variable is specified in /etc/sysctl
>

Sorry, /etc/sysctl.conf

--
Caveat utilitor,
indi
From: Indi on
On 2010-03-21, Rafal(sxat) <gonzaka(a)op.pl> wrote:
> Hi,
>
> How make forward port ex. local 5000 to external host
> example.com:9000...

Actually, I think you want to do that in your routing tables.
Sorry for the previous incorrect answer.

> and setting timeout (default is 60s per connection) how
> change it...?
>

sysctl handles that, you can change the timeout in /etc/sysctl.conf.

--
Caveat utilitor,
indi