RE: Problems with nat installation

"Timo Dotzauer" <[email protected]> Mon, 22 Jul 2002 14:30:22 +0200
Newsgroups gmane.linux.suse.proxy-suite
Message-ID <[email protected]>
Dear Konrad,

i hope that i understand you correctly. I think the nat rule must be:

iptables -t NAT -A POSTROUTING -S xxx.xxx.xxx.x/x -o ethx -J MASQUERADE

Whereas you must replaces the "xxx.xxx.xxx.x/x" by your local subnet
like: 192.168.20.0/24 and the "ethx" must replaces by youre outgoing
network device. Assumed your device ist eth0 with the ip: 195.125.1.65
every packet who passed the device becomes this ip.

Mit freundlichen Grüßen / Best regards,

--
Timo Dotzauer


> -----Original Message-----
> From: Konrad Trojok [mailto:[email protected]]
> Sent: Monday, July 22, 2002 2:04 PM
> To: '[email protected]'
> Subject: [proxy-suite] Problems with nat installation
>
>
> Hi there,
>
> I need some help configuring nat for some simple gateway. I
> have edited the
> routing table according to my situation and the squid qroxy
> is doing fine.
> Only direct connections don't work due to nat is not
> configured yet. I dont
> want to mess with a complex firewall installation. I only
> want a simple
> gateway. Maybe someone already has some similar configuration
> running and
> has some clues for me.
>
> Regards
> Konrad trojok
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]