inilah konfigurasi secara singkat untuk membuat server linux vyatta
#Set
interfaces Ethernet eth0 address 192.168.1.205/24
#Set
interfaces Ethernet eth1 address 192.168.2.50/24
#Set
system gateway-address 192.168.1.1
#Set
system host-name masmur
#Set
system domain-name masmur.com
#Set
system name-server 203.130.193.74
#Commit
#Save
#Set
service nat rule 1 source address 192.168.2.50-192.168.2.70
#Set
service nat rule 1 outbound-interfaces eth0
#Set
service nat rule 1 type masquerade
#Commit
#Save
#Set
service dns forwarding listen-on eth1
#Set
service dns forwarding name-server 203.130.193.74
#Commit
#Save
#Set
service webproxy cache-size 10000
#Set
service webproxy listen-address 192.168.2.50
#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 established enable
#Commit
#Save
#Set
service webproxy url-filtering squidguard local-block facebook.com
#Set
service webproxy url-filtering squidguard local-block youtube.com
#Commit
#save
cara
mereset :
#load
/opt/vyatta/etc/config.boot.default
Tidak ada komentar:
Posting Komentar