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

    Network folder sharing with pfsense

    Scheduled Pinned Locked Moved NAT
    11 Posts 3 Posters 2.9k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      So these VMs are on different vlans and route through pfsense? They are not on the same VM host?

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

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

        No not yet all on NAT but soon as my Dell Power Connect comes yes I will be putting them both on the same VLAN. For now both are on NAT.

        Thanks

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by johnpoz

          Both on nat? Makes no sense.. How are the different vms connected to pfsense..

          Pfsense would nat between lan and wan - are you saying one is on pfsense wan network, and other is on lan network?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

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

            Both are on vmware so I need pfsense routing and vmware sharing/port forwarding to be able to talk to each other.

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              So one VM is on host that is on WAN and other is on host that is on LAN?

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                Both are are on wan right now, but want to change the XP to lan and the Windows 7 on Wan. Can't I route traffic through lan to talk to each other while Windows 7 is on Wan?

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by johnpoz

                  If both are on WAN - pfsense has zero to do with them talking to each other.

                  If want to want to do smb through firewall then you would have to forward the port if your wanting to do wan ---> lan, if your wanting to do lan ---> wan then the default rules would allow it. Keep in mind that host firewalls not going to allow fire sharing from different network, etc. You would also need to adjust the host firewalls.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                    Ok so what would be the routing windows 7 wan to windows xp lan to share a folder on xp for windows 7 to use?

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      There wouldn't be any routing - you would setup a port forward for the port your using for file sharing tcp 445? Or you using old tcp 139?

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • dragoangelD
                        dragoangel
                        last edited by

                        What your VMs doing on WAN? What a point have in 2019 Windows XP? FYI: in this year Windows 7 going to be off from support. Stop and move to fresh OS, especially this is VM, hell...

                        1. Firstly you say they on nat, then on wan. For me its looks like you even doesn't know what you have. How anybody will help you then?
                        2. Stop NAT all to internet, ESPECIALLY WindowsXP, you will hurt yourself. Configure OpenVPN and connect both VMs to one private network, and share what you want between them.

                        Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
                        Unifi AP-AC-LR with EAP RADIUS, US-24

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