Skip to contentSkip to conversation

NAT: Slow connection on Mac OSX

DISCUSSION David Leangen 1 participant 2 messages Sep 5, 2005

lore
Share & tools
lore
#0 lore raw

Hello!

I have set up NAT/masquerading on my router box.

Everything seems to be working fine on my Linux client host. However, my Mac is having a lot of trouble: the connection is very slow and I can't even finish loading, for example, the google home page.

Is there something else I need to do to get this going right?

Mac: 192.168.2.4
Client Linux: 192.168.2.2
Linux firewall (eth1): 192.168.2.1
Linux firewall (eth0): 192.168.1.2

ip_forward is set to "1".

In my iptables "nat" table, I have:

-A POSTROUTING -o ppp0 -j MASQUERADE

Thanks for any advice you can give me!

#1 lore raw

Just to follow up for the archives...

It was just a coincidence that it happened to be the Mac and not one of the Linux boxes. The problem had absolutely nothing to do with iptables (which appears to be set up correctly). Rather, it was a bad port in a hub.

Conclusion: double check hardware and cables first!

Cheers,
Dave

Quoted 28 lines · David Leangen

Hello!

I have set up NAT/masquerading on my router box.

Everything seems to be working fine on my Linux client host. However, my Mac is having a lot of trouble: the connection is very slow and I can't even finish loading, for example, the google home page.

Is there something else I need to do to get this going right?

Mac: 192.168.2.4
Client Linux: 192.168.2.2
Linux firewall (eth1): 192.168.2.1
Linux firewall (eth0): 192.168.1.2

ip_forward is set to "1".

In my iptables "nat" table, I have:

-A POSTROUTING -o ppp0 -j MASQUERADE

Thanks for any advice you can give me!