Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    OpenVPN Client на pfSense не роутится на клиентах.

    Scheduled Pinned Locked Moved Russian
    3 Posts 2 Posters 2.1k 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.
    • I
      Ilyuha
      last edited by

      Прошу помощи в настройке.
      Делал по этот инструкции http://forum.pfsense.org/index.php/topic,29944.0.html
      В результате VPN подключается, пинг с роутера клиента (vpn 172.16.202.21) идет на удаленный ovpn server (172.16.202.1), а вот с клиентов из локальной (192.168.1.0/24) пингуется только интерфейс vpn клиента 172.16.202.21.

      ovpnc2: flags=8051 <up,pointopoint,running,multicast>metric 0 mtu 1500
              options=80000 <linkstate>inet6 fe80::20c:29ff:fe5c:edfe%ovpnc2 prefixlen 64 scopeid 0xa
              inet 172.16.202.21 --> 172.16.202.22 netmask 0xffffffff
              nd6 options=3 <performnud,accept_rtadv>Opened by PID 43066</performnud,accept_rtadv></linkstate></up,pointopoint,running,multicast> 
      

      [2.0-BETA5][root@srv.local]/root(2): netstat -r
      Routing tables
      
      Internet:
      Destination        Gateway            Flags    Refs      Use  Netif Expire
      default            xxx.xxx.xxx.xxx    UGS         0  9791887    em0
      localhost          link#6             UH          0    32922    lo0
      172.16.202.1       172.16.202.21      UHS         0      539 ovpnc2
      172.16.202.21      link#10            UHS         0        0    lo0
      172.16.202.22      link#10            UH          0        0 ovpnc2
      
      


      помогите пожалуйста.

      1 Reply Last reply
      Reply Quote 0
      • R
        remark
        last edited by

        Попробуйте для себя на бумаге нарисовать схему вашей получившейся сети и понять, где, куда и какие маршруты надо прописать. Скорее всего, дело в этом.

        1 Reply Last reply
        Reply Quote 0
        • I
          Ilyuha
          last edited by

          Не сделал этого.
          @ericab:

          edit - March 9 2011
          – from now on, in order for traffic to be routed through the vpn gateway; from the pfSense interface, navigate to the dropdown menus: FIREWALL –> NAT --> OUTBOUND --| enable "Manual Outbound NAT rule generation" and select save.

          Спасибо tom.

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy