1 |
unnilennium |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-openvpn-s2s-0.1/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90local_chk49vpn_networks mezzanine_patched_smeserver-openvpn-s2s-0.1/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90local_chk49vpn_networks |
2 |
|
|
--- smeserver-openvpn-s2s-0.1/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90local_chk49vpn_networks 2010-10-17 01:27:49.000000000 +0200 |
3 |
|
|
+++ mezzanine_patched_smeserver-openvpn-s2s-0.1/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90local_chk49vpn_networks 2010-10-17 01:27:26.000000000 +0200 |
4 |
|
|
@@ -4,7 +4,7 @@ |
5 |
|
|
foreach my $vpn ($ovpndb->get_all_by_prop(type=>('client')), |
6 |
|
|
$ovpndb->get_all_by_prop(type=>('server'))){ |
7 |
|
|
$OUT .= "/sbin/iptables -A \$NEW_local_chk --in-interface tun" . $vpn->key . |
8 |
|
|
- " -j DROP\n" if (($vpn->prop('AllowInbound') || 'yes') eq 'no'); |
9 |
|
|
+ " -j denylog\n" if (($vpn->prop('AllowInbound') || 'yes') eq 'no'); |
10 |
|
|
} |
11 |
|
|
|
12 |
|
|
|