Monday, February 20, 2017

Configuring MATLAB FlexNet License Manager to reserve licenses

Step 1: To setup an option file in the Flexlm

Step 2: Create an mlm.opt file
RESERVE 1 MATLAB:asset_info=111111 USER user1
where user1 is the username

Step 3: Restart the license server to take effect

Wednesday, February 8, 2017

Configuring 2 Gateways on the same Linux Box permanently

Suppose you have 2 network on a PC says (eth0 - Private Network) (eth1 - Public Network)

Let's assume the is the Default Gateway for network. If there is a router at for the internal network and you wish to connect to other networks says and networks. You will need to add "static routes" to these networks

route add -net netmask gw
route add -net netmask gw
route add -net netmask gw

To make the setting permanent, edit /etc/sysconfig/network-scripts/route-eth0 via dev eth0 via dev eth0 via dev eth0 

To check the setting is ok
# ip route show

Wednesday, January 18, 2017

SMB Security Best Practices by US-Cert

Taken from  SMB Security Best Practices

US-CERT recommends that users and administrators consider:
  • disabling SMB v1 and
  • blocking all versions of SMB at the network boundary by blocking TCP port 445 with related protocols on UDP ports 137-138 and TCP port 139, for all boundary devices.
US-CERT cautions users and administrators that disabling or blocking SMB may create problems by obstructing access to shared files, data, or devices. The benefits of mitigation should be weighed against potential disruptions to users. For more information on SMB, please review Microsoft Security Advisories 2696547 (link is external) and 204279 (link is external)