-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathConfig.alter
57 lines (52 loc) · 1.37 KB
/
Config.alter
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Rename Sample .alter Config File For Mikrotik Remote Provision (For CaP Lite) to Config.alter
# Sample .alter Config File For Mikrotik Remote Provision (For CaP Lite)
# The File Extension Should be ".alter"
# and File Type Should be "3 Vendor Configuration File"
/interface bridge {
add arp=proxy-arp name=LAN
}
/interface wireless {
set [ find default-name=wlan1 ] arp=proxy-arp band=2ghz-g/n channel-width=20/40mhz-Ce disabled=no mode=ap-bridge ssid=VNS
}
/interface wireless security-profiles {
set [ find default=yes ] supplicant-identity=MikroTik
}
/interface bridge port {
add bridge=LAN interface=ether1
add bridge=LAN interface=wlan1
}
/ip dhcp-client {
add dhcp-options=hostname,clientid disabled=no interface=LAN
}
/ip dns {
set allow-remote-requests=yes
}
/ip firewall filter {
add action=accept chain=input comment="defconf: accept established,related" connection-state=established,related
}
/ip firewall nat {
add action=masquerade chain=srcnat
}
/snmp {
set enabled=yes trap-version=2
}
/system clock {
set time-zone-name=Asia/Dubai
}
/system identity {
set name=VNS-AP
}
/system logging {
add topics=debug,tr069
}
/tr069-client {
set acs-url=http://***ACSSERVERADDRESS***:7547 enabled=yes periodic-inform-interval=10s provisioning-code=AP
}
/interface pptp-client {
remove templink
}
/user { set [find name=admin] password=admin123
}
/ ip {
route remove 1
}