The K Blag

Interesting Topics
  • Home
  • How To...
  • Who is The K?

APC Network Shutdown and Solaris 10 firewall

Published by Mike on March 26, 2008 03:18 pm under random, sun

One day, not too long ago, when the power went out in my neighborhood (for some unknown reason), I was pondering whether or not the machines here would shutdown cleanly.  I knew I had a reasonable amount of battery life, but that wouldn’t be enough if the outage was extensive.I had already configured the APC UPS (with the network card) to my satisfaction, and also loaded the APC Network Shutdown software into the root zone of my Solaris 10 x86 box.  Over the course of many tests, I realized that my Solaris 10 firewall was in the way.  I had to create a new rule to allow any UDP traffic, originating from the APC network interface, to allow communication to the broadcast IP address of my local network.  At first, I only allowed specific communication between the two via UDP, but after much examination, realized it was broadcasting.Here are my IPF rules:

pass  in  quick on nge0 proto udp from 10.0.0.10 to any port = 3052
pass  in  quick on nge0 proto tcp from 10.0.0.10/32 to 10.0.0.2 port = 2161 flags S keep state
pass  in  quick on nge0 proto tcp from 10.0.0.10/32 to 110.0.0.2 port = 3052 flags S keep state
pass  in  quick on nge0 proto tcp from 10.0.0.10/32 to 10.0.0.2 port = 6547 flags S keep state

Hope this saves someone some headaches in the future.

bookmark to
Add 'APC Network Shutdown and Solaris 10 firewall' to Del.icio.usAdd 'APC Network Shutdown and Solaris 10 firewall' to diggAdd 'APC Network Shutdown and Solaris 10 firewall' to redditAdd 'APC Network Shutdown and Solaris 10 firewall' to TechnoratiAdd 'APC Network Shutdown and Solaris 10 firewall' to Stumble Upon

No Comment

Comments are closed.

Posting your comment.

  • Categories

    • changelog
    • E-Mail
    • ldap
    • random
    • replication
    • sun
  • RSS Feeds

    • Posts RSS
    • Comments RSS
  •  

    July 2010
    M T W T F S S
    « Dec    
     1234
    567891011
    12131415161718
    19202122232425
    262728293031  
  • Blogroll

    • Konopka Family
    • The Gastromaniacs

Copyright © 2010 The K Blag