- Use multiple radius sockets to allow more concurrent authentication requests
[l2tpns.git] / machines.cfg
1 #!/usr/bin/perl -w
2 # vim:ft=perl
3
4 $m{$_class} = {
5         IPfilter => "iptables",
6
7         File_append => [
8                 [ "/etc/modules.conf", "alias char-major-10-200 tun\n", "char-major-10-200", "depmod -a" ],
9         ],
10         inittab_include => [
11                 "$_path/src/l2tpns",
12         ],
13         rpm_check => [
14                 "$_path/rpm/libcli-1.2.0-1.i386.rpm",
15                 'iproute',
16                 'perl-Compress-Zlib',
17                 'perl-MLDBM',
18                 'perl-Storable',
19         ],
20         Firewall => {
21                 'all' => '1701:udp',
22         },
23         F_Firewall => {
24                 all => 'all',
25         },
26         Sysctl => {
27                 'net.ipv4.ip_forward' => 1,
28                 'net.ipv4.conf.all.proxy_arp' => 1,
29                 'net.core.rmem_max' => 8388608,
30                 'net.core.wmem_max' => 8388608,
31                 'net.core.rmem_default' => 8388608,
32                 'net.core.wmem_default' => 8388608,
33                 'net.ipv4.tcp_rmem' => '4096 65530 128388607',
34                 'net.ipv4.tcp_wmem' => '4096 65530 128388607',
35         },
36         File_install => [
37                 [ "/etc/logrotate.d/l2tpns", "$_path/etc/l2tpns.logrotate", undef, { mode => 0755 } ],
38         ],
39 };