Re: Maximum Number of TCP Connections for Red Hat Linux 8.x

From: Arne Schmitz (arne.schmitz_at_mmweg.rwth-aachen.de)
Date: 12/09/04


Date: Thu, 09 Dec 2004 22:49:12 +0100

DEngelbrechtBT schrieb:

> Could anyone tell me what the default for the maximum number of TCP
> connections is for Red Hat Linux 8.x and how to change this value?

That depends. Are you using iptables for routing and/or firewalling? If so,
then you might want to change the ip_conntrack values. Look at these
special files (just "cat" them -- values can be written with "echo"):

/proc/sys/net/ipv4/ip_conntrack_max
/proc/sys/net/ipv4/netfilter/ip_conntrack_max

Although, the default is somewhere arounde 32.000, I think. That should be
sufficient for most cases.

Arne

-- 
[--- PGP key FD05BED7 --- http://www.root42.de/ ---]


Relevant Pages

  • Re: Advice on which FreeBSD firewall package to choose.
    ... > use FreeBSD as a firewalling router after seeing it in action on a ... > firewalls; pf, iptables and ipfw. ... > lan and ICQ connections to both the Inside LAN and the Wireless DMZ. ... > an equivalent to HTB on FreeBSD? ...
    (freebsd-questions)
  • Re: one routing question
    ... Using the route command I can´t make this routing, perhaps I can do it using ... You use your RH machine an an HTTP client to browse other remote ... IPTables doesn't get involved at all. ... upstream next-hop, so that any traffic you originate leaves via eth1, ...
    (RedHat)
  • Re: SNATed connections show as original ip in /proc/net/tcp
    ... You will still need use iptables/MARK to do L4 (tcp/udp/etc) policy ... routing though, however now you can dump the ugly SNATing. ... I read your original post as saying were using iptables and the SNAT ...
    (Linux-Kernel)
  • Re: Allgemein: netfilter, routing, sonstige flags
    ... > ich habe zwar mit iptables einige Paketfilter konfiguriert. ... Mit Routen legst du dagegen fest, dass Pakete, die auf einer ... Bei einfachem Routing kannst du nur die Ziel-IP-Adressen zur ... die sich von Netzwerkschnittstelle zu ...
    (de.comp.os.unix.networking.misc)
  • policy-based routing and NAT with iptables
    ... I try to setup policy-based routing under linux with iptables and ip ... configured iptables so that packets with some port-numbers are marked. ... Those packets marked should receive the second routing-table. ... hostname:/home/airflow# ip route list table default ...
    (comp.os.linux.networking)