Install multiport module on iptables
- by tarteauxfraises
I'am trying to install "fail2ban" on Cubidebian, a Debian port for Cubieboard (A raspberry like board).
The following rule failed due to "-m multiport --dports ssh" options (It works, when i run manually the command without multiple options).
$ iptables -I INPUT -p tcp -m multiport --dports ssh -j fail2ban-ssh"
iptables: No chain/target/match by that name.
When i make a cat on "/proc/net/ip_tables_matches", i see that multiport module is not loaded:
$ cat /proc/net/ip_tables_matches
u32
time
string
statistic
state
owner
pkttype
mac
limit
helper
connmark
mark
ah
icmp
socket
socket
quota2
policy
length
iprange
ttl
hashlimit
ecn
udplite
udp
tcp
What can i do to compile or to enable the multiport module?
Thanks in advance for your help