Port forwarding/redirection -- how?

Post Reply
Posts: 1
Joined: Mon Jun 06, 2016 3:13 pm

Port forwarding/redirection -- how?

Post by kkerekes » Mon Jun 06, 2016 3:18 pm

I want to have incoming requests to a specific Well Known Port (502) to be redirected to a port that doesn't require root access, say 1502.

This is allegedly something that pf can do, but I cannot figure out how to navigate the Murus UI to anything that would do that.

Anybody solve this issue already?

Posts: 485
Joined: Wed Dec 10, 2014 5:20 pm

Re: Port forwarding/redirection -- how?

Post by hany » Sun Jun 12, 2016 12:06 pm

The easiest way is using a custom rule.
Add a custom rule like this:
action: RDR
source ip: any
source port: leave empty
destination ip: your IP address
destination port: 502
forwarding: your IP and port 1502. For example: port 1502

add rule, click play, and that's it.
The resulting pf rule will be something like this (assuming your IP address is

Code: Select all

rdr inet proto {tcp, udp} from any to port 500 -> port 1502

here an example using ports 500 and 1000:


Post Reply