Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Need to set up ipfilter on Solaris 10. All the systems behind the Solaris system are using the 192.168.0.0/24 network and have a one-to-one routeable address assigned to it. So, I set up NAT using the bimap keyword, one for each pairing. My question is about when does the NATing occur? That is, in my block and pass rules, do I use the "NATed" address or the 192.168 address?
Thanks!
Never mind. I find the answer in the ipfilter FAQ:
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189
Rep:
You could also look at /usr/share/ipfilter/examples on your Solaris 10 system. That's loaded with examples, including basic NAT. Just thought I would note that for future reference, and to make this not a 0 reply thread.
Interestingly, here is what I just found in one of these files:
Quote:
Originally Posted by /usr/share/ipfilter/examples/nat-setup
Filtering with NAT.
-------------------
IP Filter will always translate addresses in a packet _BEFORE_ it checks its
access list for inbound packets and translates addresses _AFTER_ it has
checked the access control lists for outbound packets.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.