From bc332b7a18480a7c8db34ba45bd9ecfc257eaf75 Mon Sep 17 00:00:00 2001 From: Matteo Pasotti Date: Sun, 4 Jan 2015 21:04:20 +0100 Subject: added basic modules for firewall configuration (still not working) --- lib/AdminPanel/Shared/Firewall.pm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 lib/AdminPanel/Shared/Firewall.pm (limited to 'lib/AdminPanel/Shared') diff --git a/lib/AdminPanel/Shared/Firewall.pm b/lib/AdminPanel/Shared/Firewall.pm new file mode 100644 index 00000000..2638ff87 --- /dev/null +++ b/lib/AdminPanel/Shared/Firewall.pm @@ -0,0 +1,37 @@ +# vim: set et ts=4 sw=4: +#***************************************************************************** +# +# Copyright (c) 2013-2014 Matteo Pasotti +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2, as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +#***************************************************************************** +package AdminPanel::Shared::Firewall; + +use Moose; +use diagnostics; +use utf8; + +use lib qw(/usr/lib/libDrakX); +# WARNING: using common +use common; +use network::nfs; +use network::network; +use network::shorewall; + +sub _initialize { + my $self = shift(); +} + +1; -- cgit v1.2.1