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

Re: [Sheflug] Re: Routing Problem



On Tuesday 02 January 2001  5:46 pm, you wrote:
> Alex
>
> Alex Hudson wrote:
> > > Looked under forwarding in YaST and it's definitely enabled.  So, not
> > > sure what's wrong
> >
> > Masquerading ;)
>
> Looked under YaST again and it says "IP_FORWARD="yes"  which is the
> appropriate setting.  Even done 'echo "1" >
> /proc/sys/net/ipv4/ip_forward'  manually as described on the SuSE
> support database at www.suse.de/en.
>

As Alex has said, Masquerading (Or Network Address Translation - to use the 
UNIX/BSD terminology) is required. I do not know where under YAST this works 
- I do not use SuSe. If you are running an 2.2.x kernel, you need to use the 
"ipchains" command. Try:

/sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ

quite simply, what this does is add an entry to the "forward" chain allowing 
any from from the 192.168.1.0 network to be forwarded. Its Address will also 
be translated ( -j MASQ = "jump to the Masquerade chain")

Pieter
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.