![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Nov 2008
Location: Chennai
Posts: 75
OS: XP2 / Linux
|
UBUNTU internet connection help...
To setup up a proxy server,i have instaled ubuntu 8.10 in a machine,i have 10 systems which has windows xp..and i have connected all these systems in 16port Dlink switch..the machine which i installed ubuntu has two lan cards,eth0 is connected to broadband router and eth1 is connected to switch..in xp we can easily share internet connection..but being a beginner i dont know how to share net connection in ubuntu...can some one guide me...
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Moderator/Fedora Amb.
|
Re: UBUNTU internet connection help...
Hi,
Why do you want to share the internet connection with the ubuntu computer. I thought that you were just settting up a proxy server on it. I would guess that you would be setting up a proxy similar to Squid. If I have got this wrong please fill in the blanks for me. Cheers!
__________________
![]() Linux Forever!
|
|
|
|
|
|
#4 (permalink) |
|
Moderator/Fedora Amb.
|
Re: UBUNTU internet connection help...
Hi,
Ok you are going to need to setup Samba server. I have found a really good and comprehensive guide to setting it up here. A Samba server essentially tells all the windows boxes that your linux box is just another windows box and they can connect to it, because windows won't connect to linux boxes natively. Cheers!
__________________
![]() Linux Forever!
|
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Nov 2008
Location: Chennai
Posts: 75
OS: XP2 / Linux
|
Re: UBUNTU internet connection help...
I have made a search on google and found this...Is this correct???
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 8. Reboot. (Optional) |
|
|
|
![]() |
| Thread Tools | |
|
|