Dear IPFilter experts!

I need some suggestions for what to do to get ipnat on 64 bit solaris 9 to work.

I have no luck getting NAT to run at all.

I picked up the package from http://www.x-y.ca/~bruno/ (for the 31-version)
and installed ipfx then ipf.

I tried both with and without a special 64 bit ipfboot script found on
www.cites.uiuc.edu/wsg/talks/ipfilter/.


Some ipfilter actions take place, but I can't make the NAT rules work.


Network layout is this

<Tiny PC>192.168.1.2<-->192.168.1.1<hme1:Sparc Ultra2 Sol9:hme0>10.0.20.4<ISP>


I e my ISP provides a NATed network on 10.0.0.0/16, and my adress is 10.0.20.4.
I connect my hme0 to my ISP.
I connect my hme1 to a small 192.168.1.0/24 network, with but two fixed 
adresses. I try to NAT that "local" network onto my ISP-provided adress.


My ipnat.conf says

map hme0 192.168.1.0/24 -> 0/32 proxy port ftp ftp/tcp
map hme0 192.168.1.0/24 -> 0/32 portmap tcp/udp 10000:40000
map hme0 192.168.1.0/24 -> 0/32


/usr/sbin/sparcv9/ipnat -lv says

List of active MAP/Redirect filters:
map hme0 192.168.1.0/24 -> 0.0.0.0/32 proxy port ftp ftp/tcp
map hme0 192.168.1.0/24 -> 0.0.0.0/32 portmap tcp/udp 10000:40000
map hme0 192.168.1.0/24 -> 0.0.0.0/32

List of active sessions:

List of active host mappings:



NOTE: that the "list of active sessions" and mappings are empty, in spite of a 
session being active from 192.168.1.2 to another machine 10.0.20.2.

I can see on the external network that the packets that get sent out on hme0 do 
NOT get their source addresses rewritten, i e they still seem to come from
192.168.1.2.

What's wrong? Any suggestions at all?

Hans J. Albertsson, Reimersholmsgatan 63

Reply via email to