]> git.ipfire.org Git - ipfire-2.x.git/commit
Firewall: Proper allow to create REDIRECT rules.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 30 Jun 2021 18:40:31 +0000 (20:40 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 16 Aug 2021 06:18:00 +0000 (06:18 +0000)
commit21b37391f9769718df7bd726453140f4ec8ff1c0
tree75e3e09680f85142de7a91ab0870fcfafbe37875
parentb89454b52a0f29cb4336c1e57f6a856cfa16fb3c
Firewall: Proper allow to create REDIRECT rules.

This patch now proper allows to create rules for redirecting requests of a
given host, group or network(s) to a specified port or service to the
local IPFire system.

So it implements a very generic and easy to use feature to redirect
(for example all DNS, NTP, or whatever) requests to the a local running
instance and so to force usage of that local hosted service.

* The feature supports specifiying a single port and redirect the requests to another given one.
  ( For example requests to UDP 123 can be redirected to local UDP 1234
  if you run an NTP server on that port.)

* It also supports direct usage of services or even service groups.
  ( So you can create a service group for DNS and redirect them to the
  local recursor, or create a "redirected services" group which easily
  can be managed...)

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/firewall/rules.pl