🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.networking
Article #153

Re: I have got squid working to allow http requests from a few machines on a local network here. That works fine. However I w...

#153
From: Joerg Morbitzer
Date: Fri, 22 Dec 2000 11:41
37 lines
2633 bytes

On Fri, 22 Dec 2000, Luke Vanderfluit wrote:

> Hi
> 
> I have got squid working to allow http requests from a few machines on a
> local network here.
> That works fine.
> However I want to get other services running too.
> I want to set up mail clients and be able to ping from machines on the
> internal ethernet.
> 
> I have been trying to use 'ipchains' to allow machines on my local
> network to have their requests forwarded through the ppp0 interface on
> my gateway but can't get it to work.
> 
> ip forwarding is on.
> 
> Can someone point me in the right direction?

"ipchains" is just for setting up firewall rules. This has
nothing to do with forwarding of network traffic.

You should go for a masquerading type of thing, which
translates network packtes from your internal network
to the official IP address of your Linux gateway so that
it can be sent to the internet, packets coming from the
internet will translated again from your Linux gateway
to your internal network.

Check out this page for details:

http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO.html


Regards, Joerg.
Technical Details
Message-ID: <Pine.BSF.4.10.10012221238330.90022-100000@erde.sol-3.de>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newscore.gigabell.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <3A4339F3.7D5BB7AD@chipcity.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10669a,a5d3b55e8fbfc4d5
X-Google-Attributes: gid10669a,public
X-Google-Thread: 102983,a5d3b55e8fbfc4d5
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 2000-12-22 03:46:03 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newscore.gigabell.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: Joerg Morbitzer <jomo@sol-3.de>
Newsgroups: comp.os.linux.networking,aus.computers.linux
Subject: Re: I have got squid working to allow http requests from a few
 machines on a  local network here.  That works fine.  However I want to get
 other services running too.  I want to set up mail clients and be able to
 ping from machines on the  internal ethernet.  I have been trying to use
 'ipchains' to allow machines on my local  network to have their requests
 forwarded through the ppp0 interface on  my gateway but can'Help with ip
 forwarding
Date: Fri, 22 Dec 2000 12:41:46 +0100
Organization: T-Online
Lines: 39
Message-ID: <Pine.BSF.4.10.10012221238330.90022-100000@erde.sol-3.de>
References: <3A4339F3.7D5BB7AD@chipcity.com.au>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: news.t-online.com 977485307 02 7430 KLfeG0SSfH3Rd 001222 11:41:47
X-Complaints-To: abuse@t-online.com
To: Luke Vanderfluit <luke@chipcity.com.au>
X-Sender: 320016847711-0001@t-dialin.net
In-Reply-To: <3A4339F3.7D5BB7AD@chipcity.com.au>