.interface print
.interface set ether1 name=modem
.interface set ether2 name=lan
.ip address add address=192.168.1.2/24 interface=modem
.ip addresss add address=192.168.50.1/24 interface=lan
.ip route add gateway=192.168.1.1
.ip dns set primary-dns=202.134.1.10 secondary-dns=202.134.0.155 allow-remote-request=yes
.ip pool add name=dhcp-pool ranges=192.168.50.2-192.168.50.10
.ip dhcp-server network add address=192.168.50.0/24 gateway=192.168.50.1 dns-server=202.134.1.10,202.134.0.155
.ip dhcp-server add name=dhcp-lan disabled=no interface=lan address-pool=dhcp-pool
.ip firewall nat add chain=srcnat action=masquerade out-interface=modem src-address=ip client
.ip proxy set enabled=yes
.ip proxy print
.ip web-proxy set enabled=yes hosname=smkn2banjar.sch.id cache-administrator=rikke@smkn2banjar.sch.id
transparent--proxy=yes max-cache-size=unlimited
.ip web-proxy access add url=www.yahoo.com action=deny disabled=no
.ip firewall nat add chain=dstnat action=redirect protocol= tcp dst-port=80 to-ports=3128 in-interface=lan
Monday, 5 March 2012
Script Microtic
Penulis
Satuan Brimob Polda Jabar News
Diterbitkan
09:33
Artikel Terkait
Subscribe to:
Post Comments
(
Atom
)
Emoticon Emoticon