<data:blog.pageTitle/>

This Page

has moved to a new address:

https://vmvirtual.blog

Sorry for the inconvenience…

Redirection provided by Blogger to WordPress Migration Service
BIOLNX: gennaio 2012

BIOLNX

giovedì 19 gennaio 2012

How to make persist a change of esxi5 firewall

I want make persist  change firewall for open smtp port.
I have copied smtp.xml  on persist datastore (es. /vmfs/volumes/datastore1) under directory script.
Now i have change the rc.local file whith :

/bin/cp /vmfs/volumes/datastore1/script/smtp.xml /etc/vmware/firewall/smtp.xml
esxcli network firewall refresh


Bye

How to trace Proxy Bluecoat Policy

I have read this Bluecoat support document KB2935

giovedì 12 gennaio 2012

Search old update target Tivoli Remote Control

This query will identify all the targets with the old date of update, which should be to identify the target in question is no longer active:

SELECT LIVEPOINTS.HWKEY ,ASSET.COMPUTERNAME ,LIVEPOINTS.DOMAIN_NAME ,LIVEPOINTS.IP_ADDRESSES ,LIVEPOINTS.LOGGED_USER ,LIVEPOINTS.USER_LANGUAGE ,LIVEPOINTS.OS_NAME ,LIVEPOINTS.TIMEZONE ,LIVEPOINTS.TARGET_VERSION ,LIVEPOINTS.LAST_UPDATE  FROM ASSET.LIVEPOINTS LIVEPOINTS LEFT OUTER JOIN ASSET.ASSET ASSET ON LIVEPOINTS.HWKEY = ASSET.HWKEY WHERE LIVEPOINTS.LAST_UPDATE < '2011-11-01 00:00:01'


domenica 1 gennaio 2012

Add Custom rule to firewall esxi 5 (Open tcp port 25 for SMTP)

The file of  rule of firewall esxi is locate to:

/etc/vmware/firewall/

for view rule:

esxcli network firewall ruleset list


create file smtp.xml whit:

<!-- Firewall configuration information -->
<ConfigRoot>

  <!-- SMTP -->
  <service>
    <id>SMTP</id>
    <rule id='0000'>
      <direction>outbound</direction>
      <protocol>tcp</protocol>
      <porttype>dst</porttype>
      <port>25</port>
    </rule>
    <rule id='0001'>
      <direction>inbound</direction>
      <protocol>tcp</protocol>
      <porttype>dst</porttype>
      <port>25</port>
    </rule>
    <enabled>true</enabled>
    <required>false</required>
  </service>

</ConfigRoot>


esxcli network firewall refresh 
esxcli network firewall ruleset list

and show end to list the new rule

type  

esxcli network firewall ruleset rule list | grep SMTP

for view details of rule


Next Post i show command for make persist this configuratione

HOW TO MAKE PERSIST CHANGE FIREWALL