I am having almost identical problems to the OP. I can ssh into my box, I can ping and sucessfuly resolve domain names to IP addresses but as far as web browsing, apt-get, wget or FTP are concerned nothing works, they all just timeout. I don't have any IPtable firewall stuff setup and when I make the box a DMZ host on my hardware firewall the problem still exists.
Any help what-so-ever would be gratefully received, please bare in mind that I am a novice Linux user - I am using a hybrid version of Knoppix called Knoppmyth which is designed for tivo style boxes.

HGST 4TB 7200RPM 3.5" SATA 6Gb/s Internal HDD | HDN724040ALE640 0F22408
$75.00
Lot of 10 Toshiba MQ01ACF050 500GB 2.5" 7200RPM SATA III HDD Tested Working
$79.90
5 Used 3 TB SAS lot Mixed brands
$60.00
Seagate 14TB Exos X14 7200RPM SATA 6Gb/s 256MB 3.5" Enterprise HDD ST14000NM0408
$354.99
Seagate ST6000NM0115 6TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$159.99
HGST HUS724040ALA640 4TB 7200 RPM SATA 3.5" Internal Desktop Drive 100% Health
$78.00
Western Digital WD Blue WD10EZEX 1 TB 3.5" SATA III Desktop Hard Drive
$29.99
Seagate ST24000NM000H 24TB 7200RPM SATA 6Gb/s 256MB 3.5in Enterprise Hard Drive
$659.99
Seagate BarraCuda ST5000LM000 5TB 5400RPM SATA III 6Gb/s 2.5" Internal Hard
$169.99
Lot 10 pcs Mix Major Brands 500GB 3.5" HDD Internal Hard Drive - Tested Working
$97.00