Archive for the ‘linux’ Category

Linux machine can be setup as gateway to allow the machines which are present in local network to communicate with external machines/internet.

Linux machine should have atleast two network interfaces, say eth0 – connected to internet, eth1 – connected to local LAN.

1. Enable IP forwarding

echo 1 > /proc/sys/net/ipv4/ip_forward

2. Run the following commands ( assuming as the subnet of LAN. )

iptables –table nat –append POSTROUTING –out-interface eth0 -j MASQUERADE
iptables –append FORWARD –in-interface eth1 -j ACCEPT
iptables -I FORWARD 1 -s -j ACCEPT
iptables -I FORWARD 1 -d -j ACCEPT

You are done….

I am using static IP addresses here. If you need to use DHCP, you have to setup DHCP server also.


I do and many people do use multiple monitors with single computer. This helps in using multiple windows at the same time and makes the work faster.

But do you use multiple computers ( not monitors ) at the same time?? Many users do have a desktop and laptop at home. Or personal laptop and office laptop. Have you ever tried using them parallel? Is that possible???

YES, you can use all your systems at the same time without needing to shift towards a computer whenever something has to done on that. Share your keyboard and mouse with all the computers and  use as with multiple displays.

Application, Synergy makes it possible to have this.

Synergy brings your devices together in one cohesive experience.

  • Seamlessly move your mouse to any computer and start typing.
  • Works on all major operating systems (Windows, Mac OS X, and Linux).
  • Share your clipboard (copy and paste) between your computers.
  • Drag and drop files from one computer to another (Premium).
  • Encryption keeps sensitive data safe on public networks.
  • Network-based (IP) software KVM switch (non-video).

Download here , instructions  and project site .