Jump to content
Калькуляторы

daffoff

Новичок
  • Content Count

    3
  • Joined

  • Last visited

Posts posted by daffoff


  1. [admin@MikroTik] /ip route> /ip route add dst-address=192.168.100.0/24 gateway=192.168.100.101 pref-src=192.168.254.0/24

    invalid value for argument pref-src <<<<<<< ОШИБКА

    [admin@MikroTik] /ip route>

     

    [admin@MikroTik] > interface pptp-client print

    Flags: X - disabled, R - running

    0 R name="pptp-out1" max-mtu=1400 max-mru=1400 mrru=disabled

    connect-to=x.x.x.x user="************" password="*************"

    profile=default-encryption keepalive-timeout=60 add-default-route=no

    dial-on-demand=no allow=pap,chap,mschap1,mschap2

     

    С сервером все в порядке вроде так как до микротика был роутер с openwrt и все было ок

    Сам микротик нормально пингует все адреса а вот устройствам за собой не дает этого делать :(

    ==============================================================================================

     

    etc/ppp/options.pptpd

     

    #debug

    #logfile /tmp/pptp-server.log

    192.168.100.254:

    auth

    name "pptp-server"

    lcp-echo-failure 3

    lcp-echo-interval 60

    default-asyncmap

    mtu 1482

    mru 1482

    nobsdcomp

    nodeflate

    proxyarp

    #nomppc

    mppe required,no40,no56,stateless

    require-mschap-v2

    refuse-chap

    refuse-mschap

    refuse-eap

    refuse-pap

    #ms-dns 172.16.1.1

    #plugin radius.so

    #radius-config-file /etc/radius.conf

  2. Может поможет

    [admin@MikroTik] /ip firewall filter> print

    Flags: X - disabled, I - invalid, D - dynamic

    0 ;;; default configuration

    chain=forward action=accept connection-state=established,related log=no

    log-prefix=""

     

    1 ;;; default configuration

    chain=input action=accept connection-state=established,related log=no

    log-prefix=""

     

    2 ;;; PING-OFF

    chain=input action=drop protocol=icmp in-interface=pppoe-out1 log=no

    log-prefix=""

     

    3 ;;; default configuration

    chain=input action=drop in-interface=ether1-gateway log=no

    log-prefix=""

     

    4 ;;; default configuration

    chain=forward action=drop connection-state=invalid log=no log-prefix=""

     

    5 ;;; default configuration

    chain=forward action=drop connection-state=new

    connection-nat-state=!dstnat in-interface=ether1-gateway log=no

    log-prefix=""

     

    [admin@MikroTik] /ip firewall filter>

    ========================================================================================

     

    [admin@MikroTik] /ip firewall> nat print

    Flags: X - disabled, I - invalid, D - dynamic

    0 ;;; default configuration

    chain=srcnat action=masquerade out-interface=pppoe-out1 log=no

    log-prefix=""

    [admin@MikroTik] /ip firewall>

  3. [admin@MikroTik] /ip route> print

    Flags: X - disabled, A - active, D - dynamic,

    C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,

    B - blackhole, U - unreachable, P - prohibit

    # DST-ADDRESS PREF-SRC GATEWAY DISTANCE

    0 ADS 0.0.0.0/0 62.x.x.x 1

    1 ADC 62.x.x.x/32 62.x.x.x pppoe-out1 0

    2 A S 192.168.100.0/24 192.168.254.1 pptp-out1 1 <<< Добавил но опять не выходит

    3 ADC 192.168.100.254/32 192.168.100.101 pptp-out1 0

    4 ADC 192.168.254.0/24 192.168.254.1 bridge-local 0