Slow masquerade in 2.4.16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Could I please have some pointers to tracing a
masquerade
problem in 2.4.16.

The 2.4.26 box connects to the ISP with a 33k Modem
and
recieves at approx 3.4kB/s. The computer is also on a 
10MB lan which tranfers at almost 1MB/s.

However, when the 2.4.16 box masquerades for either
win98, or linux boxes on the lan, the recieved speed
drops to 1-2kB/s and seems to regularly drop packets.

iptable setup (fromMasquerading-Simple-HOWTO.gz):
echo -n "Starting IP masquerading"
echo "1" > /proc/sys/net/ipv4/ip_forward
modprobe iptable_nat
iptables -F; iptables -t nat -F; iptables -t mangle -F
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -A INPUT -m state --state ESTABLISHED,
RELATED -j ACCEPT
iptables -A INPUT -m state --state NEW -i ! ppp0 -j
ACCEPT
iptables -P INPUT DROP
iptables -A FORWARD -i ppp0 -o ppp0 -j REJECT

(I have also tried the simple:
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
by itself, no difference).

Regards,
Mark.

http://movies.yahoo.com.au - Yahoo! Movies
- Vote for your nominees in our online Oscars pool.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux