If you are using Ubuntu 12.04 with Gnome - Classic Desktop , you may experience a problem with not displaying SKYPE icon in the system tray. This can be solved in an easy method. You need to install Status NotifierItem plugin. If you are using 64Bit install of Ubuntu , you need to install i386 version of sni-qt.
sudo apt-get install sni-qt:i386
Thats it !!! login to skype and skype icon will be displayed in your system tray.
May 28, 2012
May 2, 2012
Reverse SSH Tunneling OR "Poor mans VPN"
In corporate networks , the servers will be placed behind a NAT for security reasons. Its not possible to access the server behind the NAT from outside network. And here comes a way to access servers behind NAT through SSH , its called Reverse SSH Tunneling OR Poor Mans VPN.
Scenario.
IP Address of the Server you need to access 192.168.20.55
IP Address of the Client from which you are trying 150.57.9.9
1. SSH from the destination to the source (with public ip) using command below:
2. Now you can SSH from source to destination through SSH tuneling:
Scenario.
IP Address of the Server you need to access 192.168.20.55
IP Address of the Client from which you are trying 150.57.9.9
1. SSH from the destination to the source (with public ip) using command below:
ssh -R 2080:localhost:22 sourceuser@150.57.9.9
2. Now you can SSH from source to destination through SSH tuneling:
ssh localhost -p 19999
Labels:
linux,
linux networking,
poor mans vpn,
reverse ssh tunnel,
ssh
May 1, 2012
KVM (Virtualization) Tips
KVM Tips.
Assumptions
1.You should have a working KVM Environment
2.You should have knowledge in Linux and little Networking.
3.You should have basic level knowledge in Virtualisation
1.To Check whether KVM has been installed
virsh -c qemu:///system list
You will see the following...
[root@server1 ~]# virsh -c qemu:///system list
Id Name State
----------------------------------
[root@server1 ~]#
Which means your KVM server is up and running.
2.To View all the running Guests
virsh --connect qemu:///system
virsh# list -all
Id Name State
----------------------------------
3 vm11 running
- vm10 shut off
virsh #
3.Start a Virtual Machine
virsh# start vm10
4.Stop a Virtual Machine
virsh# shutdown vm10
5.Suspend a Virtual Machine
virsh# suspend vm10
6.Forcefully Shutdown a virtual Machine (ie remove power plug)
virsh# destroy vm10
7.Exit the Virtual shell
virsh# Exit
Static Route in Linux
Static Route is using for improving the overall performance of your network. Also you can use static route for implementing Sub Networks. Suppose you are having different branch office to be connected with a Head office who is linked with a T1 line , Static route will be use full.
1.To View the routes in your system
ip route show
route -n
2.Adding a route in the Linux Machine.
route add default gw 10.10.100.1 eth0
This will create a ROUTE in the interface eth0 for a gateway to 10.10.100.1
This will be lose once you restart the network. For Adding a static route , you should follow the below steps.
vi /etc/sysconfig/network-scripts/route-eth0
Append the following
10.10.1.0/8 via 10.120.194.5
This will byepass all the traffic to 10.120.194.5 router through eth0
Subscribe to:
Posts (Atom)