Проблемы с PPTP подключением hap ac2

Обсуждение общих вопросов, не касающихся настройки оборудования и ОС
Ответить
oleg.marasalov
Сообщения: 1
Зарегистрирован: 08 июн 2020, 17:11

Всем доброго времени суток. Комрады помогите нубу разобраться, был приобретен данный роутер в замен старому зухелю, провайдер дает статические настройки(привязки по MAC адресу нет) и дальше подключение по pptp, пару раз после неких манипуляций(менял настройки в ip/routes) интернет работал непродолжительное время до первого обрыва и все... В firewall/NAT теперь постоянно ошибка pptp-out1 not ready или interface not found, помогите найти где ошибка. Заранее спасибо.

Код: Выделить всё

*****
*****
# jun/06/2020 07:53:07 by RouterOS 6.47
# software id = MDPU-DVB2
#
# model = RBD52G-5HacD2HnD
# serial number = C****
/interface bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether2 ] name=ether2wan
set [ find default-name=ether5 ] name=ether5lan
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk eap-methods="" management-protection=\
    allowed mode=dynamic-keys name=profile1 supplicant-identity="" \
    wpa2-pre-shared-key=1*******4
/interface wireless
set [ find default-name=wlan1 ] adaptive-noise-immunity=ap-and-client-mode \
    band=2ghz-b/g/n channel-width=20/40mhz-Ce country=russia disabled=no \
    guard-interval=long hw-protection-mode=cts-to-self installation=indoor \
    max-station-count=15 mode=ap-bridge security-profile=profile1 ssid=\
    MikroTik wireless-protocol=802.11 wmm-support=enabled wps-mode=disabled
set [ find default-name=wlan2 ] adaptive-noise-immunity=ap-and-client-mode \
    band=5ghz-n/ac channel-width=20/40/80mhz-Ceee country=russia disabled=no \
    distance=indoors frequency=auto guard-interval=long hw-protection-mode=\
    cts-to-self max-station-count=15 mode=ap-bridge security-profile=profile1 \
    ssid="MikroTik Fast" wireless-protocol=802.11 wmm-support=enabled \
    wps-mode=disabled
/interface wireless nstreme
set wlan1 enable-polling=no
set wlan2 enable-polling=no
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp_pool0 ranges=192.168.0.2-192.168.0.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=bridge1 name=dhcp1
/interface pptp-client
add add-default-route=yes connect-to=vpn.***.ru disabled=no name=pptp-out1 \
    password=123*** profile=default user=10.20.6.1*3
/interface bridge port
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5lan
add bridge=bridge1 interface=wlan1
add bridge=bridge1 interface=wlan2
/interface detect-internet
set detect-interface-list=all
/ip address
add address=10.20.6.1*3/24 interface=ether2wan network=10.20.6.0
add address=192.168.0.1/24 interface=bridge1 network=192.168.0.0
/ip dhcp-server network
add address=192.168.0.0/24 dns-server=192.168.0.1 gateway=192.168.0.1
/ip dns
set allow-remote-requests=yes servers=83.166.0.9,83.166.0.10
/ip firewall nat
# pptp-out1 not ready
add action=masquerade chain=srcnat out-interface=pptp-out1
/ip route
add distance=1 dst-address=0.0.0.0/24 gateway=10.20.6.1
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=pptp-out1 type=external
add interface=bridge1 type=internal
add interface=ether2wan type=external
/system clock
set time-zone-name=Europe/Moscow
/system leds
add interface=wlan1 leds=user-led type=wireless-status


Ответить