Prev: Need help in hacking FreeBSD used as a control plane on Juniper routers
Next: NYC LOCAL: Wednesday 31 March 2010 NJLUG: Revolution OS Movie
From: Rafal(sxat) on 21 Mar 2010 10:33 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 22 Mar 2010 02:21 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 22 Mar 2010 02:23 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 22 Mar 2010 03:14
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 |