[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ethernet



Sebastiaan,

My machine A is win 98, I can use netscape on my debian (machineB) to surf the web,
if I then use perl on B, I can not get to the internet.

Why is that?

Sebastiaan (S.Breedveld@ITS.TUDelft.NL) said thusly on [02/08/01 at 10:45]:

> - route add default gw 192.168.1.1
> 
> Then, on machine A do (if you have a 2.2 kernel):
> ipchains -F forward
> ipchains -P forward DENY
> ipchains -A forward -s 192.168.1.0/255.255.255.0 -d 0.0.0.0/0.0.0.0 -j MASQ
> ipchains -M -S 3600 0 0
> echo 1 > /proc/sys/net/ipv4/ip_forward
> 
> This should work. Information about this can be found in various HOWTO's.


"I have not yet begun to fight!"  (John Paul Jones) 



Reply to: