Windows Server 2012: Set Up your First Domain Controller (step-by-step)

Overview In Windows Server 2012, dcpromo has been deprecated.   Using Server Manager (UI): In order to make the windows server 2012 domain controller we will install ADDS (Active Directory Domain Services) role from the server manager on Windows Server 2012. All the Latest security updates must applied before installing the Role. First we willContinue reading “Windows Server 2012: Set Up your First Domain Controller (step-by-step)”

ASA Failover and Redundancy

The following must be identical: Model (5505 or 5510 or 5520, etc) Amount of RAM Number of Interfaces (should be the same type as well) External Modules (CSC-SSM or IPS-SSM) Activation key with the same features Failover mode Encryption Level Number of VPN peers *** Same size Flash is not required **** Definitions: Active -> ResponsibelContinue reading “ASA Failover and Redundancy”

Cisco ASA Firewall Active / Standby Failover

The Cisco ASA firewall is often an important device in the network. We use it for (remote access) VPNs, NAT/PAT, filtering and more. Since it’s such an important device it’s a good idea to have a second ASA in case the first one fails. The ASA supports active/standby failover which means one ASA becomes theContinue reading “Cisco ASA Firewall Active / Standby Failover”

Download GNS3 Cisco IOS images

Download Cisco IOS image for GNS3 Hi dear all, that’s really a great to share my hard work  with you , After a lots of  hit in Google  I finally found trick to search Cisco IOS in free of course. So without talking much here are the link where you can free download Cisco ios image and youContinue reading “Download GNS3 Cisco IOS images”

Script to grab all the domain groups for a user on a Linux system with Active Directory connection

#!/bin/sh clear USIDTEMP=”/var/tmp/USIDstr.tmp” GSIDTEMP=”/var/tmp/GSIDstr.tmp” NAMETEMP=”/var/tmp/NAMEstr.tmp” #Reseting String storage veribles >$USIDTEMP >$GSIDTEMP >$NAMETEMP echo “command line to usergroup checker please supply the domain you wish to check” read DOM DOMAIN=$(echo $DOM | tr [a-z] [A-Z]) clear echo “What username do you wish to list groups for?” read USERNAME clear USERSID=$(WINBINDD_SOCKET_DIR=/var/samba/$DOMAIN/ wbinfo –name-to-sid=$USERNAME &> $USIDTEMP) echo “checkContinue reading “Script to grab all the domain groups for a user on a Linux system with Active Directory connection”

Common Linux Commands

#ping google.com #ping -I ethF 192.168.1.1 (from a particular source interface) #traceroute google.com #/sbin/ifconfig (all active network interfaces and some interface statistics)(add or change IP addresses) # ifconfig -a # ip addr #setup (to change the default interface or changing the interface IPs etc) #reboot #clear (to clear the screen) #ip neigh flush all (clearContinue reading “Common Linux Commands”

To add a route on the windows machine to force route the traffic through a particular gateway when two connections are connected on it

c:/>route ADD “network” MASK “subnet mask” “gateway ip” c:/>route ADD 8.8.8.8 MASK 255.255.255.0 192.168.1.12 or c:/>route ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12

To mount a USB under the linux shell (USB should be in FAT32 and it should the first partition as FAT32)

#tail -f /var/log/messages-2014-10-23 (to see which directory it is read as e.g. /dev/sdb1 , once plugged in) #cat /proc/partitions (to see which /dev/ directory it is plugged into) or #fdisk -l #mkdir /tmp/usb (create a mount point) #mount /dev/sdb1 /tmp/usb #cp /var/archive/backup123. /tmp/usb #unmount /tmp/usb