Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
86bacc83
Commit
86bacc83
authored
Jun 30, 2011
by
latham
Browse files
sql for iptables firewall
parent
59119c0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
install/sql/incremental/upd_0013.sql
0 → 100644
View file @
86bacc83
--
-- Table structure for table `iptables`
--
DROP
TABLE
IF
EXISTS
`iptables`
;
CREATE
TABLE
`iptables`
(
`iptables_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`server_id`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`table`
varchar
(
10
)
DEFAULT
NULL
COMMENT
'INPUT OUTPUT FORWARD'
,
`source_ip`
varchar
(
16
)
DEFAULT
NULL
,
`destination_ip`
varchar
(
16
)
DEFAULT
NULL
,
`protocol`
varchar
(
10
)
DEFAULT
'TCP'
COMMENT
'TCP UDP GRE'
,
`singleport`
varchar
(
10
)
DEFAULT
NULL
,
`multiport`
varchar
(
40
)
DEFAULT
NULL
,
`state`
varchar
(
20
)
DEFAULT
NULL
COMMENT
'NEW ESTABLISHED RECNET etc'
,
`target`
varchar
(
10
)
DEFAULT
NULL
COMMENT
'ACCEPT DROP REJECT LOG'
,
`active`
enum
(
'n'
,
'y'
)
NOT
NULL
DEFAULT
'y'
,
PRIMARY
KEY
(
`iptables_id`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
5
DEFAULT
CHARSET
=
utf8
;
install/sql/ispconfig3.sql
View file @
86bacc83
...
...
@@ -504,6 +504,27 @@ CREATE TABLE `help_faq_sections` (
-- --------------------------------------------------------
-- Table structure for table `iptables`
--
DROP
TABLE
IF
EXISTS
`iptables`
;
CREATE
TABLE
`iptables`
(
`iptables_id`
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
`server_id`
int
(
10
)
unsigned
NOT
NULL
DEFAULT
'0'
,
`table`
varchar
(
10
)
DEFAULT
NULL
COMMENT
'INPUT OUTPUT FORWARD'
,
`source_ip`
varchar
(
16
)
DEFAULT
NULL
,
`destination_ip`
varchar
(
16
)
DEFAULT
NULL
,
`protocol`
varchar
(
10
)
DEFAULT
'TCP'
COMMENT
'TCP UDP GRE'
,
`singleport`
varchar
(
10
)
DEFAULT
NULL
,
`multiport`
varchar
(
40
)
DEFAULT
NULL
,
`state`
varchar
(
20
)
DEFAULT
NULL
COMMENT
'NEW ESTABLISHED RECNET etc'
,
`target`
varchar
(
10
)
DEFAULT
NULL
COMMENT
'ACCEPT DROP REJECT LOG'
,
`active`
enum
(
'n'
,
'y'
)
NOT
NULL
DEFAULT
'y'
,
PRIMARY
KEY
(
`iptables_id`
)
)
ENGINE
=
MyISAM
AUTO_INCREMENT
=
5
DEFAULT
CHARSET
=
utf8
;
-- --------------------------------------------------------
--
-- Table structure for table `mail_access`
--
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment