Hello!
I would like to NAT on net to the other net, but I can not always user the same ip as:
Quote:
iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -o eth1 -j SNAT --to 188.0.0.1
|
would do.
So I found this
http://lists.netfilter.org/pipermail...ch/008924.html
page which says that I can use a ip pool as SNAT --to option.
When i type :
Quote:
# iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -o eth1 -j SNAT --to 192.193.50.0/24
iptables v1.3.5: Bad IP address `192.193.50.0/24'
|
What is my mistake ?
Do both net`s have to be class "A" ? I am on RTFM .....