Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
p=258
http://opensource.telkomspeedy.com/forum/viewtopic.php?pid=122506
#------------------------------------------------------------------------------E1 Modem1 : 192.168.77.1 -> IP Modem1 : 192.168.77.2
E2 Server : 192.168.88.1 -> IP Server : 192.168.88.2
E3 Hotspot : 192.168.99.1 -> IP Hotspot : 192.168.99.10 - 192.168.99.250
E4 Labkom : 10.10.10.254 -> IP Labkom : 10.10.10.1 - 10.10.10.20
#-----------------------------------------------------------------------------------------------------[ mikrotik routerboard ]
-----------------------E1 E2 E3 E4
| | | |
192.168.77.2
| | | |
10.10.10.x
-------------| | | |
-----------[ modem adsl ]------| | | |------[ labkom ]
-------------| |
-----------| |
-------------| |
------------[ hub/switch ]---------| |---------[ hotspot ]
-------------------------|
192.168.99.x
-------------[ edp server ]
-------------192.168.88.2
-------------------------------------------------------------------------------# Setting Interface
-------------------------------------------------------------------------------/interface
set ether1 name=Modem1
set ether2 name=Server
set ether3 name=Hotspot
set ether4 name=Labkom
print
/ip address
add disabled=no interface=Modem1
7.0 broadcast=192.168.77.255
add disabled=no interface=Server
8.0 broadcast=192.168.88.255
add disabled=no interface=Hotspot
9.0 broadcast=192.168.99.255
add disabled=no interface=Labkom
0
broadcast=10.10.10.255
print
address=192.168.77.1/24 network=192.168.7
address=192.168.88.1/24 network=192.168.8
address=192.168.99.1/24 network=192.168.9
address=10.10.10.254/24 network=10.10.10.
set
set
set
set
set
set
set
set
set
set
parent-proxy-port=0
cache-administrator="webmaster@stmikpasim.ac.id"
max-cache-size=unlimited
cache-on-disk=yes
max-client-connections=600
max-server-connections=600
max-fresh-time=3d
serialize-connections=no
always-from-cache=no
cache-hit-dscp=4
/ip
add
add
add
firewall nat
chain=dstnat protocol=tcp dst-port=80 action=redirect to-ports=8080
chain=dstnat protocol=tcp dst-port=3128 action=redirect to-ports=8080
chain=dstnat protocol=tcp dst-port=8080 action=redirect to-ports=8080
mv
mv
mv
mv
/etc/squid/squid.conf.asli
/tmp/storeurl.pl /etc/squid/
/tmp/konfig_squid_lusca/squid.conf /etc/squid/
/tmp/konfig_squid_lusca/squid.conf.pl /etc/squid/