Solaris 11 Port Redirect

Just documenting this for my own sanity in case I need to find it again later.  The steps might also be the same on Solaris 10 but I haven’t tested them on older version.

Usage:  You want to do a very simple port redirect for whatever reason.

From the global zone:

svcadm disable svc:/network/ipfilter:default

Edit file /etc/ipf/ipnat.conf

Add line like this:

rdr ipmp0 10.97.26.140 port 3600 -> 10.97.26.140 port 3601 tcp

where:  ipmp0 is the nic on which the ip address lives.  (Use the main nic name, not ipmp0:2 or whatever the zone uses)  10.97.26.140 is the ip address we want to modify.  3600 is the port we want to change.  3601 is the port we want to redirect to.

Now enable filter:

svcadm enable svc:/network/ipfilter:default

0 thoughts on “Solaris 11 Port Redirect”

  1. Aw, this was a really nice post. In idea I would like to put in writing like this additionally ?taking time and actual effort to make a very good article?however what can I say?I procrastinate alot and certainly not appear to get one thing done.

  2. My spouse and i got now relieved that Emmanuel managed to complete his analysis with the precious recommendations he grabbed while using the web pages. It is now and again perplexing to simply choose to be freely giving tips which often the rest might have been trying to sell. And we also already know we have the blog owner to give thanks to for this. The specific illustrations you have made, the simple web site menu, the relationships you can make it possible to create – it’s everything extraordinary, and it’s really leading our son in addition to our family imagine that that topic is brilliant, which is unbelievably pressing. Thank you for the whole lot!

  3. Can I just say what a aid to search out someone who truly is aware of what theyre talking about on the internet. You positively know find out how to deliver an issue to gentle and make it important. More individuals have to learn this and understand this side of the story. I cant consider youre no more well-liked since you definitely have the gift.

  4. Nice post. I learn one thing more difficult on completely different blogs everyday. It’ll always be stimulating to learn content from different writers and practice a little one thing from their store. I抎 choose to make use of some with the content on my blog whether or not you don抰 mind. Natually I抣l give you a hyperlink in your net blog. Thanks for sharing.

  5. I discovered your weblog web site on google and verify a couple of of your early posts. Proceed to maintain up the very good operate. I just further up your RSS feed to my MSN News Reader. Seeking forward to reading more from you afterward!?

  6. The following time I read a weblog, I hope that it doesnt disappoint me as a lot as this one. I mean, I know it was my choice to learn, however I actually thought youd have one thing interesting to say. All I hear is a bunch of whining about one thing that you might fix should you werent too busy on the lookout for attention.

Leave a Reply

Your email address will not be published. Required fields are marked *