Thread View: ch.comp.os.linux
3 messages
3 total messages
Started by Roger Caspar
Mon, 26 Apr 1999 00:00
Frage Firewall (ipfwadm)
Author: Roger Caspar
Date: Mon, 26 Apr 1999 00:00
Date: Mon, 26 Apr 1999 00:00
27 lines
1279 bytes
1279 bytes
Ich versuche mittels folgenden Befehlen Ports zu sperren/freizugeben ipfwadm -I -f ipfwadm -O -f ipfwadm -F -f ipfwadm -I -p deny ipfwadm -O -p deny ipfwadm -F -p deny ipfwadm -0 -a deny -o -W eth0 -D 0.0.0.0/0 11 ipfwadm -I -a deny -o -W eth0 -S 0.0.0.0/0 11 ipfwadm -F -a accept -m -b -P tcp -S 192.168.0.0/24 -D 0.0.0.0/0 80 ipfwadm -I -a accept -P tcp -W eth0 -k -S 0.0.0.0/0 80 ipfwadm -O -a accept -P tcp -W eth0 -D 0.0.0.0/0 80 Er gibt jedoch nur zur�ck invalid port/services!! Woran kann das liegen!! Man muss doch nicht zuerst definieren welche Ports auf diese Maschine laufen, oder?? Danke f�r Tips Gruss Roger
Re: Frage Firewall (ipfwadm)
Author: Christof Buergi
Date: Mon, 26 Apr 1999 00:00
Date: Mon, 26 Apr 1999 00:00
22 lines
1573 bytes
1573 bytes
In article <37244BBD.7ECC4786@hotmail.com>,
Roger Caspar <casproge@hotmail.com> writes:
> ipfwadm -0 -a deny -o -W eth0 -D 0.0.0.0/0 11
> ipfwadm -I -a deny -o -W eth0 -S 0.0.0.0/0 11
Die beiden Zeilen sind unnoetig. Du hast ja bereits grundsaetzlich
alles gesperrt.
> ipfwadm -F -a accept -m -b -P tcp -S 192.168.0.0/24 -D 0.0.0.0/0 80
^^
Auf den kannst du auch verzichten. Masquerading ist sowieso immer
bidirektional.
> Er gibt jedoch nur zur�ck invalid port/services!!
Hmmm... welche Kernelversion?
--
Christof Buergi | cbuergi@buergi.lugs.ch
| http://tristan.discordia.ch/
----------------------------------------------------------------------------
"We're like gerbils. We're in a cage running around and around."
Re: Frage Firewall (ipfwadm)
Author: Stefan Haller
Date: Fri, 30 Apr 1999 00:00
Date: Fri, 30 Apr 1999 00:00
25 lines
1051 bytes
1051 bytes
Hallo Roger Caspar wrote: > > Ich versuche mittels folgenden Befehlen Ports zu sperren/freizugeben > ... > > Er gibt jedoch nur zur�ck invalid port/services!! > > Woran kann das liegen!! Ab Kernel 2.2.x funktioniert ipfwadm nicht mehr. Lies dazu das neueste Firewall-HOWTO. Dort wird auf ipchains, wie das neue Progi heisst, verwiesen. Wenn du einen 2.0.x Kernel hast, kann ich dir nicht helfen. Gruss Stefan -- "Those are my principles! And if you don't like them... well, I have others..." -- Groucho Marx
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads