Re: Gateway on linux

From: Franco Fellico' (ffellico_at_inwind.it)
Date: 07/25/03


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



Relevant Pages

  • [PATCH 19-rc2] Fix misc .c/.h comment typos
    ... Implements an interface for i2c compatible eeproms to run under linux. ... Changed struct initializer syntax to the currently preferred notation ... ** Packet is an actual packet structure to be filled in with the packet ... -** as the command processore doesn't process the command packet in any way. ...
    (Linux-Kernel)
  • Re: [opensuse] deleting
    ... during the installation of jre 1.5.0 (according to the install ... i'm learning and having fun with my new toy, the command line interface. ... understand and use linux more efficiently. ... /bin/sh is the Bourne Shell. ...
    (SuSE)
  • Re: how i will open (from Java Application) the MS word format /html documentsin repective Applicati
    ... documentsin repective Applications in Linux OS? ... What I did in the Linux version of our product was require an external ... I create a URI object around it and use that. ... array by separating the CDE command line at the spaces, ...
    (comp.lang.java.programmer)
  • Re: dpreview
    ... etc.) using the windows GUI? ... *Everything* can be done via command line. ... why would I bother with a text Linux command. ... stronger USM than you would, blend with the opacity of the layer. ...
    (rec.photo.digital.slr-systems)
  • Re: VERY basic linux system
    ... "> I keep hearing that you can modify linux to your liking, ... 'user', but once you have a multi-tasking kernel, multi-user is pretty ... Command names are arbitary and virtually all command shells allow all ... supporting stuff, and stuff supporting the support stuff, etc. ...
    (comp.os.linux.misc)