Re: Gateway on linux
From: Franco Fellico' (ffellico_at_inwind.it)
Date: 07/25/03
- Next message: Carl Sanderson: "displaying aplles MOV files"
- Previous message: Helder Lopes: "newebie question Postfix configuration and testing"
- In reply to: baskitcaise: "Re: Gateway on linux"
- Next in thread: baskitcaise: "Re: Gateway on linux"
- Reply: baskitcaise: "Re: Gateway on linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Jul 2003 03:44:07 -0700
THANK YOU TO EVERYONE. NOW IT WORK. THE PROBLEM HAPPENS BECAUSE
I USED THE WRONG COMMAND:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
and my internet connection is through pppo and not etho. So now I used the
following command:
iptables -t nat -A POSTROUTING -j MASQUERADE (without mentioning the interface)
and everything is OK (now I am writing from a PC of my LAN).
Best regards and thanks. Franco
baskitcaise <baskitcaise@hotmail.com> wrote in message news:<bfn2h9$gq9bv$2@ID-143023.news.uni-berlin.de>...
> Franco Fellico' wrote:
>
> > I have a Linux box with suse 8.2 on a lan with a lot of windows pc. My
> > Linux OS can connect itself to Internet via modem and work perfectly.
> > Instead I can't connect any site from my PC's, using Linux as a
> > Gateway.
> >
> > I have inserted as gateway the IP address of the linux machine on each
> > PC; I have verified that in the file /proc/sys/net/ipv4/ip_forward
> > there is 1, but no one of my PC's can connect sites trough the linux
> > machine.
> >
> > There is some other thing to do on Linux to reach my objective ? Thank
> > you. Franco
>
> Can you ping a site by ip but not browse?
> if so have you entered the ip addresses of you isp`s dns servers on the
> winblows machines so that thay can resolve addresses
- Next message: Carl Sanderson: "displaying aplles MOV files"
- Previous message: Helder Lopes: "newebie question Postfix configuration and testing"
- In reply to: baskitcaise: "Re: Gateway on linux"
- Next in thread: baskitcaise: "Re: Gateway on linux"
- Reply: baskitcaise: "Re: Gateway on linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|