Netgate SG-1000 microFirewall

Author Topic: Slow Wifi speeds, normal LAN speeds. What could I be doing wrong?  (Read 592 times)

0 Members and 1 Guest are viewing this topic.

Offline pfsenseuzer

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Hey all, I am having trouble getting decent wifi speeds on my DDWRT Router that is being used as an AP.

I currently have a DDWRT box setup in AP mode, and have turned off any DHCP services, yet download speeds are terrible.

Through one of the Ethernet ports on the same box, I can get an upwards of 200mbps+. When connected to the AP via wifi, I can barely top 60mbps. The AP used to be my home router, but I re-purposed it. Before I transitioned to Pfsense I was getting the download speeds I am paying for through my ISP 200/10. I was not connected to VPN, but I was still getting 200mbps. Now my network runs through AirVPN and I can get full speeds while connected through LAN, but not Wifi.

I don't see why I would have slower speeds when I can connect to one of the LAN ports on the same device and get full download speeds. My Pfsense box should be handling the VPN aspect so I don't see why Wifi would be a bottleneck. What could I be missing or doing wrong? My upload speeds on either connection stay at 9-11mbps.

Network is setup like this:

Modem - PfSense Machine - DDWRT Router in AP mode < [LAN - PC] [Wifi - Any other device]

Guide I followed for AirVPN. https://airvpn.org/topic/17444-how-to-set-up-pfsense-23-for-airvpn/

Offline Derelict

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9596
  • Karma: +1089/-309
    • View Profile
Re: Slow Wifi speeds, normal LAN speeds. What could I be doing wrong?
« Reply #1 on: August 21, 2017, 08:48:44 pm »
No love on the DDWRT forums?
Las Vegas, Nevada, USA
Use this diagram to describe your issue.
The pfSense Book is now available for just $24.70!
Do Not PM For Help! NO_WAN_EGRESSTM

Offline pfsenseuzer

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Slow Wifi speeds, normal LAN speeds. What could I be doing wrong?
« Reply #2 on: August 21, 2017, 08:55:42 pm »
I have searched extensively, but nothing comes close to this issue. I figured out how to setup the router to be an AP, but other than that I don't think its the router. The settings are all set to AP mode.

Offline Derelict

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9596
  • Karma: +1089/-309
    • View Profile
Re: Slow Wifi speeds, normal LAN speeds. What could I be doing wrong?
« Reply #3 on: August 22, 2017, 12:39:31 am »
If it works great wired and not wireless, how is it not the wireless device?

More pointed, how is it the firewall that doesn't care whether the client is wired or wireless?
Las Vegas, Nevada, USA
Use this diagram to describe your issue.
The pfSense Book is now available for just $24.70!
Do Not PM For Help! NO_WAN_EGRESSTM

Offline pfsenseuzer

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Slow Wifi speeds, normal LAN speeds. What could I be doing wrong?
« Reply #4 on: August 25, 2017, 05:31:02 am »
I'm looking for ideas on where to look, or what others may have figured out in their own similar setups. I am completely new to this.

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14802
  • Karma: +1374/-202
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Slow Wifi speeds, normal LAN speeds. What could I be doing wrong?
« Reply #5 on: August 29, 2017, 07:43:36 am »
I think the point Derelict is trying to make is this is not a pfsense issue - so you would get better help on a dd-wrt forum.

But in general "I can barely top 60mbps" on wifi.. What wifi connection are you making?  What is the PHY of the connection?  Are you saying when you were using dd-wrt as your router your wifi was seeing 200mbps?

So you are AC with multiple streams?  What hardware are you running dd-wrt on?  What is the client?  Why don't you take pfsense out of the equation and just do a speed test from wifi client to something plugged into the wired ports on your AP?  iperf comes to mind as a test software.

- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.4.2-RELEASE-p1 (work)
1x SG-4860 2.4.2-RELEASE-p1 (home)

Offline pfsenseuzer

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Slow Wifi speeds, normal LAN speeds. What could I be doing wrong?
« Reply #6 on: August 29, 2017, 10:52:45 pm »
Wifi connection is N/AC. Before I connected my firewall and ran everything under the VPN download speeds would be consistent when running a speed test when connected to either 2.4ghz or 5.0ghz.

