Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2000 13:36:42 -0500 (EST)
From:      flaw@videotron.ca
To:        freebsd-questions@FreeBSD.ORG
Subject:   local processes and port ranges
Message-ID:  <0FQN00ABDL2AS7@field.videotron.net>

next in thread | raw e-mail | index | archive | help


Is there a way of adjusting the port range used by local processes?  I've
recently switched from using a Linux IP Masquerading box to a FreeBSD
Ipfilter box, and in order to allow my housmate to play his Direct Play
games (a non negotiable thing on his part) I have to forward ports
2300-2400 to his box. This works fine and good, but I also run squid and
a couple of other proxies that seem to eat up port numbers, and
when they hit port 2300 they freeze for extended periods of time.  I had
this same problem with Linux, but I solved it by moving the range of
ports used by local processes:

echo 50000 60999 > /proc/sys/net/ipv4/ip_local_port_range

Is there something similar that I can do in FreeBSD (3.4 STABLE)?

Matthew Adie

-- 
--> flaw@videotron.ca
--> http://pages.infinit.net/fdesigns
--> GnuPG Key ID: A6CD866B
--> http://pages.infinit.net/fdesigns/pgp.html




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0FQN00ABDL2AS7>