> > # and to test it all I used iptables internal load balancing utility
> > # with the command
> > iptables -t nat -A PREROUTING -d 192.168.1.77 -j DNAT
> > 192.168.1.15-192.168.1.16
>
> > iptables -t nat -A POSTROUTING -j SNAT 192.168.1.77
>
> Maybe I'm going (am) crazy, but what does this do? SNAT to what target?
>
I understood your question now, sorry it was a small typo in both examples. I
forgot the --to the actual commands I issued are
iptables -t nat -A PREROUTING -d 192.168.1.77 -j DNAT --to\
192.168.1.15-192.168.1.16
and
iptables -t nat -A POSTROUTING -j SNAT --to 192.168.1.77
Sorry for it ;-)
|