Keresés

Új hozzászólás Aktív témák

  • _kovi_

    aktív tag

    válasz grabber #19551 üzenetére

    /interface bridge
    add name=bridge
    /interface wireless
    set [ find default-name=wlan2 ] ssid=home
    /interface wireless security-profiles
    set [ find default=yes ] supplicant-identity=MikroTik
    add authentication-types=wpa2-psk mode=dynamic-keys name=profile1 \

    /interface wireless
    set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce \
    disabled=no frequency=auto hide-ssid=yes mode=ap-bridge security-profile=\
    profile1 ssid=hnet wps-mode=disabled
    /ip pool
    add name=dhcp_pool0 ranges=192.168.0.50-192.168.0.90
    /ip dhcp-server
    add address-pool=dhcp_pool0 disabled=no interface=bridge name=dhcp1
    /interface bridge port
    add bridge=bridge interface=ether2
    add bridge=bridge interface=ether3
    add bridge=bridge interface=ether4
    add bridge=bridge interface=ether5
    add bridge=bridge interface=wlan1
    /interface bridge settings
    set use-ip-firewall=yes
    /ip address
    /ip dhcp-client
    add disabled=no interface=ether1
    /ip dhcp-server lease
    add address=192.168.0.50 client-id=
    /ip dhcp-server network
    add address=192.168.0.0/24 gateway=192.168.0.1
    /ip dns
    set allow-remote-requests=yes
    /ip firewall filter
    add action=drop chain=input connection-state=invalid in-interface=ether1
    add action=accept chain=input in-interface=ether1 protocol=udp src-port=53
    add action=accept chain=input connection-state=established,related \
    in-interface=ether1
    add action=accept chain=forward connection-state=established,related
    add action=fasttrack-connection chain=forward connection-state=\
    established,related out-interface=ether1
    add action=drop chain=forward connection-state=invalid
    /ip firewall nat
    add action=masquerade chain=srcnat out-interface=ether1
    add action=dst-nat chain=dstnat comment="qBittorrent port" in-interface=ether1 \
    protocol=tcp to-addresses=192.168.0x
    /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 service
    set telnet disabled=yes
    set ftp disabled=yes
    set ssh disabled=yes
    set api disabled=yes
    set api-ssl disabled=yes
    /system clock
    set time-zone-name=Europe/Budapest
    /system identity
    set name=Mikrotik

  • Adamo_sx

    aktív tag

    válasz grabber #19551 üzenetére

    Vagy inkább feltenni a pastebin-re és ide csak linkelni, hogy ne váljon olvashatatlanná a fórum.

Új hozzászólás Aktív témák