How to restrict the client's access to the modbus TCP server #2067
-
| Is that possible to get client IP when use modbus TCP server? The purpose is to limit which can access registers by IP. Restrict which IP can read/write, and which only can read | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            janiversen
          
      
      
        Mar 4, 2024 
      
    
    Replies: 2 comments 2 replies
-
| There are no API for that since the server do not have an API apart from startup and shutdown. the transport layer have that knowledge since it's a socket. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| The restriction itself is already in place in the datastore but needs to be amended. | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
No I have never done that kind of limitation, but the best examples are to look at the source.