Re: Hi, having some trouble with networking
From: Peter T. Breuer (ptb_at_lab.it.uc3m.es)
Date: 11/14/04
- Next message: Rob Siegel: "Re: Memorex USB Flash Drive Won't Mount -- "/dev/sda1 is not a valid block device""
- Previous message: mjt: "Re: Hi, having some trouble with networking"
- In reply to: Mmm_moo_cows: "Hi, having some trouble with networking"
- Next in thread: mmm_moo_cows_at_hotmail.com: "Re: Hi, having some trouble with networking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 14 Nov 2004 17:38:26 +0100
Mmm_moo_cows <mmm_moo_cows@hotmail.com> wrote:
> Could anyone reccomend a good (basic) networking tutorial for a
> beginner in linux.
Sure - any book on networking, linux, unix, the Network-4-HOWTO, the
rute tutorial, and many more. What in particular makes you ask about
"linux"? Networking is common across all o/s's that use standard modern
protocols. If you want network ADMINISTRATION look at the book by that
name in the O'Reilly series.
> I have setup modem and internet, but would like to
> share internet to 4 windows XP pc's and I amd completely stuck and
Well, go ahead.
> tutorials on the web I have found just dont help.
You don't need a tutorial. You need the Masquerading HOWTO, if you are
talking about port-forwarding (making one static IP address behave like
several from the internal point of view).
Start forwarding outgoing packets to all ports from the gateway machine,
and add an iptables rule for it that says to do port forwarding through
the external net interface, which sounds in your case as though it is
"ppp0".
echo "1" > /proc/sys/net/ipv4/ip_forwarding
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
Hic.
Peter
- Next message: Rob Siegel: "Re: Memorex USB Flash Drive Won't Mount -- "/dev/sda1 is not a valid block device""
- Previous message: mjt: "Re: Hi, having some trouble with networking"
- In reply to: Mmm_moo_cows: "Hi, having some trouble with networking"
- Next in thread: mmm_moo_cows_at_hotmail.com: "Re: Hi, having some trouble with networking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|