> :2 computers:
> :computer1: internet access trough cable modem. Red Hat6.0. i get
> :assigned an ip address from my provider automatically.
> :computer2: win98 with modem
> :I want to go on the internet using my connection on computer1.
> :So i dial in to computer1 (so far it works).
> :But then what: how do i configure the lin and the win machine?
> You have to set up your linux box to be able to answer incoming calls. I
> did this several times, pppd is the right choice for you. You need to
I already got this far. I can dialin from computer1 to computer2 and
make a connection using pppd and mgetty.
Quote:> assign an unique IP number for the modem, such as 192.168.x.y. Then
I know how to address an ip nr to an ehternet card but not how to
address one to a modem. How do i do this? Can i use linuxconf? is it the
same as assiging an ip to device ppp0?
I suppose the modem on the win computer needs an ip nr as well
Quote:> configure your kernel to forward packets to and from the modem. Your
i have never touched the kernel before so i suppose it's time for me to
read some howto's on the subject. Do i need kernelcfg for this or is
there more to it?
Quote:> provider gave you a 'real' IP number, ip masqing is the connection between
not really. I have an address and port for automatic proxy
Further i received ip nrs of the first and second DNS server
> the real and 'intranet' number. Do not forget, that you need kernel
> support in order to get all these working together. Btw. pppd must have
> proxying enabled. The key is (after mgetty is working fine):
> echo 1 > /proc/sys/net/ipv4/ip_forward
> ipchains -A forward -j MASQ
> I, though recommend you to set up your rules properly, do not allow any
> packets that are not necessary.
i have heard from this before "rules" but that's all. I'll have some
more howto's to read.
> Sorry for my english, i haven't been reading this list for a long time.
hey no problem, you make yourself perfectly clear.
> | Adam Kosa | Experience is something |
> | HP : http://ka.lyss.net | need it. |