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

    PDC over a subnet and VPN?

    Scheduled Pinned Locked Moved IPsec
    2 Posts 2 Posters 1.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.
    • K
      kbrault
      last edited by

      Hello everyone,

      I have a Centos 5 Samba server as a PDC at our master site (192.168.0.0/24) and I have a remote site (192.168.1.0/24) connected with a IPSEC VPN (pfsense, boths ends are behind a NAT router). All ports and protocols are open through the pipe. All servers and routers are virtualized (proxmox KVM).

      The VPN pipe is working fine. I can ping the PDC by short and long names and map windows shares (by IP not hostname) no problem. I can ping clients from both ends.

      However, I am having difficulty adding computers on the remote site to the domain and when they are added new users are having difficulty logging in (no domain controllers can be found) and the samba login script does not run there.

      I cannot "browse" the main site network from the remote site via Windows 7/Vista file manager.

      Does anyone know how to resolve this issue?

      Is the VPN a problem?

      Does the PDC have an issue with a subnet?

      I found one thread that recommended setting the KVM host network interfaces to "promiscuous mode". How can this be done in proxmox?

      Is there a configuration change I can make to get this to work?

      Thank you for your help.

      Kevin

      1 Reply Last reply Reply Quote 0
      • G
        georgeman
        last edited by

        This is not about VPNs, not even pfSense or Samba, but basic Windows networking. On an NT style domain, PDC discovery is made through NetBIOS requests. So it will work "right away" only within the same subnet. For it to work on other subnets (no matter how they are connected), you need to set up Samba also as a WINS server and point all clients to it on their WINS configuration.

        Regards!

        If it ain't broke, you haven't tampered enough with it

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