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

    Can 'IPv4 Tunnel Network' be on same subnet?

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 3 Posters 1.6k 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.
    • A
      AxSD
      last edited by

      I have set up a OpenVPN server on pfsense. It works great when "IPv4 Tunnel Network" is set to be outside of our current subnet mask 255.255.240.0 (/20). When this tunnel network IP is set to something within the subnet, a VPN connection can be established, but I can't ping any machines, or have any kind of internet access.

      I'd like this Tunnel Network IP settings to be inside our subnet if possible.

      I also have "Provide a DNS server list to clients" and "Force all client generated traffic through the tunnel" check marked

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        No.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

          You're looking for a VPN-bridge:
          http://sclabs.blogspot.co.at/2012/05/openvpn-bridge-with-pfsense-201.html

          That's not well supported and it's not recommended:
          https://doc.pfsense.org/index.php/OpenVPN_Remote_Access_Server#OpenVPN_Client_Bridging

          Some guys here who tried that got no luck with it. It's better to do routing with a different tunnel subnet.

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