01 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
02 | Jasa Setting Online Mikrotik dan Lusca Proxy |
11 | IP Modem : 192.168.1.1 |
12 |
13 | Setting Mikrotik |
14 | ============= |
15 |
16 | Menghapus Konfigurasi Default Mikrotik |
17 | ================================ |
18 |
19 | 1. Login melalui Winbox |
20 | 2. Pilih menu New Terminal |
21 | 3. Ketik perintah dibawah ini : |
22 | /system reset |
23 | y |
24 |
25 | maka router akan disconnect |
26 | 4. Login kembali menggunakan Winbox |
27 | 5. Klik tombol Remove Configuration |
28 |
29 |
30 | Setting Router Gateway |
31 | =================== |
32 |
33 | Petunjuk |
34 | ------------ |
35 | 1. Login melalui Winbox |
36 | 2. Pilih menu New Terminal |
37 | 3. Copy Paste skrip dibawah ini : |
38 |
39 | Set interface ethernet |
40 | ------------------------------- |
41 |
42 | /interface ethernet |
43 | set 0 name=ether1-public |
44 | set 1 name=ether2-local |
45 | set 2 name=ether3 |
46 | set 3 name=ether4 |
47 | set 4 name=ether5 |
48 |
49 | Set interface IP Address |
50 | ---------------------------------- |
51 |
52 | /ip address |
53 | add address=192.168.1.2/24 disabled=no interface=ether1-public |
54 | add address=192.168.2.1/24 disabled=no interface=ether2-local |
55 |
56 |
57 | Set Route |
58 | -------------- |
59 |
60 | /ip route |
61 | add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=30 target-scope=10 |
62 |
63 | Set NAT Masquerade |
64 | ------------------------------ |
65 |
66 | /ip firewall nat |
67 | add action=masquerade chain=srcnat disabled=no out-interface=ether1-public |
68 |
69 | Set DNS |
70 | ------------ |
71 |
72 | /ip dns |
73 | set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=51 |
74 | 202.134.1.10 |
75 |
76 |
77 | Setting Komputer Klien Warnet |
78 | ======================== |
79 |
80 | IP Config : |
81 | ---------------- |
82 |
83 | IP Address : 192.168.2.2 |
84 | Subnet Mask : 255.255.255.0 |
85 | Gateway : 192.168.2.1 |
86 | Preferred DNS Server : 192.168.2.1 |
Tidak ada komentar:
Posting Komentar