how to share a internet from linux server to windows work group

5 pts.
Tags:
Internet connection
Linux
how to share a internet from linux server to windows work group

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hello Prasads racha,
if the Linux machine is always connected and has two NIC you can configure you WinXP clients to use that machine as gateway to the internet.
That’s to say:
Linux machine:
NIC 1 = 10.10.1.1 (connected to the internet)
NIC 2 = 192.168.0.1 (connected to LAN)

The workgroup will be 192.168.x.x with subnet 255.255.255.0 and gateway 192.168.0.1
If you have DNS installed on the Linux machine thean you can add 192.168.0.1 as DNS for the workgroup computers; if you don’t have DNS installed you can use the ISP DNS servers for the client computers.
Remember that on the Linux machine routing must be configured correclty; I ignore which distro you are using but most of the latest distro provide guided network sharing so follow the steps in order to have everything configured the best way possible.

P.S. Having the Linux machine with two NICs allowas you to implement firewalling, DMZ, proxy and many services that you can use to allow/disallow to the internal NIC.

Bye

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Drewloanonline5
    I sorry to intrude on your question but you are telling me that you can use a linux computer as a router? So lets say you go to a website that has a viris on it the linux computer will pick it up and stop it? And if I chose to I can change the ip of the computers? If so Thats great cause thats what I am looking for at work.
    95 pointsBadges:
    report
  • TomLiotta
    ...you are telling me that you can use a linux computer as a router? Various routers have used Linux. My old Linksys WRT54G wireless router uses Linux. Quite a few handy utilities can make this an interesting, inexpensive platform for experimentation and learning. Tom
    125,585 pointsBadges:
    report
  • petkoa
    Whatever your distribution echo 1 > /proc/sys/net/ipv4/ip_forward will activate your routing. Inserting (or uncommenting) line net.ipv4.ip_forward = 0 into /etc/sysctl.conf will make the change persistent in almost any distribution Good luck, and don't forget the last sentence of Alessandro - about firewall, DMZ and proxy...
    3,120 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following