On Fri, 18 Aug 2000, cavall_fort pushed some tiny letters in this order:
> Hello again :
> 
>       Please ... Thank you, Merci ..., but a condition is *don't write
> link's*.
>       I know this is more difficult, but I wish to do a discussion. And this
> mailing list "thread" can be used by the maximum people, because, in my
> opinion, this question is a "hole" in the "free" Internet "documentation"
> (Howto & company)

I don't understand, we can either repeat the documentation or provide a link to
it. What's easiest for you isn't always what's easier for those who are trying
to help. :-) Please don't take a reference to a link as an indication that
we're not trying to help. In the majority of cases the documentation explains
things more thoroughly than we could ever hope to achieve on this list.

I'm assuming you want to connect a Windows 98 PC to the Internet using a
modem on a Linux PC as a masquerading server. First here are some *basic*
ipchains rules taken directly from the IPCHAINS HOWTO:

# ipchains -P forward DENY
# ipchains -A forward -i ppp0 -j MASQ
# echo 1 > /proc/sys/net/ipv4/ip_forward

Typing each of these commands at the command line sets up packet forwarding
rules to allow the linux PC to forward traffic to and from other machines on the
Internet. NOTE: You need to have IP chains support in your kernel, if a file
exists called /proc/net/ip_fwchains then you do already. If you don't then you
need to read the manual/howto on how to recompile your kernel or a firewall
module.

To make things permanent (so next time you boot the forwarding rules stay the
same) I'm going to have to give a link to the IPCHAINS howto because it
explains in great detail with scripts more than I can here.
http://www.linuxdocs.org/IPCHAINS-HOWTO-2.html#permanent

>        I want to hear your experiences about :
> 
> 1) Windows'98 side :
> 1.1) Client side in Windows'98:
>    Needs the navigator any special parameter to exit ? Are the parameters
> the same that in the "normal" config., to navigate ?
> 1.2) The protocol TCP/IP needs some DNS host, wins resolution, isn't it ?
> 

In the IPMASQ howto it explains how to set up a Windows 95/98 PC to use a Linux
PC to forward IP packets but it's a simple procedure so i'll repeat it here.

- Click on Control Panel, click on Network.
- If TCP/IP isn't installed for your network card (it should be already) then
install it by clicking on Add -> Protocol -> Microsoft -> TCP/IP protocol
- Select the TCP/IP item attached to your network card and then click
properties, click the IP address tab and enter an IP address for your Windows
PC if it hasn't already got one. eg. your windows PC can be 10.0.0.2 if your
linux PC has the address 10.0.0.1 for the network card
- Click the Gateway tab and add your linux PC's IP address. eg 10.0.0.1 or
whatever the IP address for you Linux PC's network card is.
- Click the DNS server tab and either enter your ISP's DNS servers OR the
servers found in your Linux /etc/resolv.conf file OR your Linux machine's IP
address if you are running a local caching DNS server on the Linux PC.
- Click OK..Ok..OK..Ok and then restart and things should be working.

If i've missed something obvious in any of this then i'd ask someone to point
it out, but still believe firmly that my clumsy explanation of IP forwarding
here is no substitute for reading both the IPchains howto and the IP
Masquerade howto thoroughly.

Reply via email to