iptables OUTPUT SNAT

Peter Surda shurdeek na panorama.sth.ac.at
Pondělí Leden 28 19:51:52 CET 2002


On Mon, Jan 28, 2002 at 12:09:16PM +0100, Ladislav Kaderják wrote:
> je mozne robit SNAT pre OUTPUT chain ?
> 
> mam totiz problem s ktorym si neviem rady
> 
> root# iptables -A OUTPUT -t nat -d 192.168.1.1  -j SNAT --to-source=192.168.1.11
> iptables: Invalid argument
>           ^^^^^^^^^^^^^^^^ postrouting ide output nie
to sa nerobi iptablesom ale route-om priblizne:

ip route add 192.168.1.1 src 192.168.1.11

ked to cut&paste-nes tak to asi nepojde, musis sa na to pozret trocha
zblizsia.

Bye,

Peter Surda (Shurdeek) <shurdeek na panorama.sth.ac.at>, ICQ 10236103, +436505122023

--
   If Bill Gates had a dime for every time a Windows box crashed...
                ...Oh, wait a minute, he already does.
------------- další část ---------------
A non-text attachment was scrubbed...
Name: [žádný popis není k dispozici]
Type: application/pgp-signature
Size: 232 bytes
Desc: [žádný popis není k dispozici]
URL: <http://www.linux.cz/pipermail/linux/attachments/20020128/f171076c/attachment.sig>


Další informace o konferenci Linux