Subversion Repositories ALCASAR

Rev

Rev 1818 | Rev 1827 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1818 Rev 1822
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-iptables.sh 1818 2016-04-07 13:38:05Z raphael.pion $
2
# $Id: alcasar-iptables.sh 1822 2016-04-08 16:21:33Z raphael.pion $
3
# Script de mise en place des regles du parefeu d'Alcasar (mode normal)
3
# Script de mise en place des regles du parefeu d'Alcasar (mode normal)
4
# This script writes the netfilter rules for ALCASAR
4
# This script writes the netfilter rules for ALCASAR
5
# Rexy - 3abtux - CPN
5
# Rexy - 3abtux - CPN
6
#
6
#
7
# Reminders
7
# Reminders
Line 61... Line 61...
61
	ipset save no_filtering_set > $TMP_users_set_save
61
	ipset save no_filtering_set > $TMP_users_set_save
62
	ipset save havp_set >> $TMP_users_set_save
62
	ipset save havp_set >> $TMP_users_set_save
63
	ipset save havp_bl_set >> $TMP_users_set_save
63
	ipset save havp_bl_set >> $TMP_users_set_save
64
	ipset save havp_wl_set >> $TMP_users_set_save
64
	ipset save havp_wl_set >> $TMP_users_set_save
65
	ipset save user_not_connected_yet >> $TMP_users_set_save
65
	ipset save user_not_connected_yet >> $TMP_users_set_save
66
	ipset save ipset_users >> $TMP_users_set_save
66
	ipset save ipset_users_list >> $TMP_users_set_save
67
fi
67
fi
68
 
68
 
69
# loading of NetFlow probe (ipt_NETFLOW kernel module)
69
# loading of NetFlow probe (ipt_NETFLOW kernel module)
70
modprobe ipt_NETFLOW destination=127.0.0.1:2055
70
modprobe ipt_NETFLOW destination=127.0.0.1:2055
71
 
71