LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-17-2004, 08:51 AM   #1
linuxtm2005
LQ Newbie
 
Registered: Dec 2003
Posts: 15

Rep: Reputation: 0
Question network & internet help


hy
i'm in a local network with internet .
i have 2 Pc in the same home one on linux and one on windows .
i want to give internet to the windows pc from the linux pc witch is connected to the network with an IP like this 192.168.0.99 .
i want also the admin to don't see the pc wich is on windows .
can someone please help
see you
and tanks
 
Old 01-17-2004, 11:19 AM   #2
TheIrish
Member
 
Registered: Oct 2003
Location: ITALY
Distribution: Debian, Ubuntu, Fedora
Posts: 137

Rep: Reputation: 15
I can't explain you all the process step by step but I'll give you some advices where to look for.
First:

(WinPC)-----------------(LinuxPC)>>>>>>>>>>(the internet)

The WinPC ethernet interface must have an IP address in the same LinuxPC netmask (ex. 192.168.0.88). This must be already so, right?

After this, I assume you already can connect to the internet properly using Linux. Is it so?

At this point, what you need is iptables for doing IP masquerade. You can have all the info you need at www.netfilter.org or posting another question about a simple iptables script that does masquerade (better in the security forum).

Last edited by TheIrish; 01-17-2004 at 11:20 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup Network & ADSL Connection (Internet Sharing) on SuSE 9.2 egcoder Linux - Networking 0 01-31-2005 06:47 PM
Sharing internet & file system between Windows98 & Redhat9 cjs_pro Linux - Networking 2 07-15-2004 07:25 AM
AT&T Plug & Share Wireless Network Card help nitzer_slack Linux - Hardware 8 07-05-2004 12:07 AM
Internet connection sharing help...using USB modem & Network card Daz155HGT Linux - Networking 6 04-28-2004 01:44 PM
Linux firewall with internet & dmz & trusted ikhwan98 Linux - Networking 0 11-23-2001 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration