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

OPenVPN маршрутизация между сетями

Scheduled Pinned Locked Moved Russian
5 Posts 2 Posters 2.0k 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.
  • M Offline
    muxas
    last edited by Nov 27, 2013, 1:23 PM

    Здравствуйте.

    Имеется вот такая сеть:
    1 шлюз Pfsense:
      LAN    192.168.0.0/24
      WAN  x.x.x.x
      OPenVPN (Remote Access) ovpns1  10.0.8.0/24
      OpenVPN (Peer to peer) ovpns2      10.0.10.0/24
      PPTP0  172.17.1.168
    2 шлюз Pfsense:
      LAN    192.168.2.0/24
      WAN  y.y.y.y
      OpneVPN Client (peer to peer) ovpnc 1 10.0.10.0/24

    Проблема в том, что нужно получить доступ к серверу находящемуся за pptp. Клиенты из подсети 10.0.8.0/24 свободно пингуют его, достаточно было прописать в настройках сервера push "route 172.17.2.33 255.255.255.255" а так же разрешить ICMP в правилах файрвола для подсети 10.0.8.0/24 со шлюзом pptp0. Но такие настройки совершенно не работают на 10.0.10.0/24. Причем с самого шлюза №2 (тот что клиент) 172.17.2.33 отлично пингуется, а вот из его lan нет. ПОдскажите где может быть ошибка?

    1 Reply Last reply Reply Quote 0
    • W Offline
      werter
      last edited by Nov 27, 2013, 7:39 PM

      Честно говоря - описано не очень понятно  :-\ Рисуйте схему со всеми адресами.

      1 Reply Last reply Reply Quote 0
      • M Offline
        muxas
        last edited by Nov 28, 2013, 12:14 AM

        Схема сети вот такая:

        Network1.JPG
        Network1.JPG_thumb

        1 Reply Last reply Reply Quote 0
        • M Offline
          muxas
          last edited by Nov 28, 2013, 12:16 AM

          нужно что бы клиенты LAN gate 2 (192.168.2.0/24) смогли пинговать 172.17.2.33. С самого шлюза (Gate2) этот адрес пингуется.

          1 Reply Last reply Reply Quote 0
          • M Offline
            muxas
            last edited by Nov 28, 2013, 1:22 AM

            Настройки на шлюзе № 2 (10.0.10.6):

            gateway_gate2.PNG
            gateway_gate2.PNG_thumb
            routers_gate2.PNG
            routers_gate2.PNG_thumb
            rules_lan_gate2.PNG
            rules_lan_gate2.PNG_thumb
            trace_gate2_172.17.2.33.PNG
            trace_gate2_172.17.2.33.PNG_thumb

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received