Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[DUP] firewall(-script)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  

welche(s) firewall(-script)?
firehol
0%
 0%  [ 0 ]
firestarter
0%
 0%  [ 0 ]
fwbuilder
0%
 0%  [ 0 ]
giptables
0%
 0%  [ 0 ]
gshield
0%
 0%  [ 0 ]
ipkungfu
0%
 0%  [ 0 ]
knetfilter
0%
 0%  [ 0 ]
shorewall
28%
 28%  [ 2 ]
andere(s)
28%
 28%  [ 2 ]
keine(s)
42%
 42%  [ 3 ]
Total Votes : 7

Author Message
lolli78
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 162
Location: Europe

PostPosted: Sun Mar 07, 2004 11:05 pm    Post subject: [DUP] firewall(-script) Reply with quote

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
View user's profile Send private message
sirro
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1472
Location: aachen.nrw.de.eu

PostPosted: Sun Mar 07, 2004 11:14 pm    Post subject: Reply with quote

[x] Keins

FYI: Eine ähnliche Umfrage hatten wir vor kurzem:
https://forums.gentoo.org/viewtopic.php?t=106679
Back to top
View user's profile Send private message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Sun Mar 07, 2004 11:32 pm    Post subject: Reply with quote

[x] Keins

FYI: Eine ähnliche Umfrage hatten wir vor kurzem:
https://forums.gentoo.org/viewtopic.php?t=106679
Back to top
View user's profile Send private message
tacki
Guru
Guru


Joined: 29 Jun 2002
Posts: 418
Location: Germany

PostPosted: Mon Mar 08, 2004 12:04 am    Post subject: Reply with quote

[x] Keins

dito ;)
_________________
"Kazaa ist der beste MP3-Player den es gibt!"
.o( ... )
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Mon Mar 08, 2004 12:12 am    Post subject: Reply with quote

[x] shorewall

ansonsten:
FYI: Eine ähnliche Umfrage hatten wir vor kurzem:
https://forums.gentoo.org/viewtopic.php?t=106679
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
Gorgone
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 100

PostPosted: Mon Mar 08, 2004 12:25 am    Post subject: Reply with quote

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
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Mon Mar 08, 2004 3:02 am    Post subject: Reply with quote

[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. ;)
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum