|
|
|
|
Share Internet Connection Ubuntu Linux Gnome Gnu

The following will explain how to share your Internet connection:
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. Add the line "net.ipv4.ip_forward = 1" to /etc/sysctl.conf
# gedit /etc/sysctl.conf
|
Why FOSS 2009?KanglaOnlineWhen we talk of Free and Open Source Software or FOSS, we are reminded of what Archbishop Desmond Tutu, the great South African leader and activist once ...and more » |
|
Linux House-CleaningCertCitiesHere are some Linux-related tidbits from the "In Case You Missed It" department, including Ubuntu's continued awesomeness and Linux's netbook and desktop ...and more » |
Google News
Common Misspellings include addres, adres, adress, adress adn, anbd bu comming comming ect expalin follwoing, folowing foward nto, onot nother, otehr strat taht, tath, thast, thgat, thta, thyat hten, tghe, ther, thge, tjhe thne uise unsed useing usally, usualy ususally iwll, wille, wiull Purchasing a Computer Choosing a Monitor Ubuntu Linux for Everyone Laptop vs. Desktop Computer Getting WinMX to work on Ubuntu Wubi Ubuntu installer for Windows PC use in Japan nausea when working on computer no more headaches computer screen emf lcd immediate headache and computer monitor win32 debugger cool photoshop tricks old computer monitors electromagnetic emissions free downlaod fire fox Useful Firefox Extensions Ubuntu Using the extra buttons on a Microsoft Optical Trackball Sharp Fonts On Ubuntu GNOME Desktop Increase Scroll Rate on Firefox for Ubuntu Microsoft's TrueType core fonts on Ubuntu vinmicro usb PC camera Kerr Webcam 5 Driver cant send attachments aol Is there an avi preview for partially downloaded bit torrent files best windows bittorrent client MAC OS X Clients Bittorrent Unix/Linux Ubuntu Kubuntu BitTorrent Clients Elbitz E learning site Why I chose Ubuntu Share internet connection on Ubuntu gspot for Linux MediaInfo
|
|
|
|