Ich möche euch heute erklären wie man IPFW2+P2P Firewall auf FreeBSD Installiert.
Natürliche Via SSH.
1)
2)Quote:
# cd /etc
# ee rc.conf
Danach schreibt ihr das rein
So nun...Quote:
firewall_enable="YES"
firewall_quiet="NO"
firewall_type="/etc/firewall.conf"
firewall_flags="-p /usr/bin/cpp"
gateway_enable="YES"
natd_enable="YES"
natd_interface="xl1"
natd_flags=""
3)Quote:
# cd /etc/
# fetch
# fetch
# fetch
# fetch
Und dort tragt ihr das reinQuote:
# /usr/src/sys/i386/conf/GENERIC
4)Quote:
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_FORWARD
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options DUMMYNET
Danach werden und müssen die Kernel aufgebaut werden dazu das...
Danach Rebootet ihrQuote:
# cd /usr/src
# make buildkernel KERNCONF=GENERIC
# make installkernel KERNCONF=GENERIC
So nun kommen wir zu p2p firewall, den ersten teil haben wir fertig.
1)
Als erstes Ports installieren.
Wenn es fertig ist machen wir dasQuote:
# cd /usr/ports/archivers/unzip
# make config && make install && make clean
2)
Nun...Quote:
# cd /usr/local/sbin/
# fetch
# fetch
# chmod 744 blockfetch.sh blocklist.pl
3)Quote:
# /usr/local/sbin/blockfetch.sh
# /usr/local/sbin/blocklist.pl > /usr/local/etc/blocklist.conf
# /usr/bin/time /sbin/ipfw /usr/local/etc/blocklist.conf
Nachdem wir dies haben tun wir das...
4)Quote:
crontab -e
0 20 * * 6 /usr/local/sbin/blockfetch.sh && \
/usr/local/sbin/blocklist.pl > \
/usr/local/etc/blocklist.conf
Jetzt sind wir fertig.Quote:
# cd /usr/local/etc/rc.d/
# fetch
# chmod 744 blockload.sh
Da ich in epvp nichts gefunden habe, habe ich es nun veröffentlicht.
Ich hoffe, ich habe euch weiter geholfen.
Über eine bedankung würde ich mich freuen.
Sry für den falschen bereich.
Mit freundliche grüße,
Break.