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

    openvpn route and dns

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 513 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.
    • H
      hamed_forum
      last edited by

      clinet network rang 192.168.2.0/24
      server side rang 192.168.0.0/16
      when wireless down i use openvpn
      i have problm when i use openvpn how to route all of traffic to master and dont use public dns use local dns .the ip of server dns 192.168.5.22
      alt text

      viktor_gV 1 Reply Last reply Reply Quote 0
      • viktor_gV
        viktor_g Netgate @hamed_forum
        last edited by

        @hamed_forum Give us more information and show openvpn & firewall configuration pages!

        1 Reply Last reply Reply Quote 0
        • H
          hamed_forum
          last edited by hamed_forum

          i use shared key openvpn
          in server side
          IPv4 Tunnel Network 11.3.100.0/30
          IPv4 Remote network(s) 192.168.2.0/24
          Local port 1194
          all other default
          i use this tutrial link text
          and run success openvpn but in clinet site i user rang 20.20.20.0/24 on clinet
          and clinet cant dns resovle correct
          firewall openvpn any any accept
          if need information say i write it

          my problm solved by use dns forwarder domain override
          i need send all of the trafic from clinet site to the server
          ip v4 Remote network what must set?i now send my rang local in server but i need all of the trafic in clinet side come to server and then routing
          my accounting server internet in server site

          #anchor(i need route all trafice in clinet side to server)

          H 1 Reply Last reply Reply Quote 0
          • H
            hamed_forum @hamed_forum
            last edited by

            @hamed_forum use 0.0.0.0 in IPv4 Remote network(s) fowrard all trafic to server side

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