Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncschool
/
ncfilters
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4635feb2
authored
May 19, 2017
by
vuj
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'master'
Spelling Fix siptables See merge request !2
2 parents
42932c55
e00bda3e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
include/classes/Sytemoutput.php
include/classes/Sytemoutput.php
View file @
4635feb
...
...
@@ -55,7 +55,7 @@ class Sytemoutput {
}
else
{
file_put_contents
(
FWFILENAME
,
'iptables -t nat -A PREROUTING --src '
.
$value
[
'ip'
]
.
'-i eth1 -p udp --dport 53 -j REDIRECT --to-port 5335 '
.
PHP_EOL
,
FILE_APPEND
);
}
file_put_contents
(
FWFILENAME
,
'
s
iptables -t nat -A PREROUTING --src '
.
$value
[
'ip'
]
.
'-i eth1 -p tcp --dport 53 -j REDIRECT --to-port 5335 '
.
PHP_EOL
,
FILE_APPEND
);
file_put_contents
(
FWFILENAME
,
'iptables -t nat -A PREROUTING --src '
.
$value
[
'ip'
]
.
'-i eth1 -p tcp --dport 53 -j REDIRECT --to-port 5335 '
.
PHP_EOL
,
FILE_APPEND
);
}
$i
++
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment