Des Wass wrote:

> > > Is it possible with ipchains to masquerade behind a static address?
> > >
> > > i.e. hide 192.168.1.20 behind 203.x.x.19
> >
> > Yes, that is what it is all about.
> >
> > My ISP provides me with the 203.x.x.x number and woa.com.au exists on
> > 192.168.y.y numbers.
> >
> >From what I understand,
> 
> ipchains -A forward -s 192.168.1.10 -d 0/0 -j MASQ
> 
> will mask the 192.168.1.10 address behind 203.x.x.10. What I need to do is
> mask 192.168.1.10 behind 203.x.x.43.
> 
> If I do:
> ipchains -A forward -b -s 192.168.1.10 -d 203.x.x.43 -j MASQ
> 
> the address can only reach the external interface and cannot go further.
> 
> I hope I'm coming across clearly enough.

Unfortunately, I can not (yet) help you with ipchains. I'm one app
behind, but I will run through some fundamentals. Others will no doubt
help (HINT!).

Have you set forwarding=true (?/etc/sysconfig/network ).
Once the link is up, can you ping out?
What does netstat -nr show?
i.e. have you set up routing?
something like 'route add default dev ppp0'

--
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   WOA Computer Services <lan/wan, linux/unix, novell>
   snail:  PO Box 1047, Campbelltown, NSW 2560.

 "People without trees are like fish without clean water"
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to