iptables: wierd character in interface

Katerina Bubeníčková katerina.bubenickova na plbohnice.cz
Pondělí Květen 16 13:06:22 CEST 2005


Ales Vizdal, AVONET, s.r.o. napsal(a):

>iptables -t nat -A postrouting -o ${OUTSIDE_DEVICE} \ 
>-s ${SERVER_IP} -j SNAT --to-source ${OUTSIDE_IP}
>
>SNAT ma definovano pouze --to-source
> 
>  
>
Zkusila jsem to prehodit, tj.

iptables -t nat -A POSTROUTING -o ${OUTSIDE_DEVICE} \ 
-s ${SERVER_IP} -j SNAT --to-source ${OUTSIDE_IP}


hlasi:
Warning: wierd character in interface -s (no aliases, :, ! or *).

Bad argument `192.168.3.4'            // <--  ${SERVER_IP}
Try `iptables -h' or 'iptables --help' for more information.


--Katerina



Další informace o konferenci Linux