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

Indian Butter Chicken, Jilly-Style

Fry up some chicken thighs in butter, set aside.

Dice up a few onions, and fry them in the butter.

IMG_1779

Add a bunch of garam masala, cumin, cayenne pepper to the onions, and maybe a little olive oil.

IMG_1780

Shred the chicken, throw it in there with a can of diced tomatoes, a can of peas, and a can of tomato sauce.

IMG_1781

After you let the chicken mixture cook for a bit, add a pint of heavy whipping cream and some red food coloring.  Then eat it.  Over rice.

IMG_1783