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

    Hamachi

    Scheduled Pinned Locked Moved General pfSense Questions
    51 Posts 10 Posters 32.2k 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.
    • S
      sullrich
      last edited by

      Only one of you needs to do the 1:1 trick.

      I left my work machine off of a 1:1 and I am still green to it.

      1 Reply Last reply Reply Quote 0
      • M
        MikaelS
        last edited by

        I see that you are working on som static port? http://cvstrac.pfsense.com/chngview?cn=9024

        Is this a solution to the Hamachi problem??

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by

          Yep

          1 Reply Last reply Reply Quote 0
          • S
            Superman
            last edited by

            It's working using Outbound NAT in PREBETA2-BUGVALIDATION4 (yeah the one that's been pulled from the server…)

            I set it up like this:

            And as noted in other posts, set the Hamachi > Preference > System > Magic Option to that default port.

            Works great here with no other added rules, etc!!

            I'm not sure which pfSense Version is the first to have the Outbound NAT with the Static-port option, but it works in this build...

            Otherwise perhaps update yours from the cvstrac link in an earlier post in this thread...

            And just an update:
            If you have more than 1 Hamachi client behind your firewall, set each one to a different port, and then add that port to the Outbound NAT just like the first one. Make sure the rule ends up above the "Default" Allow All rule as is pictured on the bottom in the second linked screenshot.

            Hamachi_OutboundNAT.jpg
            Hamachi_OutboundNAT2.jpg
            Hamachi_OutboundNAT.jpg_thumb
            Hamachi_OutboundNAT2.jpg_thumb
            Hamachi_OutboundNAT.jpg_thumb
            Hamachi_OutboundNAT2.jpg_thumb

            1 Reply Last reply Reply Quote 0
            • S
              sullrich
              last edited by

              Great to hear!  This option was added right after beta 1 was released so its included in all the pre-beta2 images.

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

                I am running the 1.0-BETA1-TESTING-SNAPSHOT-2-20-06 and I can't get this to work for me.  I have my configs the same way as the screenshots and my Hamachi still doesn't connect.  What version of Hamachi are you running?  I can't get a newer version than 1.39 anywhere, everyone mirrors back to Hamachi's servers.  Any other ideas?

                The greatest trick the devil ever pulled was to convince the world he didn't exist.

                … and poof ... he was gone ...

                1 Reply Last reply Reply Quote 0
                • S
                  Superman
                  last edited by

                  Works for every version of the Ham I've used, starting from 0.99.xx up to most recent.

                  Did you remember to set the "Magic option"?
                  If you're running Windows XP SP2, did you make sure the firewall is opened on it? (Or if you're running some other system firewall…)
                  Did you make sure the Outbound NAT option that you added is above the default "allow all" rule?

                  Maybe send us a screenshot of your Outbound NAT screen. (Alt+PrintScreen on Windows will capture only the active window to the clipboard, then just paste it into M$ Paint, or another Image Program if you have it...)

                  Hope this helps! :D

                  PS: You can find the latest Betas on the forum here: http://forums.hamachi.cc/viewforum.php?f=14&sid=e03938855a339e23331b702b18b6657a

                  Ham1.jpg
                  Ham2.jpg
                  Ham1.jpg_thumb
                  Ham2.jpg_thumb
                  Ham1.jpg_thumb
                  Ham2.jpg_thumb

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

                    Sorry for the delay in replaying … spring break time and all.  I have upgraded pfsense to the beta 2 rc5, but I am still having difficulties.  Here are screenshots of my pfsense setup.  I am also getting errors loading my NAT settings.  The error is:

                    [filter_load] There were error(s) loading the rules: /tmp/rules.debug:21: the static-port option can't be used when specifying a port rangepfctl: Syntax error in config file: pf rules not loaded.  The line in question reads [21]:  nat on xl1 from 10.1.10.0 / 24 to any -> (xl1) port 12975 static-port

                    Also, I go to the Hamachi beta download page and try to download release 52 and the download times out trying to get the file off the servers.  I can't update through the software either.  Not expecting you guys to do anything, just informing.

                    NAT_01.JPG
                    NAT_02.JPG
                    NAT_01.JPG_thumb
                    NAT_02.JPG_thumb
                    NAT_01.JPG_thumb
                    NAT_02.JPG_thumb

                    The greatest trick the devil ever pulled was to convince the world he didn't exist.

                    … and poof ... he was gone ...

                    1 Reply Last reply Reply Quote 0
                    • S
                      Superman
                      last edited by

                      Hmm, dunno what to say. I remember having that error too, I don't remember what fixed it, but it's gone. All I can suggest is trying a complete fresh install of your firewall from the iso with the latest version. Just save a backup of your config on the Backup/Restore page, and then copy that config<whatever>.xml to a floppy. On the floppy make a folder called conf (edit) and copy that config file you saved, but rename it to config.xml.

                      Hope that helps.</whatever>

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

                        I did a fresh reinstall from the Beta 2 LIVE iso and it still hasn't worked … I am fresh out of ideas.  I still get the same error as well.

                        Thanx for the Hamachi Beta mirror, worked like a charm.

                        The greatest trick the devil ever pulled was to convince the world he didn't exist.

                        … and poof ... he was gone ...

                        1 Reply Last reply Reply Quote 0
                        • S
                          Superman
                          last edited by

                          Well, heh, I finally took a closer look, and I see the error…I've made some "grade 2" drawings on the jpeg for ya...

                          The source port needs the <12975> or whatever port entry, and the destination and translation ports need to be blank, just the static port option checked in the Translation section…

                          NAT_02_changes.jpg
                          NAT_02_changes.jpg_thumb
                          NAT_02_changes.jpg_thumb

                          1 Reply Last reply Reply Quote 0
                          • D
                            DamienD
                            last edited by

                            hello,

                            superman, I tried your method…

                            it doesn't work for me :-(

                            EDIT: after selecting in nat:outbound: "enable advanced outbound NAT" It works :-) Thank you...

                            1 Reply Last reply Reply Quote 0
                            • S
                              Superman
                              last edited by

                              Did you check the options are set properly as per these:

                              http://forum.pfsense.org/index.php?topic=334.msg2785#msg2785
                              http://forum.pfsense.org/index.php?topic=334.msg4433#msg4433

                              Not implying anything, but I found for myself, when it didn't work, it was one minor detail that I kept overlooking, when I finally noticed it and set it properly all worked!!

                              Let us know how it goes.

                              1 Reply Last reply Reply Quote 0
                              • D
                                DamienD
                                last edited by

                                It works  ;D see previous message…

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Superman
                                  last edited by

                                  Cool!! Enjoy the "HAM"!! ;)

                                  It's the little details that'll get you every time!!  ::)

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    DamienD
                                    last edited by

                                    yes… you are right  ;D  thanks again  :-*

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Superman
                                      last edited by

                                      Hey everyone, well, I did get this working and all, but that was on a Cable connection.

                                      Someone else I have on pfSense is using an ADSL PPPoE connection. Previously, they were using pfSense behind the Modem/Router, but now pfSense is connected directly to a modem and is looking after PPPoE and Firewall/Router duties. With that change Hamachi no longer works properly, even with all the settings just as I and others set out earlier in this thread. I guess it has to do with the way PPPoE works, but I don't know exactly what to change to make this work…

                                      Can any more network savvy folks help me out?

                                      TIA

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Superman
                                        last edited by

                                        Okay, well, it seems that the problem is just with the Linux client…so we just have to wait for an update from the Hamachi team...

                                        The windows clients seem to work fine. (I just hadn't tried to connect from windows before my previous message...)

                                        Thanks anyways! :D

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          TechCF
                                          last edited by

                                          Me and a friend are using Hamachi 1.0.0.54 without trouble. It works as long as ONE party has forwardet an UDP port and enabled it in Hamachi preferences (Magic Option)

                                          Our config:

                                          Friend's comp. - pfSense - internet - ruter NAT - pfSense - My comps

                                          Yellow until I forwared a UDP port to one of my machines. Then I wanted a second machine online, that one got yellow. So my friend forwarded the UDP port on his pfSense box, and green on that too.

                                          1 Reply Last reply Reply Quote 0
                                          • W
                                            wedge2k
                                            last edited by

                                            I've read everyone's suggestions, and i have tried them all, nothing seems to work for me.  When i was using ip-cop i had no problems.  I've got a linux box on one end and linux and windows at home.  obviously the 2 on the same network can see each other, but not the one thats at my work.  I've talked to my network guy, he says that all outbound is unregulated, so that shouldn't be the problem.  Any other ideas why this would be failing?

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