Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-01-2005, 05:43 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 18

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


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 --dport 2222 -j DNA
T --to
iptables -A FORWARD -i ppp0 -o eth1 -p tcp -d --dport 22 -j ACCEPT

Any help appreciated,

Old 07-03-2005, 09:05 AM   #2
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?
do iptables-save to list active rules

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:22 AM.

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