Chandras002
Dear Community, 
 
Greetings! I am new to OpenPLC.  i  have installed the OpenPLC_v3 - Runtime on Ubuntu 22.04 as Docker .  No issues - able to run the  Dashboard.  On the settings, I have enabled the  "Modbus Server Port  =5020".   The Dashboard  run on my local Ubuntu laptop,
When i do a Nmap  from another computer in LAN, i can see the only DNP port 20000 and Port 8080 and not the Modbus port as shown in the screen shot -2.  Also, i have not using Programming editor.  Objective: Wish to expose as much as port of OpenPLC 
 
I have tried to set rules on iptables as below 
iptables -A INPUT -p tcp --dport 5020 -j ACCEPT
iptables -I OUTPUT -p tcp --sport 5020 -j ACCEPT
 Any thoughts...Am i missing somethings? highly useful. 
 
Screen shot -1
 
Screenshot from 2023-06-15 16-12-44.png
 
 
Screen shots -2 
 
Screenshot from 2023-06-15 16-00-20.png 
Cheers! 
Chandra 
Reply 0 0
Chandras002
Update:  The issue is solved  when the starting the OpenPLC as docker on Ubuntu 
sudo docker run -itd --rm --privileged -p 8080:8080 -p 502:502 openplc:v3
Again NAMP may not find the Modbus unless the following command  
nmap -v -p502 - 172.16.2.238
 
Now, i can see the port 502  enabled and open .  Hope this will be useful for someone in future!  
 
Cheers!
Chandra 
Reply 1 0
Reply