23 Apr
                
                    2021
                
            
            
                23 Apr
                
                '21
                
            
            
            
        
    
                2:16 a.m.
            
        On Thu, 22 Apr 2021 23:15:19 -0000 yfmao@seas.upenn.edu wrote:
Also, I am kind of confused how to run stunnel between server and client.
Hi, App connects to port 123 ---> plain text ---> Stunnel *client* *accepts* on port 123 ---> *connects* to port 456 ---> encrypted traffic ---> Stunnel *server* *accepts* on 456 ---> Stunnel *connects* to port 789 ---> plain text ---> App listening on port 789 If there is a reply from the server is "the same" backwards (openned sockets ports from clients will differ, of course, but nothing you should care). Regards.