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

    OpenVPN and 1.0-BETA1

    Scheduled Pinned Locked Moved pfSense Packages
    87 Posts 9 Posters 64.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.
    • N
      Numbski
      last edited by

      WRAP showed up today, so I have two embedded's to play around with.  The hard drive-based production box should be here any day now.  Just waiting. :)

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

        Sounds good.  I'll get the code merged over tomorrow sometime in preperation for some serious weekend testing.

        1 Reply Last reply Reply Quote 0
        • E
          ecce
          last edited by

          :o

          <think>wow. it's like seeing an avalanche coming down…</think>

          In the last few days I've been working until late in the evening at my workplace - too many systems which "wreaked havoc", so I've had no time to do anything.

          It seems like everybody's already busy working on it. So, is there anywhere I can help out?
          Maybe I'll seem to be doing quite slow comparing to all of you, since I've got only evenings, weekends and holidays to "play around".
          I hope you won't loose your patience with me...

          About testing: how can I keep up with the work which has been done in the meantime? Is there any FAQ how to get the latest version? (I have never done anything with CVS)
          I've already got the VMWare Developer's edition - if that helps to shorten the process...

          Marc

          ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
                                        murphy's rule: "there is always one error left."
          ~~(¸¸ ¸¸ºº> ___________________________________________________.·'´¯)~
          ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

          1 Reply Last reply Reply Quote 0
          • N
            Numbski
            last edited by

            Well, my hard drive-based production firewall showed up yesterday, so yay! here. :)

            I need to get that vmware version one too, but I don't run windows. Only OSX on my desktops and freebsd on my servers…

            My impression is that for 1.0 we just need to hunt down any problems with the interface re-numbering, and then we're golden.  1.1 is going to be a real treat.  ::)

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

              Interface renumbering code was just commited.  I'm pressing a new image now.

              Here's the new testing image:  http://www.pfsense.com/~sullrich/OPENVPN_AND_DHCPD_TESTING_EDITION/pfSense-Full-Update-1.0-BETA1-TESTING-SNAPSHOT-2-10-06.tgz

              Please test OpenVPN and test DHCP server as its now running in a chroot and as a non-root user for enhanced security.

              1 Reply Last reply Reply Quote 0
              • N
                Numbski
                last edited by

                I must just be totally losing it.  I'm sure I remember seeing somewhere on the site how to build an arbitrary-sized pfsense embedded image from the full install, and for the life of me I can't recall where.  I have a 64MB flash for the WRAP, and 512MB for the soekris (I thought I would be able to install packages and have logs write out over NFS…oops)

                Point me in the right direction?  ???

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

                  Maybe this will help: http://wiki.pfsense.com/wikka.php?wakka=FlashHowTo

                  Also, you can edit /etc/platform and change it to pfSense and it will convert to a full install.  However I haven't tested either of these lately.

                  1 Reply Last reply Reply Quote 0
                  • N
                    Numbski
                    last edited by

                    No, unfortunately that wasn't what I was talking about.  That's presuming you already have a flash image, adn want to resize it.  What you gave us (I presume?) is a cd iso.  What I need is the instructions to go from cd iso to flash.  I'm starting to wonder if it was't something like "install to a hard drive, dd to a file, then resize that file…."

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

                      What I gave was a full update for a already full install.

                      I'll create an embedded image soon and pop it in that directory.

                      1 Reply Last reply Reply Quote 0
                      • N
                        Numbski
                        last edited by

                        Well, today's the day to be loading up the firewalls, so if you can post that embedded image that would be great. :)

                        The production box has no cd-rom drive, so I'm imagining the process for installation is to plug in a cd-rom drive, install 1.0-BETA1, then somehow apply the tgz that you posted here? (Don't suppose it's as simply as uploading that from the web interface, or tar xvzf after sftp'ing it to the firewall?)

                        These boxes will go into "production" this week.  Oddly enough, these are development boxes, so having beta software isn't a big deal, however all basic firewalling functions MUST be stable enough that I can administer them 99% remote.  These are only 20 minutes away instead of 3 hours, and I do have remote vnc and serial console capabilities, but downtime would be frowned upon, as it holds up the developers.  planned downtime however (guys, I need to reboot the firewall in a half hour, down for 5 mins) is completely acceptable.  I'm thinking if OpenVPN and opt interfaces are all that are at stake here, we should be fine on this, right?

                        1 Reply Last reply Reply Quote 0
                        • N
                          Numbski
                          last edited by

                          Grrrrr…..

                          I have this hard drive system from Hacom.  They bury the ide header on the main board, so I had to tear it apart to get to it to plug in the cd-rom.  There's nothing available to power the cd-rom drive, so I had to crack open an external USB enclosure and use its power supply for the cd drive.

                          I boot up, go into setup, make sure usb keyboard is enabled (which it is, as I'm able to navigate the menus), but as soon as the freebsd menu comes up, I lose usb keyboard, which of course prevents me from choosing option 7, which is....

                          Boot FreeBSD with USB Keyboard.

                          D'oh.  This is a paradox if I've ever seen one.  There is a ps2 keyboard port header on the mainboard, but they didn't ship it with the adapter, which means I'll be spending my day hacking together an adapter. :(  This sucks guys...is there a way to have usb keyboard enabled by default during boot?

                          1 Reply Last reply Reply Quote 0
                          • N
                            Numbski
                            last edited by

                            Okay, just spoke to a guy over at Hacom.  He's confused that usb keyboard isn't working, and added that he noticed in the last release that the ability to boot embedded from usb flash drive no long works.  So…do we need to tweak /boot in general here?  His "recommended" installation method was to use embedded from flash drive or usb cdrom  to install so you don't have the tear the system down like I'm doing.  That won't work.  In the interim, he's going to ship me a ps2 keyboard header, but suggested I attempt to connect to a serial console and run the install from there, so I shall.

                            This is probably wiki-worthy material.  I'll try to get by there today and add this.

                            1 Reply Last reply Reply Quote 0
                            • N
                              Numbski
                              last edited by

                              Well, that failed miserably.

                              I tried 8n1, 2400, 9600, and 19200.  Nothing. :\

                              So…I'm completely screwed for a few days until the pin header arrives, unless I go buy a female ps2 port and do some hacking. :\

                              1 Reply Last reply Reply Quote 0
                              • N
                                Numbski
                                last edited by

                                Just so we're clear, I did try the suggetions in the wiki, but those are for FreeBSD 5.x, and we're at 6.x.  The ability to press a key to do anything is not available.  I've found the appropriate switches in /boot/defaults/loader.conf, and those should be added and changed in /boot/loader.conf.  Here's what I'mt thinking:

                                Set us up with two console options prior to boot loader getting ahold of things.

                                console="vidconsole,comconsole"

                                Use multiple consoles. (Only good prior to the boot loader grabbing hold, long enough to enable USB Keyboard if desired).

                                boot_multicons="1"

                                Load the USB subsystem

                                usb_load="yes"

                                Enable USB Keyboards

                                ukbd_load="YES"

                                Enable Mass Storage (keychain drives, usb cd-rom drives, etc)

                                umass_load="YES"

                                The setup above would work particularly well for full installs and cd/floppy installs.  When you run the installation to hard drive, you could set it back to normal or present the user an option, but getting out of the gate this would make more sense, wouldn't it?  Vidconsole will still be the default after the beastie menu, but at least to that point you can manually enable usb keyboard.  If the desire is to keep the cd install vga, only, then the loading the usb subsystem, keyboard, and mass storage would be sufficient.

                                1 Reply Last reply Reply Quote 0
                                • N
                                  Numbski
                                  last edited by

                                  Okay, I'm a dirty cheater.  I loaded the iso up in a hex editor, hunted down the usb_load="NO", ukbd_load="NO", and umass_load="NO", changed them to "YES", and saved it, burned it.

                                  The outcome is suprising.  I get no keyboard control at the "beastie" menu (Now FreeBSD menu), nor when I get a prompt.  I actually have to unplug the keyboard, plug it back in, then I get keyboard control, which is awesome, except that it won't let you install since everything throws crc errors now. :P

                                  So…yeah. :D  I'm still screwed.

                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    Numbski
                                    last edited by

                                    Booooo, I'm a moron.

                                    Okay, this is still a problem for remote management of the firewall should network be down (I have a remote access vnc-kvm), but I should be able to install.  All you have to do is unplug hte keyboard and re-plug it, even with the standard distro, no modifications required.  Why the unplug-plug is required, I have no idea.

                                    That said, now it won't install to my hard drive, complaining about "non-standard geometry".  Bleh.  dd if=/dev/zero of=/dev/ad2 should fix that up quite nicely.  Just waiting for the command to complete (expecting it to hit eof on the ad2…)

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

                                      Please try the following steps. I had similiar problems when setting up a nexcom 1041c:
                                      http://www.mail-archive.com/support@pfsense.com/msg03811.html

                                      Maybe the hacom box is similiar here (I as well mentioned the replug of the USB Keyboard there some time ago)  ;)

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        Numbski
                                        last edited by

                                        Actually, I found the issue, and I'm not partcularly happy about it.

                                        Bios I set to LBA, first thing I tried.

                                        Then I serached here, found that you'd mentioned manually setting a low PIO mode, so I forced PIO mode 0.  Nothing.

                                        I finally, out of desperation, was going jumper by jumper on the mainboard, and noticed that there was a "cock-eyed" jumper on the mainboard next to the ide interfaces. ???

                                        It seems this jumper manually forces ata33 vs ata 66/100.  The manual isn't very clear on which it was set to before.  Now I've re-seated that jumper so that it shorts the pins, and now I get the error that I have an ultra ata drive plugged into a non-ultra-ata cable, but it boots and installs.

                                        Grrr….infuriating.  The BIOS makes you think it is all soft controlled, when in reality it's on the mainboard.  Go fig.

                                        DEFINITELY needs a place in the wiki.

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

                                          yeah, just copy and paste the nexcom additions too please :-)

                                          1 Reply Last reply Reply Quote 0
                                          • N
                                            Numbski
                                            last edited by

                                            Wiki'ed.  Didn't do the nexcom stuff.  Try to get to it later

                                            http://wiki.pfsense.com/wikka.php?wakka=Hacom

                                            Okay, now that I'm done hijacking the thread, perhaps I can get back to the business of working on OpenVPN? :P

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