Keyboard Shortcuts
Likes
Search
Re: Protecting telnet 3270 sessions
¿ªÔÆÌåÓýMichael, So you mean you also use it for authentication. Why not just say that? Its fine. Personally I would just create a Linux VM for isolation¡ Dave ? From: [email protected] <[email protected]> On Behalf Of Michael Grom
Sent: 11 March 2022 11:57 To: [email protected] Subject: Re: [h390-vm] Protecting telnet 3270 sessions ? Hi Dave, simply, I don't want uninvited visitors in any of my systems, be them actual or vintage. In my own network at home, behind router and firewall, unencrypted comms or terminal sessions is not much of an issue. As soon as your server is in the internet (cloud offering, virtual server) or accessible through the internet, that's a different story. We also cannot rule out that the vintage OS together with hercules can be a vector to attack the underlying host. So yes, speaking of data protection, the system(s) I run is only a big playground. No personal or business data.? a) the host system is guarded with a proper IPTABLES setup, only allowing for the desired TLS and/or SSH destination ports (and source ports, if establishing a link to another computer) Macintosh (the machine where x3270 4.x fails to establish a ssl connection for some odd reason, instead, x3270 talks to a stunnel acting as a client to the server) /opt/homebrew/etc/stunnel/stunnel.conf output = /opt/homebrew/var/log/stunnel.log [x3270] cert = /opt/homebrew/etc/stunneL/kontor2.crt key? = /opt/homebrew/etc/stunnel/kontor.key CAfile = /opt/homebrew/etc/stunnel/chain.pem client = yes accept = 127.0.0.1:43270 connect = vmd33672.contaboserver.net:43270 [x3271] cert = /opt/homebrew/etc/stunneL/kontor2.crt key? = /opt/homebrew/etc/stunnel/kontor.key CAfile = /opt/homebrew/etc/stunnel/chain.pem client = yes accept = 127.0.0.1:53270 ? connect = vmd33672.contaboserver.net:53270 ? output = /var/log/stunnel4/stunnel.log [x3271] accept = 53270 connect= 3271 verifyChain=yes verifyPeer = no cert = /etc/stunnel/vmd33672-server.pem CAfile = /etc/stunnel/chain2.pem
[x3270] accept = 43270 connect= 3270 verifyChain = yes verifyPeer = no cert = /etc/stunnel/vmd33672-server.pem ? CAfile = /etc/stunnel/chain2.pem [herchttp] accept = 4888 connect= 8088 verifyChain = yes verifyPeer = no cert = /etc/stunnel/vmd33672-server.pem CAfile = /etc/stunnel/chain2.pem ? [herchttp-2] accept = 5888 connect= 8082 verifyChain = yes verifyPeer = no cert = /etc/stunnel/vmd33672-server.pem CAfile = /etc/stunnel/chain2.pem
? #!/bin/bash ? x3270 -model 3279-2 -accepthostname vmd33672.contaboserver.net -cafile ~/chain.pem? -certfile ~/kontor2.crt -keyfile ~/kontor.key? L:vmd33672.contaboserver.net:43270 ACCEPT ? ? tcp? --? anywhere ? ? ? ? ? ? anywhere ? ? ? ? ? ? tcp dpt:43270 ACCEPT ? ? tcp? --? anywhere ? ? ? ? ? ? anywhere ? ? ? ? ? ? tcp dpt:53270 ACCEPT ? ? tcp? --? anywhere ? ? ? ? ? ? anywhere ? ? ? ? ? ? tcp dpt:4888 ? ACCEPT ? ? tcp? --? anywhere ? ? ? ? ? ? anywhere ? ? ? ? ? ? tcp dpt:5888 ? |