iprange problem with iptables

Hello everyone

I’m building a firewall with on OpenSuse 11.0 and I’ve discovered, with big surprise, that the module ipt_iprange is no more available!!!

if I try

“modprobe ipt_iprange”

the result is this message:

FATAL: Module ipt_iprange not found.

but if I try the same command on OpenSuse 10.3, it works perfectly fine.

not having this module iptables can’t use any more the rule with ipranges indications like:

$IPTABLES -t nat -A POSTROUTING -o $EXTIF -m iprange --src-range 172.16.1.10-172.16.1.27 -j SNAT --to $ADLS_IP

now, have someone of you experienced the same problem with iprange?

Do you know why that module is no more available?

I’ve resolved the problem specifying the rule for every single IP, but really I don’t understand why a so common module has been removed?

thanks in advance

I think you’ll find it’s been renamed xt_iprange in recent iptables releases as

find /lib/modules -name '*range*'

will show.

works fine, thanks a lot :slight_smile:

Hi. I`m new to Opensuse and i don;t know too much about iptables. I don’t know how to enable ip range module.

Can you help me how to do it step by step?

Thank you.