Hi all,
Few weeks back I moved to a new apartment with my friends and the best part of it is the broadband connection we already have there. But the sad part is that we had to share the internet amonst us. One of many ways to do it is obviously the proxy. Proxying is fine to start with, but in long run it really gives us headache.
Few days back we started our experiments with iptables, but with a little or no success. It was then that I found the
Masquerading Made Simple HOWTO . That's it. Just two commands and my linux laptop became a router. Those commands are:
iptables -t nat -A POSTROUTING -o eth2 -j SNAT --to X.X.X.X
echo 1 > /proc/sys/net/ipv4/ip_forward
where eth2 is connected to internet through an ADSL modem with IP X.X.X.X. Now everything works fine with a few optimizations left to be done.
My next job is to configure my wireless card and run a home wifi network. The main concern here is obviously the security. I'm right now refering the
Wireless Howto . I hope to complete its configuration in a day or two.
Till then...
bye...