On Thu, 2 Aug 2001, Ade Talabi wrote:
> 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?
Which machine is the gateway? If B is your gateway, it does not make
sense, unless a firewall is installed. If A is the gateway, well, it is
windoze and I have never used proxy software on windoze machines. Can you
give us more information about your network and perl application?
> Sebastiaan (S.Breedveld@ITS.TUDelft.NL) said thusly on [02/08/01 at
> > - 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)
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org