Try n Error

Try n Error

Squid.conf with ZPH

Squid yang digunakan dalam contoh squid 2.7 Satble 3

acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8

acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network

acl SSL_ports port 443 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

icp_access allow localnet
icp_access deny all
Baca lebih lanjut

6 Agustus 2010 Posted by | Linux, mikrotik, ubuntu | , | 2 Komentar

Setting PPOE client for speedy with RB750G

Peralatan yang dibutuhkan :

1. Modem yang telah disetting dengan mode bridge

2. Routerboard (Dalam contoh ini  RB750G)

3. Komputer/Laptop untuk setting

Setelah semua peralatan tersedia masuk ke terminal mikrotik. Bisa menggunakan winbox / putty.

a. Set Interface

/ interface ethernet
set ether1 name=”lokal” mtu=1500 arp=enabled \
disable-running-check=yes auto-negotiation=yes full-duplex=yes \
cable-settings=default speed=100Mbps comment=”” disabled=no
set ether2 name=”modem” mtu=1500 arp=enabled \
disable-running-check=yes auto-negotiation=yes full-duplex=yes \
cable-settings=default speed=100Mbps comment=”” disabled=no

/ interface bridge
add name=”bridge1″ mtu=1500 arp=enabled priority=0x8000 \
max-message-age=20s \
forward-delay=15s comment=”” \
disabled=no

/ interface pppoe-client
add name=”akses internet” max-mtu=1480 max-mru=1480 interface=modem \
user=”1411********@telkom.net” password=”**********” profile=default \
service-name=”internet” ac-name=”” add-default-route=yes dial-on-demand=no \
use-peer-dns=no allow=pap,chap,mschap1,mschap2 disabled=no

b.  Set DNS

/ ip dns
set primary-dns=202.134.0.155 secondary-dns=202.134.2.5 \
allow-remote-requests=yes cache-size=2048KiB cache-max-ttl=1w

c. Set IP Address

/ ip address
add address=192.168.1.2/29 network=192.168.1.0 broadcast=192.168.1.7 \
interface=modem comment=”” disabled=no
add address=192.168.0.1/28 network=192.168.0.0 broadcast=192.168.0.15 \
interface=lokal comment=”” disabled=no

d.  Set firewall NAT (Network Address translation

/ ip firewall nat

add chain=srcnat out-interface=”akses internet” action=masquerade comment=”” \

disabled=no

Setting minimal telah selesai :-D.

Catatan : Apabila dari client masih belum bisa connect ke internet silahkan login melalui winbox dan aktifkan add default route pada ppp>akses internet > dial out

5 Agustus 2010 Posted by | Linux, mikrotik | , , , | Tinggalkan komentar