Hi,
I want to catch iptables logs for SAME NAT. SAME NAT takes IP from POOL.
But I dont't match local IP with real IP. How do I do?
Thanks..
$INET_BIM_POOL="192.168.3.1-192.168.3.64"
$IPTABLES -t nat -A POSTROUTING -o $INET_IFACE -s 10.5.0.0/16 -j bim
$IPTABLES -t nat -A bim_out -p icmp -o $INET_IFACE -j SNAT --to-source
$INET_BIM_POOL
$IPTABLES -t nat -A bim_out -p tcp -o $INET_IFACE -j SAME --nodst --to
$INET_BIM_POOL
$IPTABLES -t nat -A bim_out -p udp -o $INET_IFACE -j SAME --nodst --to
$INET_BIM_POOL
-
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html