Community discussions

MikroTik App
 
mantas
just joined
Topic Author
Posts: 3
Joined: Sun Feb 26, 2023 12:10 pm

No facebook or twitter via AP?!

Sun Feb 26, 2023 12:16 pm

Hi All,

Hope you are all well.

I have an a mystery I am too dumb to solve. No facebook or twitter via AP. RB3011 has got a wireless router that's actually acting as a wireless access point. Some clients use wires connections some wireless. Wireless users cannot access facebook or twitter. No specific firewall rule.


/interface bridge
add admin-mac=E4:8D:8C:35:88:EC auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether1 ] advertise=\
10M-half,10M-full,100M-half,1000M-half,1000M-full,10000M-full
/caps-man interface
add disabled=no mac-address=00:00:00:00:00:00 master-interface=none name=cap1 \
radio-mac=00:00:00:00:00:00 radio-name=""
/caps-man security
add name=security1
/caps-man configuration
add datapath.bridge=bridge mode=ap name=cfg1 security=security1 ssid=\
BronzeAgePervert
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=dhcp interface=bridge name=defconf
/port
set 0 name=serial0
/caps-man manager
set ca-certificate=auto certificate=auto enabled=yes
/caps-man provisioning
add master-configuration=cfg1
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=ether9
add bridge=bridge comment=defconf interface=ether10
add bridge=bridge comment=defconf interface=sfp1
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=\
192.168.88.0
/ip arp
add address=169.254.161.180 interface=bridge mac-address=3C:A8:2A:B6:25:41
add address=192.168.88.1 interface=bridge mac-address=E4:8D:8C:35:88:EC
add address=192.168.88.129 interface=bridge mac-address=70:BC:10:92:C6:EF
add address=192.168.88.238 interface=bridge mac-address=78:DD:D9:4D:19:5F
add address=192.168.88.239 interface=bridge mac-address=08:55:31:05:C1:30
add address=192.168.88.240 interface=bridge mac-address=3C:A8:2A:B6:25:41
add address=192.168.88.241 interface=bridge mac-address=3E:EB:7E:34:B2:25
add address=192.168.88.242 interface=bridge mac-address=C6:80:88:2C:52:A4
add address=192.168.88.243 interface=bridge mac-address=AE:0B:38:92:35:77
add address=192.168.88.244 interface=bridge mac-address=E4:F8:9C:72:F7:09
add address=192.168.88.246 interface=bridge mac-address=D0:17:C2:5F:00:C8
add address=192.168.88.245 interface=bridge mac-address=44:17:93:26:94:FB
add address=192.168.88.247 interface=bridge mac-address=00:50:B6:EE:50:46
add address=192.168.88.248 comment="Sharp tv" interface=bridge mac-address=\
78:DD:D9:4D:19:5F
add address=192.168.88.249 comment="big pc" interface=bridge mac-address=\
4C:52:62:16:4F:02
add address=192.168.88.250 interface=bridge mac-address=08:55:31:05:C1:2F
add address=192.168.88.251 interface=bridge mac-address=08:55:31:05:C1:2E
add address=192.168.88.253 comment=NSA interface=bridge mac-address=\
5C:F4:AB:E7:CD:0F
add address=192.168.88.254 interface=bridge mac-address=08:C5:E1:D4:5A:C4
add address=192.168.88.237 interface=bridge mac-address=44:17:93:26:94:FB
add address=192.168.88.236 interface=bridge mac-address=3E:EB:7E:34:B2:25
add address=192.168.88.235 interface=bridge mac-address=08:C5:E1:D4:5A:C4
/ip dhcp-client
add comment=defconf interface=ether1
/ip dhcp-server lease
add address=192.168.88.254 client-id=\
41:6e:79:74:68:69:6e:67:40:73:6b:79:64:73:6c mac-address=\
08:C5:E1:D4:5A:C4 server=defconf
add address=192.168.88.253 client-id=1:5c:f4:ab:e7:cd:f mac-address=\
5C:F4:AB:E7:CD:0F server=defconf
add address=192.168.88.251 client-id=1:8:55:31:5:c1:2e mac-address=\
08:55:31:05:C1:2E server=defconf
add address=192.168.88.248 client-id=1:78:dd:d9:4d:19:5f comment=SharpTV \
mac-address=78:DD:D9:4D:19:5F server=defconf
add address=192.168.88.250 client-id=1:8:55:31:5:c1:2f comment="Mik AP" \
mac-address=08:55:31:05:C1:2F server=defconf
add address=192.168.88.240 client-id=1:3c:a8:2a:b6:25:41 mac-address=\
3C:A8:2A:B6:25:41 server=defconf
add address=192.168.88.239 client-id=1:8:55:31:5:c1:30 mac-address=\
08:55:31:05:C1:30 server=defconf
add address=192.168.88.249 mac-address=4C:52:62:16:4F:02
add address=192.168.88.237 comment=SOLAR mac-address=44:17:93:26:94:FB \
server=defconf
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf dns-server=192.168.88.1 gateway=\
192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
/ip firewall address-list
add address=192.168.88.2-192.168.88.254 list=allowed_to_router
add address=0.0.0.0/8 comment=RFC6890 list=not_in_internet
add address=172.16.0.0/12 comment=RFC6890 list=not_in_internet
add address=192.168.0.0/16 comment=RFC6890 list=not_in_internet
add address=10.0.0.0/8 comment=RFC6890 list=not_in_internet
add address=169.254.0.0/16 comment=RFC6890 list=not_in_internet
add address=127.0.0.0/8 comment=RFC6890 list=not_in_internet
add address=224.0.0.0/4 comment=Multicast list=not_in_internet
add address=198.18.0.0/15 comment=RFC6890 list=not_in_internet
add address=192.0.0.0/24 comment=RFC6890 list=not_in_internet
add address=192.0.2.0/24 comment=RFC6890 list=not_in_internet
add address=198.51.100.0/24 comment=RFC6890 list=not_in_internet
add address=203.0.113.0/24 comment=RFC6890 list=not_in_internet
add address=100.64.0.0/10 comment=RFC6890 list=not_in_internet
add address=240.0.0.0/4 comment=RFC6890 list=not_in_internet
add address=192.88.99.0/24 comment="6to4 relay Anycast [RFC 3068]" list=\
not_in_internet
/ip firewall filter
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment=\
"defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
disabled=yes in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related hw-offload=yes
add action=accept chain=forward comment=\
"defconf: accept established,related, untracked" connection-state=\
established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=drop chain=forward comment=\
"defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
connection-state=new in-interface-list=WAN
add action=accept chain=input comment="default configuration" \
connection-state=established,related
add action=accept chain=input src-address-list=allowed_to_router
add action=accept chain=input protocol=icmp
add action=drop chain=input disabled=yes
add action=fasttrack-connection chain=forward comment=FastTrack \
connection-state=established,related hw-offload=yes
add action=accept chain=forward comment="Established, Related" \
connection-state=established,related
add action=drop chain=forward comment="Drop invalid" connection-state=invalid \
log=yes log-prefix=invalid
add action=drop chain=forward comment=\
"Drop tries to reach not public addresses from LAN" dst-address-list=\
not_in_internet in-interface=bridge log=yes log-prefix=!public_from_LAN \
out-interface=!bridge
add action=drop chain=forward comment=\
"Drop incoming packets that are not NAT`ted" connection-nat-state=!dstnat \
connection-state=new in-interface=ether1 log=yes log-prefix=!NAT
add action=jump chain=forward comment="jump to ICMP filters" jump-target=icmp \
protocol=icmp
add action=drop chain=forward comment=\
"Drop incoming from internet which is not public IP" in-interface=ether1 \
log=yes log-prefix=!public src-address-list=not_in_internet
add action=drop chain=forward comment=\
"Drop packets from LAN that do not have LAN IP" in-interface=bridge log=\
yes log-prefix=LAN_!LAN src-address=!192.168.88.0/24
add action=accept chain=icmp comment="echo reply" icmp-options=0:0 protocol=\
icmp
add action=accept chain=icmp comment="net unreachable" icmp-options=3:0 \
protocol=icmp
add action=accept chain=icmp comment="host unreachable" icmp-options=3:1 \
protocol=icmp
add action=accept chain=icmp comment=\
"host unreachable fragmentation required" icmp-options=3:4 protocol=icmp
add action=accept chain=icmp comment="allow echo request" icmp-options=8:0 \
protocol=icmp
add action=accept chain=icmp comment="allow time exceed" icmp-options=11:0 \
protocol=icmp
add action=accept chain=icmp comment="allow parameter bad" icmp-options=12:0 \
protocol=icmp
add action=drop chain=icmp comment="deny all other types" disabled=yes
add action=add-dst-to-address-list address-list=fuckbook \
address-list-timeout=4d chain=forward content=.facebook.com disabled=yes
add action=add-dst-to-address-list address-list=fuckbook \
address-list-timeout=4d chain=forward content=.fbcdn.net disabled=yes
add action=add-dst-to-address-list address-list=fuckbook \
address-list-timeout=4d chain=forward content=.facebook.net disabled=yes
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
/ipv6 firewall address-list
add address=::/128 comment="defconf: unspecified address" list=bad_ipv6
add address=::1/128 comment="defconf: lo" list=bad_ipv6
add address=fec0::/10 comment="defconf: site-local" list=bad_ipv6
add address=::ffff:0.0.0.0/96 comment="defconf: ipv4-mapped" list=bad_ipv6
add address=::/96 comment="defconf: ipv4 compat" list=bad_ipv6
add address=100::/64 comment="defconf: discard only " list=bad_ipv6
add address=2001:db8::/32 comment="defconf: documentation" list=bad_ipv6
add address=2001:10::/28 comment="defconf: ORCHID" list=bad_ipv6
add address=3ffe::/16 comment="defconf: 6bone" list=bad_ipv6
add address=fd12:672e:6f65:8899::/64 list=allowed
add address=fe80::/16 list=allowed
add address=ff02::/16 comment=multicast list=allowed
/ipv6 firewall filter
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid
add action=accept chain=input comment="defconf: accept ICMPv6" protocol=\
icmpv6
add action=accept chain=input comment="defconf: accept UDP traceroute" port=\
33434-33534 protocol=udp
add action=accept chain=input comment=\
"defconf: accept DHCPv6-Client prefix delegation." dst-port=546 protocol=\
udp src-address=fe80::/10
add action=accept chain=input comment="defconf: accept IKE" dst-port=500,4500 \
protocol=udp
add action=accept chain=input comment="defconf: accept ipsec AH" protocol=\
ipsec-ah
add action=accept chain=input comment="defconf: accept ipsec ESP" protocol=\
ipsec-esp
add action=accept chain=input comment=\
"defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=input comment=\
"defconf: drop everything else not coming from LAN" in-interface-list=\
!LAN
add action=accept chain=forward comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=drop chain=forward comment=\
"defconf: drop packets with bad src ipv6" src-address-list=bad_ipv6
add action=drop chain=forward comment=\
"defconf: drop packets with bad dst ipv6" dst-address-list=bad_ipv6
add action=drop chain=forward comment="defconf: rfc4890 drop hop-limit=1" \
hop-limit=equal:1 protocol=icmpv6
add action=accept chain=forward comment="defconf: accept ICMPv6" protocol=\
icmpv6
add action=accept chain=forward comment="defconf: accept HIP" protocol=139
add action=accept chain=forward comment="defconf: accept IKE" dst-port=\
500,4500 protocol=udp
add action=accept chain=forward comment="defconf: accept ipsec AH" protocol=\
ipsec-ah
add action=accept chain=forward comment="defconf: accept ipsec ESP" protocol=\
ipsec-esp
add action=accept chain=forward comment=\
"defconf: accept all that matches ipsec policy" ipsec-policy=in,ipsec
add action=drop chain=forward comment=\
"defconf: drop everything else not coming from LAN" in-interface-list=\
!LAN
add action=accept chain=input comment="allow established and related" \
connection-state=established,related
add action=accept chain=input comment="accept ICMPv6" protocol=icmpv6
add action=accept chain=input comment="defconf: accept UDP traceroute" port=\
33434-33534 protocol=udp
add action=accept chain=input comment=\
"accept DHCPv6-Client prefix delegation." dst-port=546 protocol=udp \
src-address=fe80::/16
add action=accept chain=input comment="allow allowed addresses" \
src-address-list=allowed
add action=drop chain=input
add action=accept chain=forward comment=established,related connection-state=\
established,related
add action=drop chain=forward comment=invalid connection-state=invalid log=\
yes log-prefix=ipv6,invalid
add action=drop chain=forward log-prefix=IPV6
/system clock
set time-zone-name=Europe/London
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
 
mantas
just joined
Topic Author
Posts: 3
Joined: Sun Feb 26, 2023 12:10 pm

Re: No facebook or twitter via AP?!

Sun Feb 26, 2023 12:33 pm

Bit of an update.

Basically clients using the AP (wireless) for some reason are using ISP DNS rather than set by me.

Whaaat?
 
mantas
just joined
Topic Author
Posts: 3
Joined: Sun Feb 26, 2023 12:10 pm

Re: No facebook or twitter via AP?!

Sun Feb 26, 2023 12:39 pm

Ok, I'm sorry for posting, basically I solved the problem. Apologies.

I had the ISP block certain things from my IP. My own fault here

Who is online

Users browsing this forum: CGGXANNX, cmmike, sebus46 and 52 guests