More Related Content
Similar to Configure System Identity, Wireless, Firewall and Hotspot Settings
Similar to Configure System Identity, Wireless, Firewall and Hotspot Settings (20)
Configure System Identity, Wireless, Firewall and Hotspot Settings
- 1. system identity set name=Aldiansyah
password
old password=
new password=admin
confirm pass=admin
interface
print
set 0 name=public
set 1 name=local
pr
wireless
enable numbers=0
pr
set number=0 ssid=Aldiansyah mode=ap-bridge Band 2ghz=b/g/n wireless-
protocol=any
#security-profile edit value-name=mode number=0
pr
/
ip address
add address=10.10.10.102/30 interface=public (absx4-2)
add address=192.168.50.1/27 interface=local
add address=10.10.10.1/24 interface=wlan1
pr
/
ip dns set servers=10.10.10.101 allow-remote-request=yes (absx4-3)
ip route add gateway=10.10.10.101 (absx4-3)
ping 8.8.8.8
ip dhcp-server setup
interface=local
range ipnya 192.168.50.2 - 192.168.50.26
dan seterusnya..
ip firewall nat add chain=srcnat out-interface=public action=masquerade
ip hotspot setup
interface=wlan1
import ganti dengan none
dns name=bardan.com
dan seterusnya..
ip hotspot profile set 0,1 login-by=http-chap
ip hotspot user profile add name=lim256 address-pool=hs-TAB shared-users=10
rate-limit=256k/256k transparent-proxy=yes
ip hotspot user profile add name=lim512 address-pool=hs-TAB shared-users=15
rate-limit=512k/512k transparent-proxy=yes
pr
/
ip hotspot user add name=bardan password=bardan profile=lim256 server=hotspot1
ip hotspot user add name=salam password=salam profile=lim512 server=hotspot1
pr
/
ip proxy set enabled=yes cache-administrator=bardan@smkn211sby.sch.id cache-on-
disk=yes
ip proxy access
add src-address=192.168.50.0/27 dst-host=*.facebook* action=deny + Hostspot
add src-address=192.168.77.33.0/24 (IP Hostspot) dst-host=*.youtube* action=deny
pr
/
................................................................................
................................................................................
........
ip firewall nat add chain=dstnat protocol=tcp dst-port=80,443,3128,8000
action=redirect to-ports=8080
......................................................atau......................
- 2. ................................................................................
....
ip firewall nat add chain=dstnat src-address=192.168.50.0/27 protocol=tcp dst-
port=80,3128,8000,443 action=redirect to-ports=8080
ip firewall nat add chain=dstnat src-address=10.10.10.0/24 protocol=tcp dst-
port=80,443,3128,8000 action=redirect to-ports=8080
..........................................................atau..................
................................................................................
.......
ip firewall nat add chain=dstnat protocol=tcp dst-port=53 action=redirect to-
ports=53
ip firewall nat add chain=dstnat protocol=udp dst-port=53 action=redirect to-
ports=53
ip firewall nat add chain=dstnat protocol=tcp dst-port=80,443,3128,8000
action=redirect to-ports=8080
................................................................................
................................................................................
.............
system reboot