LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , , , , ,

Reply
 
Thread Tools
Old 08-30-2009, 05:26 PM   #1
mehboob_urrehman
LQ Newbie
 
Registered: Mar 2008
Posts: 5
Thanked: 0
Question Linux nat performance


[Log in to get rid of this advertisement]
Hi,

I tried using my linux box as a router that does MASQUERADE for the internal network,

it works but the performance is really poor, I am able to open a web page or two but then it stops, though I;m still able to ping,

I;ve also tried using SNAT and specified multiple outside ip address and port range of 1024 to 40000 but still the performance doesn't improve!

has anyone else run into a similar problem,, any suggestions ??

currently I'm doing it on ubuntu 9.10 2.6.31-6-generic

iptables v1.4.4

Last edited by mehboob_urrehman; 08-30-2009 at 05:37 PM.. Reason: tagging
linuxubuntu mehboob_urrehman is offline  
Tag This Post , , , , , ,
Reply With Quote
Old 08-31-2009, 01:20 AM   #2
evilted
Member
 
Registered: Aug 2009
Location: Ouagadougou, Burkina Faso
Distribution: centos
Posts: 79
Thanked: 4
what other rules do you have in iptables?
have you performed isolation tests?
what do you base 'performance is really poor' on?

i ask this because i find the nat in linux much better than most routers.. (i have a server handling around 350 clients. after moving its connections from a physical router to linux i gained around 50ms in latency)
windows_98_nt_2000 evilted is offline     Reply With Quote
Old 08-31-2009, 01:46 AM   #3
mehboob_urrehman
LQ Newbie
 
Registered: Mar 2008
Posts: 5
Thanked: 0

Original Poster
thanks for the reply,,

Its not a production server so I started with a blank iptables ruleset,

by poor i mean, that I am not able to open three or four web pages at the same time, and pages like facebook don't display correctly..

the internet link however has sufficient bandwidth available and works find without nat,,
linuxubuntu mehboob_urrehman is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
LXer: Performance Technologies Announces Availability of AMC121 High-Performance Comp LXer Syndicated Linux News 0 09-18-2007 11:30 AM
performance issue when running a NAT box ? Menestrel Linux - Networking 1 07-31-2005 07:34 AM
Susefirewall2 Nat Problem / nat 1:1 trubi Linux - Distributions 0 07-20-2004 06:50 AM
Linux - NAT g452 Linux - Networking 3 03-15-2004 07:41 PM
What's the difference between Linux-NAT and Sygate-NAT? yuzuohong Linux - Networking 0 08-07-2002 05:07 AM


All times are GMT -5. The time now is 02:36 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration