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

    Criar rota OpenVPN

    Scheduled Pinned Locked Moved Portuguese
    2 Posts 2 Posters 2.5k 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.
    • G
      gek2011
      last edited by

      Bom dia pessoal,
      Estou começando a trabalhar com o PFSense e estou com uma dúvida, configurei o OpenVPN sem problema algum, o túnel está conectado, mas estou com o seguinte problema, preciso comunicar a matriz com a filial. Consigo acessar as estações da filial por IP, mas pelo nome não abre, pesquisei aqui no fórum e verifiquei que configuram o push “router (ip) (sub-rede)”;, mas não sei como devo proceder. Alguém pode me ajudar? Abaixo segue modelo de configuração do meu OpenVPN.

      Matriz
      IPv4 Tunnel Network – 192.168.100.0/24
      IPv4 Local Network/s – 192.168.10.0/24
      IPv4 Remote Network/s – 192.168.20.0/24

      Filial
      IPv4 Tunnel Network – 192.168.100.0/24
      IPv4 Remote Network/s – 192.168.10.0/24

      Está correto o push que criei?
      push "route 192.168.10.0 255.255.255.0"; (faixa Matriz)
      push "route 192.168.20.0 255.255.255.0"; (faixa Filial)

      push "route 192.168.100.1 255.255.255.0"; (túnel Matriz)
      push "route 192.168.100.2 255.255.255.0"; (túnel Filial)

      Desde já agradeço a ajuda!

      1 Reply Last reply
      Reply Quote 0
      • K
        kelsen
        last edited by

        Não há necessidade das diretivas "push" (na verdade estão até erradas) já que vc configurou "Local network e Remote", seu DNS Forward está configurado com os nomes das máquinas? qual o dns das máquinas da matriz que estão tentando acessar as máquinas da filial pelo nome? esse dns consegue resolver o nome?

        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