Skip to content
This repository has been archived by the owner on Mar 2, 2019. It is now read-only.

Commit

Permalink
added ipv6 table clearing, clearing script
Browse files Browse the repository at this point in the history
  • Loading branch information
micolous committed Jun 11, 2011
1 parent 3502ac0 commit 1b6fde1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
19 changes: 19 additions & 0 deletions backend/clear-ipt.sh
@@ -0,0 +1,19 @@
#!/bin/sh
# tollgate backend service - firewall clear script
# Copyright 2008-2011 Michael Farrell <http://micolous.id.au/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# 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 Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

iptables-restore < iptables-clean
ip6tables-restore < ip6tables-clean
7 changes: 7 additions & 0 deletions backend/ip6tables-clean
@@ -0,0 +1,7 @@
# Generated by ip6tables-save v1.4.8 on Sun Jun 12 06:48:19 2011
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
# Completed on Sun Jun 12 06:48:19 2011

0 comments on commit 1b6fde1

Please sign in to comment.