Sir_Benito schreef op donderdag 8 oktober 2020 @ 19:30:
Hallo,
Is er iemand die mijn kan helpen, ik heb de volgende configuratie in mijn Mikrotik 960PGS draaien.
Ik heb wel internet maar ik krijg er geen IPTV uit, de amino aria 7x maakt wel verbinding maar krijg geen beeld.
# oct/08/2020 17:04:19 by RouterOS 6.47.4
# software id = N11Y-F1N6
#
# model = 960PGS
# serial number = 78D207ECB07F
/interface l2tp-server
/interface bridge
add fast-forward=no igmp-snooping=yes name=Bridge_Lan protocol-mode=none
/interface ethernet
set [ find default-name=ether1 ] comment="Uplink to IPTV" l2mtu=1592
set [ find default-name=ether2 ] arp=proxy-arp comment="Uplink to SW01"
set [ find default-name=ether3 ] comment="Uplink to SW02"
set [ find default-name=ether4 ] comment="Uplink to NAS"
set [ find default-name=ether5 ] comment="Camera Voordeur"
set [ find default-name=sfp1 ] advertise=\
10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full
/interface gre
add allow-fast-path=no comment="Tunnel to Home" ipsec-secret=\
hANdYcXLzTeYDXdHIYub !keepalive name=gre-tunnel0 remote-address=\
d1260bbc50cb.sn.mynetname.net
/interface vlan
add arp=proxy-arp comment=Internet interface=sfp1 loop-protect=off name=\
sfp1.100 vlan-id=100
add comment=IPTV interface=sfp1 loop-protect=off name=sfp1.101 vlan-id=101
add interface=Bridge_Lan name=vlan1218 vlan-id=1218
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip dhcp-client option
add code=60 name=IPTV_RG value="'IPTV_RG'"
/ip dhcp-server option
add code=28 name=option28-broadcast value="'192.168.6.255'"
add code=60 name=option60-vendorclass value="'IPTV_RG'"
/ip dhcp-server option sets
add name=IPTV options=option60-vendorclass,option28-broadcast
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip ipsec profile
set [ find default=yes ] enc-algorithm=aes-256,aes-128,3des
/ip pool
add name=dhcp ranges=192.168.6.100-192.168.6.200
add name=VPN_L2TP ranges=192.168.7.100-192.168.7.200
/ip dhcp-server
add address-pool=dhcp dhcp-option-set=IPTV disabled=no interface=Bridge_Lan \
lease-time=1h30m name=dhcp-lan
/ppp profile
add dns-server=8.8.8.8,8.8.4.4 local-address=192.168.7.0 name=VPN_L2TP \
remote-address=VPN_L2TP use-encryption=required
set *FFFFFFFE dns-server=8.8.8.8,8.8.4.4
/routing bgp instance
set default disabled=yes
/user group
set full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,passw\
ord,web,sniff,sensitive,api,romon,dude,tikapp"
/interface bridge port
add bridge=Bridge_Lan interface=ether2
add bridge=Bridge_Lan interface=ether3
add bridge=Bridge_Lan interface=ether4
add bridge=Bridge_Lan interface=ether5
add bridge=Bridge_Lan hw=no interface=ether1
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/interface l2tp-server server
set caller-id-type=number default-profile=VPN_L2TP enabled=yes ipsec-secret=\
use-ipsec=required
/interface ovpn-server server
set auth=sha1 cipher=aes256
/ip address
add address=192.168.6.1/24 comment=Lan interface=Bridge_Lan network=192.168.6.0
add address=10.16.16.1/30 comment="Test GRE" interface=gre-tunnel0 network=\
10.16.16.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add default-route-distance=210 dhcp-options=IPTV_RG,hostname,clientid disabled=\
no interface=sfp1.101 use-peer-dns=no use-peer-ntp=no
add disabled=no interface=sfp1.100
/ip dhcp-server lease
add address=192.168.6.2 client-id=1:f0:9f:c2:f6:71:79 comment=\
"AP1 Begane Grond" mac-address=F0:9F:C2:F6:71:79 server=dhcp-lan
add address=192.168.6.3 client-id=1:f0:9f:c2:f3:b4:94 comment=\
"AP2 1ste Verdieping" mac-address=F0:9F:C2:F3:B4:94 server=dhcp-lan
add address=192.168.6.108 always-broadcast=yes client-id=1:0:3:e6:e9:5e:50 \
mac-address=00:03:E6:E9:5E:50 server=dhcp-lan
/ip dhcp-server network
add address=192.168.6.0/24 comment=Lan dhcp-option-set=IPTV dns-server=\
8.8.8.8,8.8.4.4 domain=thuis.local gateway=192.168.6.1 netmask=24 \
ntp-server=192.168.6.1
/ip dns
set servers=8.8.8.8,8.8.4.4
/ip firewall address-list
add address=192.168.6.0/24 comment="Local Lan subnet" list=local
/ip firewall filter
add action=accept chain=input comment="Accept input GRE Tunnel" in-interface=\
gre-tunnel0
add action=accept chain=input comment=L2TP_VPN dst-port=1701 protocol=udp
add action=accept chain=input comment=L2TP_VPN dst-port=4500 protocol=udp
add action=accept chain=input comment=L2TP_VPN dst-port=500 protocol=udp
add action=accept chain=input protocol=ipsec-ah
add action=accept chain=forward protocol=ipsec-esp
add action=accept chain=input dst-port=25461 protocol=udp
add action=drop chain=input comment="drop BLACK LIST input chain" \
src-address-list=blacklist
add action=accept chain=input comment="Full access to SUPPORT" log-prefix=\
SUPPORT src-address-list=support
add action=add-src-to-address-list address-list=knock address-list-timeout=15s \
chain=input dst-port=5235 protocol=tcp
add action=add-src-to-address-list address-list=safe address-list-timeout=15m \
chain=input dst-port=5325 protocol=tcp src-address-list=knock
add action=accept chain=input comment="accept established connection packets" \
connection-state=established
add action=accept chain=input comment="accept related connection packets" \
connection-state=related
add action=drop chain=input comment="drop invalid packets" connection-state=\
invalid
add action=accept chain=input comment=\
"Allow access to router from known network" src-address-list=safe
add action=drop chain=input comment="detect and drop port scan connections" \
protocol=tcp psd=21,3s,3,1
add action=tarpit chain=input comment="suppress DoS attack" connection-limit=\
3,32 protocol=tcp src-address-list=black_list
add action=add-src-to-address-list address-list=black_list \
address-list-timeout=1d chain=input comment="detect DoS attack" \
connection-limit=10,32 protocol=tcp
add action=jump chain=input comment="jump to chain ICMP" jump-target=ICMP \
protocol=icmp
add action=jump chain=input comment="jump to chain services" jump-target=\
services
add action=accept chain=input comment="Allow Broadcast Traffic" \
dst-address-type=broadcast
add action=accept chain=input src-address=192.168.7.100-192.168.7.200
add action=drop chain=input comment="drop everything else"
add action=log chain=input log-prefix=Filter:
add action=accept chain=ICMP comment="0:0 and limit for 5pac/s" icmp-options=\
0:0-255 limit=5,5:packet protocol=icmp
add action=accept chain=ICMP comment="3:3 and limit for 5pac/s" icmp-options=\
3:3 limit=5,5:packet protocol=icmp
add action=accept chain=ICMP comment="3:4 and limit for 5pac/s" icmp-options=\
3:4 limit=5,5:packet protocol=icmp
add action=accept chain=ICMP comment="8:0 and limit for 5pac/s" icmp-options=\
8:0-255 limit=5,5:packet protocol=icmp
add action=accept chain=ICMP comment="11:0 and limit for 5pac/s" icmp-options=\
11:0-255 limit=5,5:packet protocol=icmp
add action=drop chain=ICMP comment="Drop everything else" protocol=icmp
/ip firewall nat
add action=masquerade chain=srcnat comment="Lan to Wan NAT" out-interface=\
sfp1.100
add action=masquerade chain=srcnat comment="NAT L2TP/IPsec" out-interface=\
sfp1.100 src-address=192.168.7.0/24
# l2tp-in1 not ready
add action=masquerade chain=srcnat out-interface=l2tp-in1 src-address=\
192.168.6.0/24
add action=dst-nat chain=dstnat comment="NAT Synology Cam" dst-port=9901 \
in-interface=sfp1.100 protocol=tcp to-addresses=192.168.6.114 to-ports=9901
add action=dst-nat chain=dstnat comment="NAT Synology Cam" dst-port=5001 \
in-interface=sfp1.100 protocol=tcp to-addresses=192.168.6.114 to-ports=5001
add action=masquerade chain=srcnat comment="Hairpin NAT -> Synology NVR" \
dst-address=192.168.6.114 dst-port=9901 out-interface=Bridge_Lan protocol=\
tcp src-address=192.168.6.0/24
add action=dst-nat chain=dstnat comment="Hairpin NAT -> Synology NVR" \
dst-address=163.158.12.138 dst-port=9901 in-interface=Bridge_Lan protocol=\
tcp src-address=192.168.6.0/24 to-addresses=192.168.6.114 to-ports=9901
add action=masquerade chain=srcnat comment="Needed for IPTV" dst-address=\
217.166.0.0/16 out-interface=sfp1.101
add action=masquerade chain=srcnat dst-address=213.75.112.0/21 out-interface=\
sfp1.101
/ip firewall service-port
set ftp disabled=yes
set tftp disabled=yes
set irc disabled=yes
set h323 disabled=yes
set sip disabled=yes
set pptp disabled=yes
set udplite disabled=yes
set dccp disabled=yes
set sctp disabled=yes
/ip route
add comment="GRE-Route naar Home" distance=1 dst-address=192.168.16.0/24 \
gateway=10.16.16.2
/ip service
set telnet disabled=yes
set ftp disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/ip ssh
set allow-none-crypto=yes forwarding-enabled=remote
/ppp secret
add name=Benito password=******* profile=VPN_L2TP service=l2tp
/radius incoming
set accept=yes
/routing igmp-proxy
set quick-leave=yes
/routing igmp-proxy interface
add alternative-subnets=0.0.0.0/0 interface=sfp1.101 upstream=yes
add interface=Bridge_Lan
/system clock
set time-zone-name=Europe/Amsterdam
/system identity
set name=drthl6-gw01
/system ntp client
set enabled=yes primary-ntp=213.109.127.82 secondary-ntp=213.154.236.182 \
server-dns-names=0.nl.pool.ntp.org,1.nl.pool.ntp.org
/tool romon
set enabled=yes