Posts

Red Hat Linux Static Routing Configuration

Red Hat Linux Static Routing Configuration I've two network interface connected to two different routers as follows:   [a] eth0 LAN network 10.0.0.0/8 - gateway IP - 10.8.2.65 [b] eth1 ISP assigned network 202.54.22.128/28 - gateway IP - 202.54.22.129 I can only ping to public server but not to another servers inside LAN? I'm not able to route traffic via 10.8.2.65. How do I configure static routing under Red Hat Enterprise Linux 5.x or CentOS Linux 5.2? A. Under Red Hat you need to define static routing using route command. The configuration is stored under /etc/sysconfig/network-scripts/route-eth0 for eth0 interface. Update route using route command Type the following command: # route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.8.2.65 eth0 # route -n Create static routing file The drawback of abive 'route' command is that, when RHEL reboots it will forget static routes. So store them in configuration file: echo '10.0.0.0/8 via ...

Configure rsyslog, configure syslog

Configuring rsyslog on the Centralized Logging Server The steps in this procedure must be followed on the system that you intend to use as your centralized logging sever. All steps in this procedure must be run while logged in as the root user. Configure SELinux to allow rsyslog traffic. # semanage -a -t syslogd_port_t -p udp 514 Configure the iptables firewall to allow rsyslog traffic. Open the /etc/sysconfig/iptables file in a text editor. Add an INPUT rule allowing UDP traffic on port 514 to the file. The new rule must appear before any INPUT rules that REJECT traffic. -A INPUT -m state --state NEW -m udp -p udp --dport 514 -j ACCEPT Save the changes to the /etc/sysconfig/iptables file. Restart the iptables service for the firewall changes to take effect. # service iptables restart Open the /etc/rsyslog.conf file in a text editor. Add this line to the file, defining the location logs will be saved ...

How to restrict internet access Domain wide or for a single Site or OU with Group Policies

Image
Create a new group policy and link it to the particular Site, Domain or OU you wish to limit internet access for or edit an existing group policy object. Edit the particular Group Policy Object. Navigate to  Internet Explorer Maintenance and then click Security, Click Security Zones and Content Ratings  right click and click Properties (See the picture below)   In the appearing window Security Zones and Content Ratings click Import the current Content Rating Settings, Then click Modify Setting Buttom. (See picture below)   In the appearing window Content Advsior can we do the important changes over allowed pages and disallowed pages. I recommend to always 'add about:blank' to prevent Internet Explorer from generate an error. Allowed page should be added to the list such intranet or company external webpage. (See Picture below)   That’s how to limit the internet access within a group policy domain wide or for a single OU or Site. Group Policies gi...

Configuring Telnet & FTP to login as root (Linux)

Red Hat Enterprise Linux: RHEL3 / RHEL4 Enabling Telnet and FTP Services Linux is configured to run the Telnet and FTP server, but by default, these services are not enabled. To enable the telnet service, login to the server as the root user account and run the following commands: # chkconfig telnet on # service xinetd reload Reloading configuration: [ OK ] Starting with the Red Hat Enterprise Linux 3.0 release (and in CentOS Enterprise Linux), the FTP server (wu-ftpd) is no longer available with xinetd . It has been replaced with vsftp and can be started from /etc/init.d/vsftpd as in the following: # /etc/init.d/vsftpd start Starting vsftpd for vsftpd: [ OK ] If you want the vsftpd service to start and stop when recycling (rebooting) the machine, you can create the following symbolic links: # ln -s /etc/init.d/vsftpd /etc/rc3.d/S56vsftpd # ln -s /etc/...
Image
      How to Disable Easy Install in VMware First start VMware Player (VMware Workstation). Create A New Virtual Machine Select the option “I will install the operating system later”. Once done, your new virtual machine will be added to your virtual library. Simply click on Edit Virtual Machine settings, select your media then Restart VM !

Block CD ROM Drives Using Group Policy

Image
hi ..... select the OU (which contain users) for which u want to  disable  CD-ROM , right click--> group  policy--> edit--> computer configuration --> windows  setting --> security setting --> local policies --> security options --> device : restrict  CD :ROM (PROPERTIES )--> Enable mmc- -- > file--> aad/remove snap  in  --> add -->  group   policy  object editor -->close --> then follow the above procedure.. this will work..

Enable Ping on Windows 2008 Server

Image
Enable ping on Windows Server 2008 On February 12, 2010, in  Article , by Luis Ventura Bydefault Microsoft disables Ping on the Windows platform, probably has an added security measure. However Ping maybe needed for testing or monitoring purposes. The process to allow Windows Server to respond to Pings is minimal, requiring minimal changes to the Windows firewall. Go to  Start  >  Administrative Tools  > Windows Firewall with Added Security On the sidebar look for  Inbound Rules  >  File and Print Sharing (Echo Request – ICMPv4-IN)  > right click on  Enable Rule The rule has now been enabled and the server will respond to Pings. If you wish to later disable ping all you have to do is right click on the rule and select > Disable Rule