View previous topic :: View next topic |
welche(s) firewall(-script)? |
firehol |
|
0% |
[ 0 ] |
firestarter |
|
0% |
[ 0 ] |
fwbuilder |
|
0% |
[ 0 ] |
giptables |
|
0% |
[ 0 ] |
gshield |
|
0% |
[ 0 ] |
ipkungfu |
|
0% |
[ 0 ] |
knetfilter |
|
0% |
[ 0 ] |
shorewall |
|
28% |
[ 2 ] |
andere(s) |
|
28% |
[ 2 ] |
keine(s) |
|
42% |
[ 3 ] |
|
Total Votes : 7 |
|
Author |
Message |
lolli78 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/10154337714005d800680fb.jpg)
Joined: 14 Jan 2004 Posts: 162 Location: Europe
|
Posted: Sun Mar 07, 2004 11:05 pm Post subject: [DUP] firewall(-script) |
|
|
hallo,
welche(s) firewall(-script) könnt ihr empfehlen?
das szenario: linux-box, per dsl-flatrate _direkt_ am internet (-> kein nat). http-server und einige wenige andere web-dienste laufen.
als grafische oberfläche läuft zwar gnome, doch diese umfrage soll später mal auch für kde-user und für benutzer ohne x (z.b. auf routern) interessant sein.
danke für eure erfahrungen,
lorenz. _________________ frag' doch deinadmin.de |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sirro Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/156577888654a6624bb6682.png)
Joined: 20 Jul 2003 Posts: 1472 Location: aachen.nrw.de.eu
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Lenz Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/129311434645eb6965ba5be.jpg)
Joined: 17 Jul 2003 Posts: 1439 Location: Marburg [HE, D, EU]
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tacki Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/c38f86b63e2284a261c9c.jpg)
Joined: 29 Jun 2002 Posts: 418 Location: Germany
|
Posted: Mon Mar 08, 2004 12:04 am Post subject: |
|
|
[x] Keins
dito ![Wink ;)](images/smiles/icon_wink.gif) _________________ "Kazaa ist der beste MP3-Player den es gibt!"
.o( ... ) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
boris64 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/954263383428b2f96f3fa4.png)
Joined: 04 Oct 2003 Posts: 1770 Location: Vechelde/Peine
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gorgone Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/6th Day/movie_the_6th_day_adam_gibson.gif)
Joined: 10 Mar 2003 Posts: 100
|
Posted: Mon Mar 08, 2004 12:25 am Post subject: |
|
|
also ich find die tools alle einwenig daneben
ich hab erstmal alles zugenagelt und dann alles
einzeln wieder löchlein gemacht nur mit blank iptables
das ist meinermeinung nach das am leichtesten zu verstehende
da es am grundkernel ansetzt desweiteren ist bei mir alles
NICHTMODULAR im server mit kernelprotection
so is erstmal alles dicht (soweit wie möglich)
hier mal ein auszug
Code: |
#!/bin/sh
LOCALNET1=10.223.8.0/21
VPNNET=192.168.6.248/29
VPNGATE=192.168.6.250
Enrico=10.223.0.0/21
Dicker=10.223.8.30
Steffen=10.223.16.0/21
# iptables flushen
iptables -F
iptables -t nat -F
# ICMP erlauben
iptables -A INPUT -p icmp -j ACCEPT
# local steffen und enrico erlauben
iptables -A INPUT -s $LOCALNET1 -j ACCEPT
iptables -A INPUT -s $Steffen -j ACCEPT
iptables -A INPUT -s $Enrico -j ACCEPT
iptables -A INPUT -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT
# DICKER routing
iptables -t nat -A POSTROUTING -s $LOCALNET1 -d ! $LOCALNET1 -o ppp0 -j MASQUERADE
iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 113 -j DNAT --to $Dicker
iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 4242 -j DNAT --to $Dicker
iptables -t nat -A PREROUTING -p udp -i ppp0 --dport 4672 -j DNAT --to $Dicker
iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 4673 -j DNAT --to $Dicker
iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 2000:3000 -j DNAT --to $Dicker
# alles annehmen was von intern kommt und geht
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# alles von medianet blocken, ausser ah,esp,udp500
iptables -A INPUT -s $VPNNET -d $VPNGATE -p ah -j ACCEPT
iptables -A INPUT -s $VPNNET -d $VPNGATE -p esp -j ACCEPT
iptables -A INPUT -s $VPNNET -d $VPNGATE -p udp --dport 500 -j ACCEPT
# Logging
iptables -A INPUT -j LOG --log-prefix "(dropped)" --log-level info
iptables -P INPUT DROP
|
naja viel spass noch |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
amne Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/117771253447ad6e0ae3631.gif)
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Mon Mar 08, 2004 3:02 am Post subject: |
|
|
[x] Keins
FYI: Eine ähnliche Umfrage hatten wir vor kurzem:
https://forums.gentoo.org/viewtopic.php?t=106679
Da das Thema kein allzuhohes Innovationspotential hat mache ich den Thread zugunsten des oben inzwischen vier mal genannten Themas zu. ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|