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

41 thoughts on “Solaris 11 Port Redirect”

  1. I seriously love your blog.. Very nice colors & theme.
    Did you build this site yourself? Please reply back as I’m looking to create my own personal site and want to find out where you
    got this from or what the theme is called. Thank you!

  2. درج آگهی رایگان اینترنتی و یا تبلیغات ویژه در وب سایت تجاری باعث گسترش کسب و کار شما خواهد گردید،ما تمام تلاش خود را
    برای دیده شدن خدمات شما انجام خواهیم داد http://www.tejaari.com

  3. Hello there! Do you know if they make any
    plugins to safeguard against hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any suggestions?

  4. Thank you for the auspicious writeup. It in fact was a amusement account it.
    Look advanced to more added agreeable from you! However, how could we
    communicate?

  5. I’ll immediately grasp your rss feed as I can not find your e-mail subscription hyperlink or
    newsletter service. Do you’ve any? Please let me know so that I may subscribe.
    Thanks.

  6. Excellent way of describing, and good article to take data on the topic of my presentation subject,
    which i am going to deliver in academy.

  7. Thanks a lot for sharing this with all of us you really understand what you are
    speaking about! Bookmarked. Please additionally seek advice from my website =).
    We will have a hyperlink trade contract among us

  8. Once you havе the initial 2 procedures inn рlace, yօu
    wil get lеts start wⲟrk on getting aѕ mаny people aas у᧐u can for a offer, еverү web business neеds massive traffic
    (visitors) and easier tһɑn a ⅼot of people makе ᧐ut.
    Ӏt is quite obvious hat you’d ‘t Ьe manufacturing еach
    and every part уourself. In faϲt the reason wһy c᧐uld poѕsibly bе whateνer including deficiency
    ᧐f proper management, profit ⅼess than their expectations and any оther.

  9. I needed to thank you for this excellent read!! I certainly enjoyed every
    little bit of it. I’ve got you bookmarked to check out new things you post…

  10. An impressive share! I’ve just forwarded this onto a
    colleague who had been doing a little research on this. And he actually bought me lunch due to the fact that
    I stumbled upon it for him… lol. So allow me to reword this….
    Thank YOU for the meal!! But yeah, thanks for spending some time to
    discuss this issue here on your web site.

  11. Hey! Someone in my Facebook group shared this site with us so I came to give it a look.

    I’m definitely loving the information. I’m bookmarking
    and will be tweeting this to my followers! Outstanding blog and brilliant design.

  12. Pretty part of content. I simply stumbled upon your blog and
    in accession capital to claim that I acquire in fact enjoyed account
    your blog posts. Anyway I will be subscribing in your augment and even I fulfillment you get right of entry to constantly rapidly.

  13. Wow, fantastic weblog structure! How long have you ever been blogging
    for? you made blogging glance easy. The whole glance of your website is excellent, let alone the content!

  14. Everything is very open with a really clear clarification of the challenges.
    It was truly informative. Your website is extremely helpful.
    Many thanks for sharing!

  15. Hi there, just became alert to your blog through
    Google, and found that it’s really informative.
    I’m going to watch out for brussels. I’ll appreciate if you
    continue this in future. Many people will be benefited from your writing.
    Cheers!

  16. My programmer is trying to convince me to move to .net from PHP.
    I have always disliked the idea because of the expenses.
    But he’s tryiong none the less. I’ve been using Movable-type on various websites
    for about a year and am anxious about switching to another platform.
    I have heard very good things about blogengine.net. Is there a way I can import
    all my wordpress posts into it? Any help would be greatly appreciated!

Leave a Reply

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