Sei sulla pagina 1di 2

/ip /ip /ip /ip

service service service service

set set set set

ftp port=2116 ssh port=2216 telnet port=2316 www port=8016

/tool netwatch add comment="" disabled=no down-script="/ip firewall nat disable [find comment=f-over-nat] ;" host=197.9.22.254 interval=1s timeout=1s up-script= "/ip firewall nat enable [find comment=f-over-nat] ;" /interface /interface /interface /interface /interface comment comment comment comment comment numbers=ether1 comment=Wan numbers=ether2 comment="Lan Static" numbers=ether3 comment="Lan DHCP" numbers=ether4 comment=Proxy numbers=wlan1 comment=Hotspot

/ip address add address=30.7.80.30/30 comment="IP Wan" disabled=no interface=eth er1 /ip address add address=192.168.7.1/24 interface= ether2 broadcast=192.168.7.254 network=192.168.7.0 comment="IP Lan Static" /ip address add address=192.168.8.1/24 interface= ether3 broadcast=192.168.8.254 network=192.168.7.0 comment="IP Lan DHCP" /ip address add address=192.168.9.1/24 interface= wlan1 broadcast=192.168.9.254 network=192.168.7.0 comment="Hotspot" /ip address add address=197.9.22.253/30 comment="Ip Proxy" disabled=no interface =ether4 comment="IP Proxy" /ip dns set servers=8.8.8.8,8.8.4.4 allow-remote-requests=yes /ip dns l=12h /ip dns = 1d /ip dns = 1d /ip dns = 1d static add address=197.9.22.254 disabled=no name=belviaproxy.bagusnet tt static add address=192.168.7.1 disabled=no name=box7.bagusnet.net.id ttl static add address=192.168.8.1 disabled=no name=box8.bagusnet.net.id ttl static add address=192.168.9.1 disabled=no name=box9.bagusnet.net.id ttl

/ip route add dst-address=0.0.0.0/0 gateway=30.7.80.29 /ip firewall nat add action=dst-nat chain=dstnat comment=f-over-nat disabled=yes dst-port=80,81,8080,8081,8088,3128 in-interface=ether2 protocol=tcp src-address =192.0.0.0/8 to-addresses=197.9.22.254 to-ports=3128 /ip firewall nat add action=dst-nat chain=dstnat comment="ssh ke proxy" disabled =no dst-port=220 protocol=tcp to-addresses=197.9.22.254 to-ports=22 /ip firewall nat add action=masquerade chain=srcnat comment="" disabled=no /ip firewall filter add action=accept chain=forward comment="Upload Accept" disa bled=no limit=300,300 src-address=192.0.0.0/8 /ip firewall filter add action=drop chain=forward comment="Upload Drop" disabled =no src-address=192.0.0.0/8 /ip firewall filter add action=accept chain=forward comment="Download Accept" di sabled=no dst-address=192.0.0.0/8 limit=300,300 /ip firewall filter add action=drop chain=forward comment="Download Drop" disabl ed=no dst-address=192.0.0.0/8 /system identity set name="Router Upto" /tool graphing set page-refresh=300 store-every=5min /tool graphing interface add allow-address=0.0.0.0/0 disabled=no interface=ether 1 store-on-disk=yes

/tool graphing interface add allow-address=0.0.0.0/0 disabled=no interface=ether 2 store-on-disk=yes /interface wireless set wlan1 name=hotspot-wifi mode=ap-bridge band=2ghz-b/g ssi d=belVR radio-name=hotspot-wifi preamble-mode=long tx-power-mode=card-rates tx-p ower=28 frequency-mode=manual-txpower frequency=2422 /ip /ip /ip /ip /ip /ip /ip /ip pool add name=dhcp_pool1 ranges=192.168.8.2-192.168.8.254 dhcp-server add name=dhcp1 interface=ether3 address-pool=dhcp_pool1 dhcp-server network add address=192.168.8.0/24 gateway=192.168.8.1 dhcp-server enable dhcp1 pool add name=hs-pool-4 ranges=192.168.9.2-192.168.9.254 dhcp-server add name=dhcp2 interface=hotspot-wifi address-pool=hs-pool-4 dhcp-server network add address=192.168.9.0/24 gateway=192.168.9.1 dhcp-server enable dhcp2

/ip hotspot profile add name=hsprof1 hotspot-address=192.168.9.1 dns-name=hotspo t.wifi login-by=http-chap /ip hotspot add name=hotspot1 interface=hotspot-wifi address-pool=hs-pool-4 prof ile=hsprof1 idle-timeout=00:05:00 addresses-per-mac=unlimited /ip hotspot user add name=belly password=belly /interface wireless enable hotspot-wifi /ip hotspot enable hotspot1 ____________________________________________________________________ /ip address add address=30.7.80.30/30 comment="IP Wan" disabled=no interface=eth er1 /ip service set ftp port=2116 /ip service set ssh port=2216 /ip service set telnet port=2316 /ip service set www port=8016 /ip address add address=192.168.1.1/24 interface= ether2 broadcast=192.168.1.254 network=192.168.1.0 comment="IP Lan Static" /ip dns set servers=121.101.189.186,8.8.8.8,8.8.4.4 allow-remote-requests=yes /ip route add dst-address=0.0.0.0/0 gateway=30.7.80.29 /ip firewall nat add action=masquerade chain=srcnat comment="" disabled=no /system identity set name="Router Isra" /tool graphing set page-refresh=300 store-every=5min /tool graphing interface add allow-address=0.0.0.0/0 disabled=no interface=ether 1 store-on-disk=yes /tool graphing interface add allow-address=0.0.0.0/0 disabled=no interface=ether 2 store-on-disk=yes

Potrebbero piacerti anche