You either need the IP address of the PS4 or its Mac Address.
You can get those details from the Home Network diagram.
Once you know that then Go to Advanced Settings and select Firewall.
Click on Manage Games and Applications.
Click on Add a New Game or Application.
Enter a Name for it.
Then select the protocol and enter the port ranges and click add.
Keep doing this and it should start to look like this:
Once you've entered all the UPD and TCP port ranges click on Apply.
Then click on "Back to Port Forwarding"
Then pick your new "game" from the list and pick the target - either the Name shown in the Home Network or the IP address. Ideally you should use the name the router sees as this means it should work even if IP addresses change: