15.5.07

Router FreeBSD

Router FreeBSD

edit kernel anda, tambahkan options seperti dibawah ini:

---------------kernel----------------------------

#natd

options IPDIVERT

#filter & transparant

options IPFILTER

options IPFILTER_LOG

options IPFIREWALL

options IPFIREWALL_VERBOSE

options IPFIREWALL_VERBOSE_LIMIT

options IPFIREWALL_FORWARD

#beberapa options lainnya untuk memacu performa

options NBUF=4096

options NMBCLUSTERS=8192

---------kernel---------------------------------

edit rc.conf Kompilasi Kernel

cd /usr/src/sys/i386/conf

config GENERIC

cd ../compile/GENERIC

make cleandepend && make depend && make && make install && reboot

-------------------------------------------------------------

----------rc.conf-------------------------------

#firewall ,

firewall_enable="YES"

firewall_type="OPEN"

gateway_enable="YES"

#natd (rl0 adalah lan ip luar / PUBLIC IP)

natd_enable="YES"

natd_interface="rl0"

inetd_enable="YES"

#named (untuk resolve dns)

named_enable="YES"

#squid

Squid_enable="YES"

zte c300 trunk mode

  gpon   profile tcont PPPOE type 4 maximum 9900000   profile tcont 100M type 4 maximum 100000   profile tcont 50M-TRUNK type 4 maximum 5000...