projects
/
svn42.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Interrupt output pins
[svn42.git]
/
firewall.conf
1
#!/bin/bash
2
#Firewall Script by Bernhard Tittelbach
3
#get's sourced by /etc/init.d/firewall
4
5
start_firewall()
6
{
7
ip4 -I FORWARD -d $(resolveip -s tv.realraum.at 2>/dev/null || echo 89.106.215.58) -p tcp --syn --dport ! 22 -j REJECT
8
9
}
10
11
stop_firewall()
12
{
13
14
for table in INPUT FORWARD OUTPUT; do
15
ip4 -F $table
16
done
17
18
}
19