
tutorial simple buat gateway guna freebsd pf packet filter openbsd, sample untuk tesis kawan aku yg berada di KUKUM.dia guna Openbsd wooo.. secure gila… selamat mencuba. nnt aku add untuk snort inline. ids+ips..
modem+router ip 192.168.1.1 dan FreeBSD selaku gateway number 2 NIC1: 192.168.1.5 NIC 2: 192.168.0.1
1. mula2 tambah ayat ni dalam kernel config:
device if_bridge #Bridge interface
device pf #PF OpenBSD packet-filter firewall
device pflog #logging support interface for PF
device pfsync #synchronization interface for PF
device carp #Common Address Redundancy Protocol
#device ppp #Point-to-point protocol
#options PPP_BSDCOMP #PPP BSD-compress support
#options PPP_DEFLATE #PPP zlib/deflate/gzip support
#options PPP_FILTER #enable bpf filtering (needs bpf)
options ALTQ
options ALTQ_CBQ # Class Bases Queuing (CBQ)
options ALTQ_RED # Random Early Detection (RED)
options ALTQ_RIO # RED In/Out
options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC)
options ALTQ_PRIQ # Priority Queuing (PRIQ)
lepas recompile isi plak yg ni dalam sysctl.conf
Posted by syiron
Posted by syiron