First of all: hello.
The requirement: I want to redirect all traffic from 172.23.15.0/24 to 172.23.1.1 for example. I tried
I have read a bit about pf.conf and it seems that it cannot rdr on the same interface. What I am thinking now: an alias. Will using an alias as an interface work?
I am using an older version of FreeBSD (5.4). I know it's old and all that. I'm planning on upgrading to the latest FreeBSD version but I cannot afford to do that now because I am not allowed to bring the network down for a couple of hours.
So, thanks in advance and have a nice evening.
The requirement: I want to redirect all traffic from 172.23.15.0/24 to 172.23.1.1 for example. I tried
Code:
rdr on $int_if from 172.23.15.1/24 to any port 80 -> 172.23.1.1 port 80 but it doesn't work.
I am using an older version of FreeBSD (5.4). I know it's old and all that. I'm planning on upgrading to the latest FreeBSD version but I cannot afford to do that now because I am not allowed to bring the network down for a couple of hours.
So, thanks in advance and have a nice evening.