Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OpenVPN ERROR

    Scheduled Pinned Locked Moved Russian
    3 Posts 3 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      finswimmer
      last edited by

      Добрый день!
      Подключаю к серверу 10.150.33.0/24 клиента 10.160.33.0/24.
      Сеть туннеля 10.0.8.0/24.
      Подключение происходит, но в логах такая ошибка.

      Jul 17 16:52:46 openvpn[522]: event_wait : Interrupted system call (code=4)
      Jul 17 16:52:46 openvpn[522]: /usr/local/sbin/ovpn-linkdown ovpns1 1500 1542 10.0.8.1 10.0.8.2 init
      Jul 17 16:52:46 openvpn[522]: SIGTERM[hard,] received, process exiting
      Jul 17 16:52:46 openvpn[22745]: OpenVPN 2.2.2 i386-portbld-freebsd8.1 [SSL] [LZO2] [eurephia] built on Apr 2 2013
      Jul 17 16:52:46 openvpn[22745]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
      Jul 17 16:52:46 openvpn[22745]: TUN/TAP device /dev/tun1 opened
      Jul 17 16:52:46 openvpn[22745]: /sbin/ifconfig ovpns1 10.0.8.1 10.0.8.2 mtu 1500 netmask 255.255.255.255 up
      Jul 17 16:52:46 openvpn[22745]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1542 10.0.8.1 10.0.8.2 init
      Jul 17 16:52:46 openvpn[22745]: ERROR: FreeBSD route add command failed: external program exited with error status: 1
      Jul 17 16:52:46 openvpn[22745]: ERROR: FreeBSD route add command failed: external program exited with error status: 1

      1 Reply Last reply Reply Quote 0
      • werterW
        werter
        last edited by

        В конфиг клиента (если на Вин) добавьте:

        script-security 2 system

        И переподключитесь.

        1 Reply Last reply Reply Quote 0
        • V
          Vikipa
          last edited by

          Посмотри внимательно таблицу роутинга, просто у тебя сеть сеть уже прописана а он пытается ее в таблицу роутирования добавить еще раз

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.