[guide] pfsense VM on QNAP in 2020

Introduce yourself to us and other members here, or share your own product reviews, suggestions, and tips and tricks of using QNAP products.
Post Reply
User avatar
Qmann
Know my way around
Posts: 131
Joined: Mon Jun 08, 2020 8:09 am
Location: USA

Re: [guide] pfsense VM on QNAP in 2020

Post by Qmann » Sat Oct 24, 2020 2:28 pm

Moogle Stiltzkin wrote:
Sat Oct 24, 2020 2:03 pm

if they are on separate vlans, they both can have internet access. difference is, they can't talk to each other.

so your pc cannot talk to your chromecast, vice versa. but both have internet access. however they can talk to other devices on the same vlan. so you can separate out private network vs iots, vs wireless guest
I have phones and PCs that all use chromecast, and homeassistant that needs to run IoT but accessible on PC and phones to signal devices,,,, so I've never been able to VLAN anything . It seems they all need to be on the same network. Seems like there has to be a way to bridge certain traffic over to the other VLAN by some type of rule, but that is far beyond my mojo. :lol:

I could do guest wifi, but seems like that's about it.
Model: TVS-872XT 64GB (Crucial 64GB Kit CT2K32G4SFD8266)
2 x 1TB XPG 1TB NVMe (ASX8200PNP-1TT-C) [RAID-1]
4 x 8TB Ironwolf [RAID-5]
Model: TS-569L (HBS3 backups)
4 x 8TB Ironwolf [RAID-5]

User avatar
Moogle Stiltzkin
Ask me anything
Posts: 9470
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: [guide] pfsense VM on QNAP in 2020

Post by Moogle Stiltzkin » Sat Oct 24, 2020 2:41 pm

o.... ur using expressvpn.

that kind of vpn only tunnels your internet traffic so that your ip uses the one of your vpn provider. (i use mullvad)
https://www.youtube.com/watch?v=oja3UzuuqGQ

this is different from the vpn server you run from your own router, then provide your client elsewhere e.g. desktop, laptop, smartphone, so they can connect to your router via vpn for a secure encrypted tunnel. NO Vpn subscription required for this. Lawrence explains how to setup this kind of vpn for remote access
https://www.youtube.com/watch?v=PgielyUFGeQ

Qmann wrote:
Sat Oct 24, 2020 2:28 pm
Moogle Stiltzkin wrote:
Sat Oct 24, 2020 2:03 pm

if they are on separate vlans, they both can have internet access. difference is, they can't talk to each other.

so your pc cannot talk to your chromecast, vice versa. but both have internet access. however they can talk to other devices on the same vlan. so you can separate out private network vs iots, vs wireless guest
I have phones and PCs that all use chromecast, and homeassistant that needs to run IoT but accessible on PC and phones to signal devices,,,, so I've never been able to VLAN anything . It seems they all need to be on the same network. Seems like there has to be a way to bridge certain traffic over to the other VLAN by some type of rule, but that is far beyond my mojo. :lol:

I could do guest wifi, but seems like that's about it.
i watched lawrence's video, he says it may be possible using the avahi, so that devices on your private lan can communicate with your guest vlan, but not the otherway. or maybe i misundertood what he meant was possible with that kind of setup :' he even cites usage for chromecast in a vlan segmented network. i highly recommend you watch this video

https://www.youtube.com/watch?v=HW9mUrF1ZgU
NAS
[Main Server] QNAP TS-877 w. 4tb [ 3x HGST Deskstar NAS (HDN724040ALE640) & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A w. 5x 2TB Samsung F3 (HD203WI) EXT4 Raid5
[Backup] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) single disks.
[^] QNAP TS-659 Pro II
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-228
[^] QNAP TS-128
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Asus AC68U Router|100dl/50ul MBPS FTTH Internet | Win10, WC PC-Intel i7 920 Ivy bridge desktop (1x 512gb Samsung 850 Pro SSD + 1x 4tb HGST Ultrastar 7K4000)


