{"id":177672,"date":"2021-11-25T23:38:38","date_gmt":"2021-11-25T18:08:38","guid":{"rendered":"https:\/\/www.www.bullfrag.com\/configure-qnap-nas-server-as-primary-router-with-pfsense\/"},"modified":"2021-11-25T23:38:38","modified_gmt":"2021-11-25T18:08:38","slug":"configure-qnap-nas-server-as-primary-router-with-pfsense","status":"publish","type":"post","link":"https:\/\/www.bullfrag.com\/configure-qnap-nas-server-as-primary-router-with-pfsense\/","title":{"rendered":"Configure QNAP NAS Server as Primary Router with pfSense"},"content":{"rendered":"
<\/p>\n
To correctly configure the interfaces, we have to go to the section \u00abNetwork \/ Virtual Switch<\/strong>\u00ab, In this section we always have to use the option\u00abAdvanced mode<\/strong>\u00bbTo configure all network interfaces. Although it is possible to create them with the \u00abBasic Mode\u00bb, our recommendation is that you have it in the other option to have all the configuration options.<\/p>\n <\/p>\n Once we have clicked on \u00abAdvanced mode<\/strong>\u00ab, We will have to select the physical interface that we are going to configure, we do not have to configure anything in Virtualization Station yet. And we have to uncheck the option \u00abEnable the Spanning-Tree Protocol to prevent bridge loops<\/strong>\u00ab.<\/p>\n <\/p>\n Depending on the interface configuration, we will have to choose one option or another:<\/p>\n <\/p>\n Once we have configured the network, we now have to properly configure Virtualization Station 3.<\/p>\n In the Virtualization Station menu we will have to add a new virtual machine, give it a name, select the ISO image and the destination, as well as select that the operating system is UNIX with the latest FreeBSD version that appears. Once we have created the virtual machine but have not started it, our recommendation is to make some advanced configurations before starting it.<\/p>\n In the part of “general<\/strong>\u00bbYou can set the CPU to be” Passthrough “and hide the KVM signature, in addition, we can select the number of CPU cores that the virtual machine will use as well as the RAM memory of the VM, in pfSense with few services, 4GB is enough If you are installing additional software with many services, you may have to allocate 8GB for everything to go smoothly. We leave the rest of the options as they are in the following screenshot:<\/p>\n <\/p>\n In the part of “Boot options<\/strong>\u00bbWe choose legacy BIOS, and leave the boot devices as they are.<\/p>\n <\/p>\n The network section is the most important, here we must configure the network interface that it automatically creates as:<\/p>\n Now we will have to add a new device, select “Add device” and select “Network”, create a new network with the following options:<\/p>\n In the following screenshot you can see the summary:<\/p>\n <\/p>\n In the section of “Storage<\/strong>\u00bbYou can allocate the storage you want, in principle pfSense does not take up too much space, so with 50GB of size it is enough, later we could increase it if necessary.<\/p>\n <\/p>\n In the CD \/ DVD section we make sure that it will load the ISO image of pfSense, and the interface that is IDE:<\/p>\n <\/p>\n In “Video” we leave it with the default parameters.<\/p>\n <\/p>\n In \u00abAudio\u00bb we leave it with the default parameters.<\/p>\n <\/p>\n In the “Console operation” section we choose “Spanish” and leave the rest of the options by default.<\/p>\n <\/p>\n Now in USB we leave the default parameters.<\/p>\n <\/p>\n In the menu \u00abOthers<\/strong>\u00bbOur recommendation is to always choose\u00abRetain previous state<\/strong>\u00ab, Because if we update the NAS server the virtual machine will start completely automatically and without us having to do anything at all. However, you can always choose to lift it manually if you want.<\/p>\n <\/p>\n When we have already configured everything, we start the machine, we follow the pfSense installation wizard, and the most important part is to assign the physical interfaces to the Internet WAN or the LAN, for this we must pay close attention to the MAC addresses of both interfaces , and choose them correctly.<\/p>\n <\/p>\n In RedesZone we have recorded a complete video with everything step by step, there you can see a detailed explanation of how we have to create the different network interfaces, how to configure the part of the virtual machine in Virtualization Station, and we also show you the installation process of pfSense, assigning the interfaces correctly, and we will check how we directly access the pfSense operating system through the default IP 192.168.1.1, and the NAS server through the 192.168.1.2 that we have specifically configured in the interface:<\/p>\n \n
PfSense Configuration in Virtualization Station<\/h2>\n
\n
\n