Hi folks,
I'm pretty new to OpenSolaris but so far managed to get all my problems solved 
(even got netatalk compiled and installed to get an AFP share for my Mac).

But now I'm struggling with a problem with my NAT: to me, it looks like packets 
get lost or corrupted.

First my setup: I have two network cards, rtls0 and rtls1. rtls0 is connected 
to my LAN, rtls1 to my ADSL modem. The external interface is sppp0 (PPPoE via 
rtls1). Now I want all traffic from rtls0 (10.0.0.0/24) to be NAT'ed to sppp0.

My /etc/ipf/ipnat.conf file looks like this (there are no ipfilter rules yet):
map sppp0 10.0.0.0/24 -> 0/32 proxy port ftp ftp/tcp
map sppp0 10.0.0.0/24 -> 0/32 portmap tcp/udp 10000:40000
map sppp0 10.0.0.0/24 -> 0/32

So far so good, it works. But not completely. When surfing on my Mac, some 
sites (e.g. www.lokalisten.de) fail to load even though they load OK when I'm 
using Firefox on the OpenSolaris box directly. Other sites (e.g. 
www.opensolaris.org) sometimes fail to load, reloading the page normally 
resolves this. This used to work OK when the OpenSolaris box was still running 
Linux last week and it works correctly when the Mac is connected to the ADSL.

In the case of www.lokalisten.de, I get redirected to the login page. That 
works alright, but that page then doesn't load completely (sometimes I get to 
see the background and an image, but not the rest). Using tcpdump I can see 
that the redirect is plain text/html. My browser then sends a new GET request 
and then I get garbage (FireFox... if I use Safari then that page is returned 
correctly but some later answer is garbage). If I do this on the OpenSolaris 
box directly everything works just fine, as is the case if I connect my Mac 
directly to the ADSL line (and it used to work correctly when the OpenSolaris 
box was still a Linux box last week).

This leads me to the conclusion that OpenSolaris is to blame (or me for not 
setting it up correctly) but I'm totally lost at what to test or set up. Does 
anyone have some ideas what to look out for ?
 
 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to