Guides & articles
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin

MikeLagit
Easy as a breeze
Posts: 332
Joined: Fri Mar 22, 2013 11:40 pm

Re: [guide] pfsense VM on QNAP in 2020

Post by MikeLagit » Sat Oct 24, 2020 2:48 pm

You can do both.

Client: Express VPN in pfsense tunnels outgoing traffic to a public shared IP.

While

Server: Is configured in pfsense so you can connect back into the network remotely with Openvpn client on a phone and laptop. You don't expose any ports on the pfsense except 1194 for incoming OpenVPN.


Model: TVS-872XT 16GB
Model: TS-877-1700 16GB

User avatar
Qmann
Know my way around
Posts: 131
Joined: Mon Jun 08, 2020 8:09 am
Location: USA

Re: [guide] pfsense VM on QNAP in 2020

Post by Qmann » Sat Oct 24, 2020 3:00 pm

Thanks for the IoT tip! I figured it could be done, I just hadn't spent the time on it yet.
Model: TVS-872XT 64GB (Crucial 64GB Kit CT2K32G4SFD8266)
2 x 1TB XPG 1TB NVMe (ASX8200PNP-1TT-C) [RAID-1]
4 x 8TB Ironwolf [RAID-5]
Model: TS-569L (HBS3 backups)
4 x 8TB Ironwolf [RAID-5]

User avatar
patricepm
Getting the hang of things
Posts: 54
Joined: Mon Jul 03, 2017 9:29 am

Re: [guide] pfsense VM on QNAP in 2020

Post by patricepm » Sun Nov 29, 2020 8:09 pm

Hi everybody,

I’d like to know your experiences with having pfsense virtualized, and configured the OpenVPN client in pfsense with a vpn provider.

I’ve got it all up and running but the download speed is soooo slow, nearly 30mbps while connecting to the same vpn server using qvpn gives me over 300mbps.

I’d like to hear your comments on this one.
Thank all!


==================================================
QNAP TVS-473
- 4x WD Red Pro 6TB (RAID 10)
- 16GB Memory
- Firmware: QTS 4.5.1
==================================================
QNAP TVS-473
- 4x WD Red Pro 6TB (RAID 10)
- 16GB Memory
- Firmware: QTS 4.5.1

User avatar
Qmann
Know my way around
Posts: 131
Joined: Mon Jun 08, 2020 8:09 am
Location: USA

Re: [guide] pfsense VM on QNAP in 2020

Post by Qmann » Mon Nov 30, 2020 12:09 am

I didn't have any issues with speed using Express VPN and got around 170mbps down on my 200 mbps connection. That's using 256-bit encryption on my TS-877.

Verify your cpu is aesni, and you have hardware crypto enables properly in pfsense.

Model: TVS-872XT 64GB (Crucial 64GB Kit CT2K32G4SFD8266)
2 x 1TB XPG 1TB NVMe (ASX8200PNP-1TT-C) [RAID-1]
4 x 8TB Ironwolf [RAID-5]
Model: TS-569L (HBS3 backups)
4 x 8TB Ironwolf [RAID-5]

matthewoliver
Starting out
Posts: 49
Joined: Tue Nov 17, 2009 5:05 am

Re: [guide] pfsense VM on QNAP in 2020

Post by matthewoliver » Sun Jan 10, 2021 7:50 pm

Hi,

Trying to install pfsense on my nas, except I can't as I can't find a proper keyboard mapping for my mac... Any ideas? (I've been struggling with other linux VMs but I eventually managed) or should I buy a usb keyboard to plug in the nas. If so, which one would you recommend?
Thx!
Current:
TVS-h1288X
Intel Xeon W-1250 w/ 48GB Ram
2x WD Black SN750 NVMe 1TB
4x Samsung 860 EVO 1TB
4x Seagate IronWolf 10TB
QXP-T32P
Previous:
TS-469L
TS-219

Post Reply

Return to “Users' Corner”