remote

How to Measure Remote Filtering Usage in Websense

In order to measure Remote Filtering usage you must have Websense Log Server and Websense Enterprise Explorer installed. Log Server - captures Internet activity and logs the data to your SQL server Websense Explorer - a web browser based viewer that provides detailed reports of logged activity Log into Reporting Tools and select Websense Enterprise Explorer. From the menu, select Internet [...]

How to configure a remote PIX to communicate with Websense via a VPN connection?

A remote Cisco PIX firewall can be configured to send URL requests to a central installation of Websense software via a VPN connection. The Remote PIX must be reconfigured to include the outside interface as part of interesting traffic for the VPN and the nonat ACL must also include the outside interface. Below is an [...]

How to Run Remote Commands with SSH

The ssh program can  be used for monitoring remote hots. The system admin can also execute commands from his desktop which can be executed at remote servers. This is a cool facility of ssh. We can do much more on SSH. root@admin:~ # ssh root@www ‘df -h’ Filesystem Size Used Avail Use% Mounted on /dev/ubda 3.5G 2.1G [...]

How to access iPhones remotely using OpenSSH

A jail broken Apple iPhone with OpenSSH installed is accessible over the internet using ssh and the default root password “alpine“. You can use a short script to find IP addresses that have port 22 open and try to login. You can run this script from your Mac or any Linux machine. #!/bin/shfourth=1 third=0 mkdir [...]

How to Install VNC on Centos

VNC is used to display an X windows session running on another computer. Unlike a remote X connection, the xserver is running on the remote computer, not on your local workstation. Your workstation ( Linux or Windows ) is only displaying a copy of the display ( real or virtual ) that is running on [...]

How to configure to allow Interfaces in IPtables

You would like to block all network traffic using iptables firewall under Debian GNU/Linux. This will block all incoming and outgoing traffic including Internet aka ADSL/ppp0 and it is highly recommend. The logic is block everything and allow only required traffic. This can be done with four simple commands: # iptable -F # iptables -P [...]

A brief to various iptables commands

We will use an example based approach to examine the various iptables commands. In this first example, we will create a very simple set of rules to set up a Stateful Packet Inspection (SPI) firewall that will allow all outgoing connections but block all unwanted incoming connections:

How to Block IP address of any country with iptables

Sometime it is necessary to block incoming connection or traffic from specific remote host. iptables is administration tool for IPv4 packet filtering and NAT under Linux kernel. Following tip will help you to block attacker or spammers IP address.  The blocklist is create with an API I wrote and you can use wget to update [...]

How to convert a table from one storage engine to another in MySQL

 MySQL supports several storage engines that act as handlers for different table types. MySQL storage engines include both those that handle transaction-safe tables and those that handle non-transaction-safe tables: MyISAM manages non-transactional tables. It provides high-speed storage and retrieval, as well as fulltext searching capabilities. MyISAM is supported in all MySQL configurations, and is the default storage engine [...]

How to Configure NFS to take backup from remote server

First, you have to make the appropriate directories available to nfs by “exporting” them. On the remote server, edit the /etc/exports file to expose the directories you need to the hosts that need to access them. See the man page for exports to find out all your options, but here’s a simple example from my [...]

Essential Linux Server Administrator Commands

Command Summary Use arp Command mostly used for checking existing Ethernet connectivity and IP address Most common use: arp This command should be used in conjunction with the ifconfig and route commands. It is mostly useful for me to check a network card and get the IP address quick. Obviously there are many more parameters, [...]

How to Use TCP wrappers to allow only specific hosts to connect to ssh Service

This approach is useful if you would like to allow only specific hosts on a network to be able to connect to your SSH service, but you don’t want to use or mess up your iptables configuration. Instead, you can use TCP wrappers; in this case the sshd TCP wrapper. I will make a rule [...]

An introduction to VPN -vpn white paper

The Virtual Private Network – VPN – has attracted the attention of many organizations looking to both expand their networking capabilities and reduce their costs. The VPN can be found in workplaces and homes, where they allow employees to safely log into company networks. Telecommuters and those who travel often find a VPN a more [...]