LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-01-2005, 05:43 PM   #1
nosbod
LQ Newbie
 
Registered: Jul 2005
Posts: 18

Rep: Reputation: 0
adsl connection drops when port forwarding large files


Hi,

I have a home network involving a firewall and then a number of machines sitting behind this firewall. All redhat 9. I have an odd problem in that my adsl connection drops sporadically. This only happens when copying large files via scp2 from the remote machine to a machine behind the firewall. It doesn't happen however if i just copy directly onto the firewall.

It must therefore be something about the forwarding. It will do small files but large ones cause the connection to drop.

I use port 2222 to copy to the machine behind the firewall and 22 to go directly to the firewall.

I use narc as a firewall and have the forwarding

iptables -t nat -A PREROUTING -i ppp0 -p tcp -d 81.5.xxx.xxx --dport 2222 -j DNA
T --to 192.168.1.xxx:22
iptables -A FORWARD -i ppp0 -o eth1 -p tcp -d 192.168.1.xxx --dport 22 -j ACCEPT

Any help appreciated,

cheers
 
Old 07-03-2005, 09:05 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Do you have an ESTABLISHED/RELATED rule in FORWARD before the ACCEPT rule?
What is your DNAT/MASQUERADE rule in POSTROUTING?
do iptables-save to list active rules

Last edited by peter_robb; 07-03-2005 at 09:06 AM.
 
  


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
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Kmail ' Connection to host broken ' with large files from Gmail vangelis Linux - Software 0 10-22-2005 07:11 AM
NFS drops connection for medium-to-large transfers dddaaannn Linux - Networking 1 07-25-2005 07:51 PM
ADSL connection drops overnight, wont reconnect Avatar Linux - Networking 4 02-14-2005 12:02 PM
iptables port forwarding over ADSL infinity6 Linux - Networking 3 01-01-2002 02:45 AM

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

All times are GMT -5. The time now is 11:20 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