PLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. cpranjale
  2. PLCnext Technology & PLCnext Controls
  3. Monday, 12 October 2020

Dear Sir,

Customer is using PLCNext AXC F2152 .

He wanted to some port forwarding in PLC.

There are two IP's (192.168.1.10, 192.168.1.100)which which PLC is Communicating on same socket 8000, which is creating issue  and PLC ip is 192.168.1.2

So he wanted to   redirect incoming and out going traffic  from 192.168.1.100:8000 to 192.168.1.2:8001 .

 

AXC F 2152 FW : 2020.0

Please suggest

 

Attachments (1)
Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello,

which device is initiating the communication?
A port forwarding seems to be a little much if all you have to do is select a different bind port at your TCP connect.
Are you trying to providing two different services at the same port 8000 on your PLC (as servers)?
Usually the party that establishes the connection does not care much for the local port.

kind regards,
Oliver


Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

cpranjale Accepted Answer Pending Moderation
0
Votes
Undo

Hello Oliver,

we are testing Multimaster communication with PLCNext.

At Customer Place  Master's are communicating with PLC over port no 8000 independently (For Ex Master 1  is 1.10: 8000 and Master 2 is 1.100:8000)

Now as Per Test case it is not possible to Change Port No at Master End.

we are live with system , it will be great help if you guide me solution

Regards

Chetan

Oliver PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Chetan,


these NAT settings are currently not supported by the PLCnext WBM.

Please provide some code and example Master configuration. 

I dont understand why this is not possible to program/configure (without having to use NAT.)

Of course you can add your own NFT rules to do the port forwarding.
Please take the NFT documentation for reference then.
You could also use a dedicated device for the NAT.

Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.