dl speeds slow behind linux router
when downloading behind my linux router i get around 200kbps but the upload is 1.4mbps. (i have a t1). If i am on the outside network i can download just fine. is this an iptables problem?
here is the basic script i am using. eth0=internal eth1=external
#enable ip forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
#firewall, flush everything
iptables -F INPUT
iptables -F OUTPUT
iptables -F FORWARD
iptables -F -t nat
#transmit all packets
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
#masquerade
iptables -t nat -A POSTROUTING -o eth1 -s 192.168.0.0/16 -j MASQUERADE
#loopback
iptables -A INPUT -i lo -s 0/0 -d 0/0 -j ACCEPT
iptables -A OUTPUT -o lo -s 0/0 -d 0/0 -j ACCEPT
#internal traffic
iptables -A FORWARD -i eth0 -o eth0 -j ACCEPT
#connections between internal network and firewall
iptables -A OUTPUT -o eth0 -j ACCEPT
iptables -A INPUT -i eth0 -j ACCEPT
thanks for the help.
|