Project

General

Profile

Actions

Bug #8265

closed

Relayd port range (alias) not working

Added by Kilian Ries over 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Load Balancer
Target version:
-
Start date:
01/08/2018
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

Hi,

i just configured a load balancer via relayd and used a port range which i defined via the firewall - alias tab. Dashboard shows me that all backends are down and Server "Unknown - relayd not running?".

The config pfsense generates is the following:

redirect "test_30000_32767" {
  listen on 1.2.3.4 port 30000:32767
  forward to <test-pool> port 30000 check icmp 
}

Firewall rules are set, but i can't connect to the backend pool. It even doesn't work if i configure just two ports (for example 80,443) in my port alias. 

I'm running pfsense 2.4.2-RELEASE-p1 (amd64).
Actions #1

Updated by Jim Pingle over 6 years ago

relayd does not support port ranges, only single ports, but there isn't any input validation that checks for that invalid case to alert the user.

So the problem can't be fixed, but the error condition could be prevented by letting the user know it isn't valid and avoiding putting invalid entries into the relayd.conf file.

Actions #2

Updated by Kilian Ries over 6 years ago

Tanks for the explanation. That is a good idea, because in the gui it says "A port alias listed in Firewall -> Aliases may also be specified here." and that can be misunderstood.

Actions #3

Updated by Jim Pingle over 4 years ago

  • Category set to Load Balancer
  • Status changed from New to Closed

The relayd Load Balancer has been deprecated and removed from 2.5.0

Actions

Also available in: Atom PDF