Login using the admin screen for the router usually 192.168.1.1 for this router defaults are admin for bot username and password.

First, click the option of NAT in the left sidebar.

A new menu appears at this point, click the option of Virtual Servers.

You are then shown a new page. Select the link in the centre section of the page labelled Add New.

The fields you have should now be populated with the following:-

Service Port: 10001
Internal Port: (BLANK)
IP Address: This is the static IP you have assigned the P4
Protocol: ALL
Status: Enabled

Then click save and that's 10001 forwarded, repeat the process again using this :-

Service Port: 30718
Internal Port: (BLANK)
IP Address: This is the static IP you have assigned the P4
Protocol: ALL
Status: Enabled

Click save again.

You may need to reboot the router and the P4 after the router but hopefully just the router.

The ports have to be forwarded to a specific IP to enable two way communication as they sit within the same network BUT still have to go through the firewall of the router etc.

Hope all this works
Dave