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

    Configuring VPN win7 clients with pfsense

    Scheduled Pinned Locked Moved OpenVPN
    61 Posts 5 Posters 19.4k 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.
    • B
      bardelot
      last edited by

      @Raafat:

      Hi…but why my guide did't mention any thing about what you said to me ?

      Because you have a "Double NAT" (two devices doing NAT). This is not recommended.

      @Raafat:

      Also is there a alternative for dynamic DNS ?

      Getting a static IP from your provider.

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

        "Hi…but why my guide did't mention any thing about what you said to me ?"

        Because the GUIDE assumes your pfsense WAN is on the public internet and not behind another router doing NAT.

        As already mentioned you could setup this device in front of pfsense that is giving it its 192.168.2.5 and port forward the port your using for openvpn.

        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
        • L
          LeCygne
          last edited by

          Hi guys…assuming i have a static public ip how will they change your guides .

          thank you .

          1 Reply Last reply Reply Quote 0
          • B
            bardelot
            last edited by

            Getting a static IP only fixes problem a) (dynamic IP) you'd still have to do what phil.davis has posted above for problem b) (Double NAT).

            The dynamic IP part is even described in the guide you used. So you're only left with either port forwarding or bridging which you have to do on your DSL modem.

            1 Reply Last reply Reply Quote 0
            • L
              LeCygne
              last edited by

              @bardelot:

              Getting a static IP only fixes problem a) (dynamic IP) you'd still have to do what phil.davis has posted above for problem b) (Double NAT).

              The dynamic IP part is even described in the guide you used. So you're only left with either port forwarding or bridging which you have to do on your DSL modem.

              Hi…can i disable my modem' NAT ?

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

                And which gateway do you have?  I wish the terms would be used correctly, a "modem" does not do NAT..  If it a combo device of a modem and router (can do nat) then its a GATEWAY..  If does not have a modem then its just a router, etc.

                If you tell use what is the model number of your "modem" and who your carrier is then we can look up if you can put the device in bridge mode – turn off nat..

                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
                • L
                  LeCygne
                  last edited by

                  @johnpoz:

                  a "modem" does not do NAT..

                  Hi…below what i have :

                  http://www.huaweidevice.com/br/productFeatures.do?pinfoId=660&directoryId=2663&treeId=663

                  but the last version (it's a router ).

                  thank you .

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

                    If its a modem and a router then its a gatway!

                    What is the model number – the HG510?  I show an a model, a v model, just the 510...  If your on the 520 there there even more model versions.  Its real hard -- look on the device!!!  What does it say for the model number?

                    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
                    • L
                      LeCygne
                      last edited by

                      @johnpoz:

                      What does it say for the model number?

                      HG655b

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

                        Well that is sure not the last one one the url you sent ;)

                        Simple google found this
                        https://www.youtube.com/watch?v=pzPUxjPDW9Y

                        and this
                        https://luciancovaci.wordpress.com/2012/07/19/adsl-romtelecom-configurare-in-bridge/

                        And from the manual
                        Says to adjust the connection type to bridge in drop down combo box..  So clearly it supports it - I would highly suggest you just contact your isp and them them you want to put it in bridge mode and they can walk you through the steps.

                        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
                        • L
                          LeCygne
                          last edited by

                          @johnpoz:

                          Well that is sure not the last one one the url you sent ;)

                          Simple google found this
                          https://www.youtube.com/watch?v=pzPUxjPDW9Y

                          and this
                          https://luciancovaci.wordpress.com/2012/07/19/adsl-romtelecom-configurare-in-bridge/

                          And from the manual
                          Says to adjust the connection type to bridge in drop down combo box..  So clearly it supports it - I would highly suggest you just contact your isp and them them you want to put it in bridge mode and they can walk you through the steps.

                          thank you man

                          now all thing go correctlly but how will i make a VPN client a part of my network,meaning sees all people on my network ?

                          1 Reply Last reply Reply Quote 0
                          • L
                            LeCygne
                            last edited by

                            Guys help me…this is the last step of our topic .

                            i'm waiting you .

                            thank you .

                            1 Reply Last reply Reply Quote 0
                            • F
                              firewalluser
                              last edited by

                              I havent been able to get OpenVPN using TAP to work either as you can see from my post here http://forum.pfsense.org/index.php/topic,58724.0.html

                              I have got TUN working though, I can ping the pfsense firewall, ping other devices on the network and can even remote access onto my Win7 desktop and SSH to my linux servers from inside the lan.

                              It might pay to use TUN for now as I have seen some comments on this board that 2.0.x has some issues which might be affecting the TAP/Bridge mode, but these should be resolved when 2.1 is released. Alternatively you could try a beta of 2.1 if you fancy the risk.

                              Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

                              Asch Conformity, mainly the blind leading the blind.

                              1 Reply Last reply Reply Quote 0
                              • L
                                LeCygne
                                last edited by

                                Guys…i'm waiting you .

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

                                  Waiting for what?

                                  So now your pfsense has public IP on its wan?  Then run through the openvpn wizard and your done.. Not sure what else you think you need to do?

                                  What is not working now?

                                  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
                                  • L
                                    LeCygne
                                    last edited by

                                    @johnpoz:

                                    Waiting for what?

                                    So now your pfsense has public IP on its wan?  Then run through the openvpn wizard and your done.. Not sure what else you think you need to do?

                                    What is not working now?

                                    I'm waiting for this :i could see any device on my network (servers,printers,etc) .

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

                                      Yeah once you vpn in, depending on what firewall rules you put in place you can access anything you want on your network.  I vpn into my home network pretty much every day.  I am on now - yes I can print to my printer if I want, I can remote desktop to any box on my network, I can access my file shares, etc. etc. etc.

                                      D:>net view \storage.local.lan
                                      Shared resources at \storage.local.lan

                                      My storage server

                                      Share name  Type  Used as  Comment

                                      –-----------------------------------------------------------------------------
                                      J          Disk
                                      Media      Disk
                                      Molly      Disk
                                      temp        Disk
                                      The command completed successfully.

                                      Thats my NAS on my home network, while I am here at work.

                                      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
                                      • L
                                        LeCygne
                                        last edited by

                                        @johnpoz:

                                        Yeah once you vpn in, depending on what firewall rules you put in place you can access anything you want on your network.  I vpn into my home network pretty much every day.  I am on now - yes I can print to my printer if I want, I can remote desktop to any box on my network, I can access my file shares, etc. etc. etc.

                                        D:>net view \storage.local.lan
                                        Shared resources at \storage.local.lan

                                        My storage server

                                        Share name  Type  Used as  Comment

                                        –-----------------------------------------------------------------------------
                                        J           Disk
                                        Media       Disk
                                        Molly       Disk
                                        temp        Disk
                                        The command completed successfully.

                                        Thats my NAS on my home network, while I am here at work.

                                        So tell me what are rules will i use ?

                                        thank you .

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

                                          You wouldn't use any rules really unless you want to limit or block something - wizard should create the default rule

                                          IPv4 * * * * * * none   OpenVPN pfsense wizard

                                          The above is what I have in my openvpn tab

                                          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
                                          • L
                                            LeCygne
                                            last edited by

                                            @johnpoz:

                                            You wouldn't use any rules really unless you want to limit or block something - wizard should create the default rule

                                            IPv4 * * * * * * none   OpenVPN pfsense wizard

                                            The above is what I have in my openvpn tab

                                            What is subnet' ip address are you using and for vpn' clients ?

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