Moving To a New Site

I have just decided that it's time to move on and have my own domain. All the posts in this blog will be moved to:

www.pinoygeek.org

Personal posts will be transferred to: raldz.pinoygeek.org

Wednesday, December 07, 2005

How to Share Internet Connection in Ubuntu and Debian

Note: Type all the following commands in a root terminal, DO NOT use sudo.

1. Start by configuring the network card that interfaces to the other computers on you network:

# ifconfig ethX ip

where ethX is the network card and ip is your desired server ip address (Usually 192.168.0.1 is used)

2. Then configure the NAT as follows:

# iptables -t nat -A POSTROUTING -o ethX -j MASQUERADE

where ethX is the network card that the Internet is coming from

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

3. Install dnsmasq and ipmasq using apt-get:

# apt-get install dnsmasq ipmasq

4. Restart dnsmasq:

# /etc/init.d/dnsmasq restart

5. Reconfigure ipmasq to start after networking has been started:

# dpkg-reconfigure ipmasq

6. Repeat steps 1 and 2.

7. Reboot. (Optional)

12 comments:

Broadband Sue said...

We all know that broadband suppliers advertise their speeds as "up to"
a certain level. But how fast is your actual connection? Now you can
find out with our broadbandspeed test, use the
checker below to find out. To get accurate results make sure that you
are not using your internet connection for anything else while the test
runs (it only takes a few seconds)

wow power leveling said...

Youth is not wow gold a time of life;world of warcraft gold it is a state of mind; cheap wow gold it is not a Maple Story Accounts matter of rosy cheeks, red lips and supple knees;mesos it is a matter of the will, a quality of the imagination,wow gold kaufen a vigor of the emotions; it is the freshness wow geld of the deep springs of life.maple story mesos Youth means a tempera-mental predominance of courage over timidity, of the appetite for adventure over the love of ease. This often exists in a man of 60 more than a boy of 20.wow gold farmen Nobody grows old merely by a number of years.maple story money We grow old by deserting our ideals.ms mesos Years may wrinkle the skin, but to give up enthusiasm wrinkles the soul. Worry, fear, self-distrust bows the heart and turns the spring back to dust. Whether 60 or 16, there is in every human being’wow powerleveling s heart the lure of wonder, the unfailing childlike appetite of what’s maple story money next and the joy of the game of living.powerlevel In the center of your heart and my heart there is a wireless station: so long as it receives messages maplestory powerleveling of beauty, hope, cheer,world of warcraft power leveling courage and power from men and from the Infinite, so long are you young. When the aerials are down, and your spirit is covered with snows of cynicism and the ice of pessimism, then you are grown old, even at 20, but as long as your aerials are up, to catch waves of optimism, there is hope you may die young at 80!

vishal said...

GOT BORED BY SEARCHING FOR PHONE NUMBERS IN TELEPHONE DIRECTORY, NOW U DON’T WORRY FOR SEARCHING,WE MAKE YOUR JOB EASY FOR SEARCHING PHONE NUMBERS CLICK HERE AND LOGIN INTO OUR SITE AND ENJOY THE SEARCH
THANK YOU

vishal said...

GOT BORED BY SEARCHING FOR PHONE NUMBERS IN TELEPHONE DIRECTORY, NOW U DON’T WORRY FOR SEARCHING,WE MAKE YOUR JOB EASY FOR SEARCHING PHONE NUMBERS CLICK HERE AND LOGIN INTO OUR SITE AND ENJOY THE SEARCH
THANK YOU

vishal said...

Easy Earning money in online never been this easy and transparent. You would find great tips on how to make that dream amount every Day. Sitting in the home earn around $100 per day. So go ahead and click here for more details and open floodgates to your online income. All the best.

Thanks.

jimmychooshoes said...

mcqueen shoes
alexander mcqueen heels
Alexander McQueen Store
Jimmy Choo sale
Replica jimmy choo shoes
manolo blahnik online store
manolo shoes
manolo blahnik sale
replica christian louboutin shoes
discount christian louboutin shoes
alexander mcqueen shoes
jimmy choo outlet
jimmy choos
jimmy shoes
Manolo Blahnik Shoes
christian shoes
Alexander McQueen Faithful Bootie
Jimmy Choo Embossed leather sandals
Jimmy Choo Zero metallic-leather sandals
Christian Louboutin Alta Perla Strass 100 sandals
Christian Louboutin - Declic leather pumps

jimmychooshoes said...

mcqueen shoes
alexander mcqueen heels
Alexander McQueen Store
Jimmy Choo sale
Replica jimmy choo shoes
manolo blahnik online store
manolo shoes
manolo blahnik sale
replica christian louboutin shoes
discount christian louboutin shoes
alexander mcqueen shoes
jimmy choo outlet
jimmy choos
jimmy shoes
Manolo Blahnik Shoes
christian shoes
Alexander McQueen Faithful Bootie
Jimmy Choo Embossed leather sandals
Jimmy Choo Zero metallic-leather sandals
Christian Louboutin Alta Perla Strass 100 sandals
Christian Louboutin - Declic leather pumps

Carmina said...

I started to use Ubuntu for several months by now and I had no idea how to share Internet connection in Ubutuntu. I had heard of a software called Sildenafil Citrate but I never bothered trying it, I will try to do what you say thanks!

emma jacob said...

I adore your blog because I never know about Handwriting expert what I am getting into when I open a new post. You do a great Job, regarding Handwriting analyst Quality content always have a dash of personal life and my next task I collect some more info about Handwriting analysis .Any how Keep up the great blogging and! Good luck with your new project--I hope everything works out for you! Happy 2011 :).

vibrams said...

All the cheap christian louboutin heels and louboutin heels for retailing inside our store can be to offer solutions of first-class quality. The christian louboutin evening complete great deal could possibly be the fine and fashionable one.They take place in fascinating design and layout and fashionable appearnce.The colourway also is quite popular. These christian louboutin pumps are luxury and noble. The christian louboutin peep toe show formal, a complete great deal extra show its gorgeous gloss and honour. hold into some mysterious alluring taste! This pairs of christian louboutin 2011 sandals attributes a quite considerable component for women's fabulous whole system figure, show their fabulous figure and fashionable gesture. Louboutin heels is a good choice for you, welcome to our Christian louboutin store!

Campbell said...

my best friend wanted to share his Internet connection, but he did not know how to do it on Ubuntu, I wanted to to have Internet to buy cialis online and I will tell him about this

Amalia Adrian said...

It's quite interesting, I've ever quite understand this matter but now thanks to you I do. I can't wait to read more articles from you.
Fish Mox