IPNAT... internal server what-to-do

keith at smmc.qld.edu.au keith at smmc.qld.edu.au
Wed Jul 9 13:23:28 PDT 2003


Hi all.
On my 4.7 system, I have ipfilter and ipnat.
I have several "live" ips aliased to my external ADSL interface.
Some of these are mapped into private internal ips. So far so good.
All works fine from outside. But if I want to reach one of the internal
servers from inside...eg www.smmc.qld.edu.au...the client  hangs looking.
Here are some of my rules:
======8< snip=============================

map fxp0 10.0.0.0/21 -> 0/32  # <---OK maps internal getting out fine!

#www server
rdr fxp0 210.15.203.195/32 port 80 -> 10.0.0.7 port 80
rdr dc0  210.15.203.195/32 port 80 -> 10.0.0.7 port 80 #<---No worky!

======8< snip=============================
I can figure there is a problem with this but dont have a clue how to fix it
I want to use fqdns inside not local ip addrs. It is more convenient for
users. BTW the ip address works fine...just the rdr or lookup stuff is
faulty
Help???
Thanks
Keith




More information about the freebsd-questions mailing list