So its my first time mikrotik and i have this information. I have MikroTik RouterBoard 1100.
WAN: 1.1.9.195/26
GW: 1.1.9.252
DNS:1.1.0.1
Access only: 1.1.1.0/24 , 1.1.2.25/32
queue: 2.2.7.11-254
DHCP: ----"-----
NAT
L7 firewall facebook block
sip helper off
hairpin- 2.2.7.2
wan=eth11
lan=eth1-10
and from this i have to make config .
Thats what i have done so far.
- Wan port
/ip address
add address=1.1.9.195/26 interface=Ether11
/ip dns
set servers=1.1.0.1
/ip route
add gateway=1.1.9.252
-
l7 firewall fb block
/ip firewall layer7-protocol
add name=Block regexp=“^.+(youtube.com|facebook.com).*$”
/ip firewall filter
add action=reject chain=forward layer7-protocol=Block
-
Bridged eth1-10 to bridge1
4.stuck on dhcp
/ip dhcp-server
setup
dhcp server interface: ether1
dhcp address space:2.2.7.0/24
Gateway for dhcp network: 2.2.7.1
now it says There is no such ip network on selected interface.
- sip helper off
/ip firewall service-port disable sip
6.hairpin 2.2.7.2
/ip firewall nat
add chain=srcnat src-address=2.2.7.0/24
dst-address=2.2.7.2 protocol=tcp dst-port=80
out-interface=Bridge1 action=masquerade
Ignore the ips they are random.