WRT 1900AC is the router I am converting to an AP device that would be running DDWRT.

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14802
  • Karma: +1374/-202
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Slow Wifi speeds, normal LAN speeds. What could I be doing wrong?
« Reply #7 on: August 30, 2017, 05:27:41 am »
So lets see this speed test then.. And Great your connected which N or AC.. AC has to be 5ghz, but N could be 5 or 2.4 so which are you connecting at?  When you are testing your speed because there can be a HUGE difference!!!  HUGE!!!

To get 200mbps you would need to be either 2 streams on your client AC and 40mhz.. Or if 1 stream and doing 80mhz.. This is AC..  Your PHY could to need to be 390 or 433...  In general take your PHY and /2 would give you a rough idea of what you could expect over wifi if no other wifi clients on..

To be able to see 200mbps real world with N.. you would need 3 streams.  On 5ghz with 40mhz --- What wifi is your client using that it could support 3 streams?  Would have to be some PCI card no built in wifi would be doing 3 streams that I know of.

If your on 2.4 which really only supports 20mhz channels its just not possible there is no combination you could have that would give you 200mbps real world.  To see 200 in real world speeds your PHY has to be at min 400..

Be happy to help you troubleshoot your wifi issue.. But going to need some actual numbers and tests to work with.. So lets see an iperf test from your client to some wired box on your AP switch ports that you can actually see 200mbps over your wifi.. Because if you can not.. Then no your not going to see it to the internet no matter what.

Since you stated that wired devices is working fine and your seeing your 200mbps - and pfsense doesn't know or care if your wired or wireless how is this a pfsense problem??
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.4.2-RELEASE-p1 (work)
1x SG-4860 2.4.2-RELEASE-p1 (home)

Offline pfsenseuzer

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Slow Wifi speeds, normal LAN speeds. What could I be doing wrong?
« Reply #8 on: August 30, 2017, 06:44:17 pm »
I just got a new 4 port nic installed and I reset my settings to default. My network for the time being is

Modem - Pfsense WAN port < LAN & LAN2

Nic0
Not being used
Nic1
Modem - WAN
Nic2
LAN - Main Computer
LAN2 - DDWRT AP
-Down
-Down

Prior to this I only had two ports on the firewall, WAN and LAN. Now I have about 6, one from the motherboard and 5 from the two NICs. I was thinking that maybe because I was using only one LAN port and the rest from the router, throughput through wifi was being affected.

This is more related to Pfsense since I now maintain the network through it rather than the WRT1900AC. Anything I would need to check on the firewall would be directly tied to the router. The router is basically configured to connect to the firewall and push any DHCP requests to it, everything else has been disabled/unused. I am trying to eliminate everything in between Pfsense and my devices to allow for optimal configurations on my Pfsense router. I know it won't be much, and thats why I lean on this forum to see what would be ideal to run with Pfsense. Then I could focus on Pfsense.

As far as terminology goes, I will have to google and see what you are trying to tell me, but I understand how it's hard to help with little info provided.

No VPN Speedtest Results through AC 20mhz channel width:


Same computer, AC 80mhz width:


I can provide more when I get VPN backup, but for now this is what is normal performance.

This is all done for my personal home network. I am the client  ;D.

I wish I had Google Fiber so this could be really awesome, but it's not avaliable where I live.

Also, the AP has 4 antennas on it, and supports simultaneous 2.4ghz, and 5.0ghz. If that helps any.
« Last Edit: August 30, 2017, 07:16:21 pm by pfsenseuzer »

Offline toxo

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Slow Wifi speeds, normal LAN speeds. What could I be doing wrong?
« Reply #9 on: December 22, 2017, 03:00:51 pm »
Nrcropost but did you ever get to the bottom of this? I have the exact same issue. I'm using a router as a WAP with all the router services including DHCP disabled. The WAP bridges onto my Ethernet switch, which the LAN side of pfSense is connected to. I have 2 PC-based gateways, 1 is pfSense and the other is a Linux box running firewalld. Both have 2 Ethernet interfaces - 1 to the LAN and the other functioning as WAN via PPPoE to a VDSL modern.

If I use the pfSense box, wired devices work at full speed but the wireless access is garbage. If I unplug the pfSense box and replace it with my Linux gateway box, both wired and wireless work at full speed.

Wtf!