sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat...
Transcript of sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat...
![Page 1: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/1.jpg)
![Page 2: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/2.jpg)
![Page 3: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/3.jpg)
![Page 4: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/4.jpg)
![Page 5: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/5.jpg)
![Page 6: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/6.jpg)
![Page 7: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/7.jpg)
![Page 8: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/8.jpg)
![Page 9: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/9.jpg)
![Page 10: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/10.jpg)
![Page 11: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/11.jpg)
[admin@MikroTik] > interface set 0 name=wan
[admin@MikroTik] > interface set 1 name=lan
[admin@MikroTik] > ip address add address=192.168.1.24/24 interface=wan
[admin@MikroTik] > ip address add address=192.168.100.1/24 interface=lan
[admin@MikroTik] > ip address add address=192.168.200.1/24 interface=wlan1
[admin@MikroTik] > ip dns set server=8.8.8.8,8.8.4.4 allow-remote-requests=yes
[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade
[admin@MikroTik] > ip route add gateway=192.168.1.254
[admin@MikroTik] > ping 192.168.1.254
SEQ HOST SIZE TTL TIME STATUS
0 192.168.1.254 56 254 1ms
1 192.168.1.254 56 254 0ms
![Page 12: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/12.jpg)
2 192.168.1.254 56 254 0ms
sent=3 received=3 packet-loss=0% min-rtt=0ms avg-rtt=0ms max-rtt=1ms
[admin@MikroTik] > ip dhcp-server setup
Select interface to run DHCP server on
dhcp server interface: lan
Select network for DHCP addresses
dhcp address space: 192.168.100.0/24
Select gateway for given network
gateway for dhcp network: 192.168.100.1
Select pool of ip addresses given out by DHCP server
addresses to give out: 192.168.100.2-192.168.100.100
Select DNS servers
dns servers: 8.8.8.8,8.8.4.4
Select lease time
lease time: 3d
[admin@MikroTik] > ip dhcp-server setup
Select interface to run DHCP server on
![Page 13: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/13.jpg)
dhcp server interface: wlan1
Select network for DHCP addresses
dhcp address space: 192.168.200.0/24
Select gateway for given network
gateway for dhcp network: 192.168.200.1
Select pool of ip addresses given out by DHCP server
addresses to give out: 192.168.200.2-192.168.200.100
Select DNS servers
dns servers: 8.8.8.8,8.8.4.4
Select lease time
lease time: 3d
[admin@MikroTik] > ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=dst-nat to-address=192.168.100.1 to-port=8080
[admin@MikroTik] > ip firewall nat add chain=dstnat protocol=tcp dst-port=80 action=dst-nat to-address=192.168.200.1 to-port=8080
[admin@MikroTik] > ip proxy access add path=*.mp3 action=deny
[admin@MikroTik] > ip proxy access add path=*.mkv action=deny
[admin@MikroTik] >
![Page 14: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/14.jpg)
![Page 15: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/15.jpg)
![Page 16: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/16.jpg)
![Page 17: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/17.jpg)
![Page 18: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/18.jpg)
![Page 19: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/19.jpg)
![Page 20: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/20.jpg)
![Page 21: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/21.jpg)
![Page 22: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/22.jpg)
![Page 23: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/23.jpg)
![Page 24: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/24.jpg)
![Page 25: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/25.jpg)
![Page 26: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/26.jpg)
![Page 27: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/27.jpg)
![Page 28: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/28.jpg)
![Page 29: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/29.jpg)
![Page 30: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/30.jpg)
![Page 31: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/31.jpg)
![Page 32: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/32.jpg)
![Page 33: sulax.files. file · Web view[admin@MikroTik] > ip firewall nat add chain=srcnat out-interface=wan action=masquerade](https://reader036.fdocuments.us/reader036/viewer/2022081513/5a7828a87f8b9a93088e648c/html5/thumbnails/33.jpg)