Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - EFaden

#16
20.7 Legacy Series / Re: Help w/ FQ-Codel
September 04, 2020, 07:23:29 PM
Seems to have fixed it now.  Thanks!
#17
20.7 Legacy Series / Help w/ FQ-Codel
September 04, 2020, 02:25:33 PM
Hey Everyone,

I'm struggling to get FQ-Codel working correctly and could use some suggestions.  I have been using

https://www.lullabot.com/articles/eliminating-robots-and-voip-glitches-with-active-queue-management
and
https://forum.opnsense.org/index.php?topic=7423.0

as a guide, but my numbers are not what I think they should be.  Mostly on my download I seem to be loosing about 50 Mbps, but I'm not sure why.  My connection is a 300/30 Mbps cable line.  Here is what I have setup so far.

Pipes:
  Downstream Pipe -
   Bandwidth => 290 (300 Mbps minus about 3% for overhead)
   Metric => Mbps
   Mask => None, Codel Off, Pie Off
   Advanced Options -
     Scheduler Type => FlowQueue-Codel
     FQ-Codel ECN Checked
     All others default/blank

Upstream Pipe
   Bandwidth => 29 (29 Mbps minus about 3% for overhead)
   Metric => Mbps
   Mask => None, Codel Off, Pie Off
   Advanced Options -
     Scheduler Type => FlowQueue-Codel
     FQ-Codel ECN Checked
     All others default/blank

Queues:
  Upstream High Priority Queue (From lullabot link, for TCP ACK and DNS)
    Weight 10
    Pipe - Upstream Pipe
    All Others Default

  Upstream Regular Priority Queue
    Weight 1
    Pipe - Upstream Pipe
    All Others Default

  Downstream Regular Priority Queue
    Weight 1
    Pipe - Downstream Pipe
    All Others Default

Rules

#1, Interface WAN, Source Any, Destination 10.0.0.0/24 (LAN Network), Direction Both, Queue Downstream Regular

#10, Interface WAN, Proto TCP ACK Only, Source 10.0.0.0/24 (LAN Network), Destination Any , Direction Both, Queue Upstream High Priority

#11, Interface WAN, Proto TCP, Source 10.0.0.0/24 (LAN Network), Destination Any, Destination Port 53, Direction Both, Queue Upstream High Priority

#20, Interface WAN, Source 10.0.0.0/24 (LAN Network), Destination Any, Direction Both, Queue Upstream Regular Priority


With these settings I get an A on bufferbloat and my upstream seems to be great, but I seem to loose about 50 mbps on my downstream.

Any thoughts?  Suggestions?

Thanks
#18
Hey,

So I am going to be converting my MikroTik routers over to OPNSense.  I currently have two sites that I am using EOIP (Ethernet Over IP, basically MikroTik's version of GRE) over IPSec setup between these two sites.  Trouble is that both sites have dynamic IPs (don't change often, but they can).  The way I am currently handling it is with Dynamic DNS and a script running on each router to see if there is a new IP for the other side of the tunnel every 10 minutes and then it updates it and forces the tunnel to restart. 

I am curious how I would go about setting this up in OPNSense.  Thanks in advance.

-Eric