LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-17-2004, 11:52 AM   #1
guggenheim
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9
Posts: 12

Rep: Reputation: 0
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.
 
Old 03-17-2004, 12:06 PM   #2
guggenheim
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9
Posts: 12

Original Poster
Rep: Reputation: 0
also. when i run ifconfig there are no errors and no dropped packets.
 
Old 03-25-2004, 12:55 AM   #3
bejean
LQ Newbie
 
Registered: Mar 2004
Location: Atlanta, GA
Distribution: Slackware 9.1
Posts: 9

Rep: Reputation: 0
Slow behind router

I'm having this same problem. Some one on another board suggested it could be fixed by a tcpmss rule, but that doesn't seem to affect it.

-Bejean
 
Old 03-25-2004, 02:52 PM   #4
guggenheim
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9
Posts: 12

Original Poster
Rep: Reputation: 0
i could not find a fix. i just reinstalled the os, and now it works just fine. sorry.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Very slow transfer speeds via LAN TBomb Linux - Networking 6 07-26-2005 08:34 AM
Slow network speeds pyschomike15 Linux - Networking 9 02-27-2005 06:26 PM
slow fat32 write speeds xiang83 Slackware 0 08-10-2004 07:53 AM
Some Samba research on slow speeds Ada Linux - Networking 0 08-07-2004 04:14 PM
Excessively slow network transfer speeds from XP to Linux… MooGLEX Linux - Networking 1 07-04-2004 01:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration