Помогите с настройками

Тема в разделе "Вопросы начинающих", создана пользователем DIPHENHYDRAMINE, 12 янв 2017.

  1. DIPHENHYDRAMINE

    DIPHENHYDRAMINE Новый участник

    не пинайте сильно я новичок...
    помогите с настройками....
    нужно чтобы NAS был виден всеми компами и через WiFi и доступ из вне
     

    Вложения:

  2. Kato

    Kato Участник

    Ну так начните с чего-нибудь.. Что настроили, как настроили..
     
  3. DIPHENHYDRAMINE

    DIPHENHYDRAMINE Новый участник

    да собственно еще ничего не делал..... ищу информацию с чего начать....

    настройки вот

    1:

    #
    /interface bridge
    add name=bridge1
    /ip hotspot profile
    set [ find default=yes ] html-directory=flash/hotspot
    /ip pool
    add name=dhcp ranges=192.168.10.10-192.168.10.210
    /ip dhcp-server
    add address-pool=dhcp disabled=no interface=bridge1 name=dhcp1
    /interface bridge port
    add bridge=bridge1 interface=ether2
    add bridge=bridge1 interface=ether3
    add bridge=bridge1 interface=ether4
    add bridge=bridge1 interface=ether5
    /ip address
    add address=192.168.10.1/24 interface=ether2 network=192.168.10.0
    /ip dhcp-client
    add dhcp-options=hostname,clientid disabled=no interface=ether1
    /ip dhcp-server lease
    add address=192.168.10.15 client-id=************** mac-address=\
    ************ server=dhcp1
    add address=192.168.10.10 client-id=************** mac-address=\
    ************ server=dhcp1
    /ip dhcp-server network
    add address=192.168.10.0/24 gateway=192.168.10.1 netmask=24
    /ip firewall filter
    add action=accept chain=input protocol=icmp
    add action=accept chain=input connection-state=established,related
    add action=drop chain=input in-interface=ether1
    add action=fasttrack-connection chain=forward connection-state=\
    established,related
    add action=accept chain=forward connection-state=established,related
    add action=drop chain=forward connection-state=invalid
    add action=drop chain=forward connection-nat-state=!dstnat connection-state=\
    new in-interface=ether1
    add action=accept chain=input in-interface=!ether1 src-address=\
    192.168.10.0/24
    /ip firewall nat
    add action=masquerade chain=srcnat out-interface=ether1
    /ip service
    set www-ssl disabled=no
    /system clock
    set time-zone-autodetect=no time-zone-name=Europe/Moscow
    /system clock manual
    set time-zone=+03:00
    /system ntp client
    set enabled=yes primary-ntp=188.134.70.129 secondary-ntp=46.8.40.31
    /system routerboard settings
    set cpu-frequency=700MHz memory-frequency=1200DDR protected-routerboot=\
    disabled

    2:

    #
    /interface bridge
    add name=bridge1
    /ip hotspot profile
    set [ find default=yes ] html-directory=flash/hotspot
    /ip pool
    add name=dhcp ranges=192.168.20.10-192.168.20.210
    /ip dhcp-server
    add address-pool=dhcp disabled=no interface=bridge1 name=dhcp1
    /interface bridge port
    add bridge=bridge1 interface=ether2
    add bridge=bridge1 interface=ether3
    add bridge=bridge1 interface=ether4
    add bridge=bridge1 interface=ether5
    /ip address
    add address=192.168.20.1/24 interface=ether2 network=192.168.20.0
    /ip dhcp-client
    add dhcp-options=hostname,clientid disabled=no interface=ether1
    /ip dhcp-server lease
    add address=192.168.20.10 client-id=************** mac-address=\
    ************** server=dhcp1
    add address=192.168.20.20 client-id=************** mac-address=\
    ************** server=dhcp1
    add address=192.168.20.30 client-id=**************1 mac-address=\
    ************** server=dhcp1
    /ip dhcp-server network
    add address=192.168.20.0/24 gateway=192.168.20.1 netmask=24
    /ip firewall filter
    add action=accept chain=input in-interface=!ether1 src-address=\
    192.168.20.0/24
    /ip firewall nat
    add action=masquerade chain=srcnat out-interface=ether1
    /ip service
    set www-ssl disabled=no
    /system clock
    set time-zone-autodetect=no time-zone-name=Europe/Moscow
    /system clock manual
    set time-zone=+03:00
    /system ntp client
    set enabled=yes primary-ntp=188.134.70.129 secondary-ntp=46.8.40.31
    /system routerboard settings
    set cpu-frequency=700MHz memory-frequency=1200DDR protected-routerboot=\
    disabled

    3:

    /interface bridge
    add name=bridge1
    /interface wireless
    set [ find default-name=wlan1 ] band=2ghz-onlyn country=russia disabled=no \
    frequency=2437 mode=ap-bridge rate-set=configured ssid=DIPHENHYDRAMINE \
    wireless-protocol=802.11 wmm-support=enabled wps-mode=disabled
    /interface wireless security-profiles
    set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
    wpa-pre-shared-key=22001220 wpa2-pre-shared-key=22001220
    /ip hotspot profile
    set [ find default=yes ] html-directory=flash/hotspot
    /ip pool
    add name=dhcp ranges=192.168.30.10-192.168.30.210
    /ip dhcp-server
    add address-pool=dhcp disabled=no interface=bridge1 name=dhcp1
    /interface bridge port
    add bridge=bridge1 interface=ether2
    add bridge=bridge1 interface=wlan1
    /ip address
    add address=192.168.30.1/24 interface=ether2 network=192.168.30.0
    /ip dhcp-client
    add dhcp-options=hostname,clientid disabled=no interface=ether1
    /ip dhcp-server lease
    add address=192.168.30.10 client-id=***************** mac-address=\
    ***************** server=dhcp1
    add address=192.168.30.25 client-id=***************** mac-address=\
    ***************** server=dhcp1
    add address=192.168.30.20 client-id=***************** mac-address=\
    ***************** server=dhcp1
    add address=192.168.30.15 client-id=***************** mac-address=\
    ***************** server=dhcp1
    /ip dhcp-server network
    add address=192.168.30.0/24 gateway=192.168.30.1 netmask=24
    /ip firewall filter
    add action=accept chain=input in-interface=!ether1 src-address=\
    192.168.30.0/24
    /ip firewall nat
    add action=masquerade chain=srcnat out-interface=ether1
    /ip service
    set www-ssl disabled=no
    /system clock
    set time-zone-autodetect=no time-zone-name=Europe/Moscow
    /system clock manual
    set time-zone=+03:00
    /system ntp client
    set enabled=yes primary-ntp=188.134.70.129 secondary-ntp=46.8.40.31
    /system routerboard settings
    set cpu-frequency=700MHz protected-routerboot=disabled
     
  4. Илья Князев

    Илья Князев Администратор Команда форума

    NAT и маршрутизация?
     
  5. DIPHENHYDRAMINE

    DIPHENHYDRAMINE Новый участник

    ну в общем да......
    NAS виден только в своей подсети, а нужно что бы везде....
     
  6. Илья Князев

    Илья Князев Администратор Команда форума

    Так и настройте маршуртизацию.
    Вам надо
    Роутер А - маршруты на сети за Б и В
    Роутер Б - маршруты на сети за А и В
    Роутер В - маршруты на сети за А и Б
     
  7. DIPHENHYDRAMINE

    DIPHENHYDRAMINE Новый участник

    подскажите как? плииизз...
     
  8. Илья Князев

    Илья Князев Администратор Команда форума

    Я не вижу у вас на схеме адресов на линках между роутерами, чтобы помочь.
     
  9. DIPHENHYDRAMINE

    DIPHENHYDRAMINE Новый участник

    /ip dhcp-server lease
    add address=192.168.10.15 client-id=************** mac-address=\
    ************ server=dhcp1
    add address=192.168.10.10 client-id=************** mac-address=\
    ************ server=dhcp1
     

    Вложения:

  10. Илья Князев

    Илья Князев Администратор Команда форума

    А с обратной стороны?
    У Вас на аплинках должно быть по адресу с каждой стороны.