Project

General

Profile

Actions

Bug #12020

closed

OpenVPN RADIUS-based firewall rules use incorrect port ranges

Added by Viktor Gurov almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
OpenVPN
Target version:
Start date:
06/10/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
2.5.1
Affected Architecture:

Description

Previous operator ( `><` ) prevented inserting port range with min/max port.
Ex.

ip:inacl#1=permit tcp host {clientip} host 1.1.1.1 range 10000 65535

produced the following invalid rule:
pass in quick on ovpns1 inet proto tcp from 192.168.1.2 to 1.1.1.1 port 9999 >< 65536

Actions

Also available in: Atom PDF