A.IP MODEM 192.168.1.1
B. IP Internet 192.168.1.2/24
c. IP Lan 192.168.2.2/24 (internal)
d. domain name core.com
e. hostname core
f. Alamat DNS 203.134.193.74
---------------perintah konfigurasi-----------------------
#set intefaces ethernet eth0 address 192.168.1.2/24
#set intefaces ethernet eth1 address 192.168.2.2/24
#set system gateway-address 192.168.1.1
#set system host-name core
#set system domain-name core.com
#set system name-server 203.134.193.74
#commit
#save
#set service nat rule 1 source address 192.168.2.2-192.168.2.50
#set service nat rule 1 outbound-interface eth0
#set service nat rule 1 type masquerade
#commit
#save
#set service dns forwarding listen-on eth1
#set service dns forwarding name-server 203.134.193.74
#commit
#save
#set service webproxy cache-size 10000
#set service webproxy listen-address 192.168.2.2
#set service webproxy url-filtering squidguard local-ok all
#commit
#save
#set firewall name ALLOW_ESTABLISHED rule 10 action accept
#set firewall name ALLOW_ESTABLISHED rule 10 state estabilished enable
#commit
#save
0 komentar:
Posting Komentar