Sign inSign up

mainframed767/web3270

By mainframed767

Updated almost 5 years ago

Image
0

665

mainframed767/web3270 repository overview

web3270

This is a web based front end to c3270.

How to use

  1. Run this container with:
docker run -d \
  --name=web3270 \
  -p 4443:443 \
  -v /opt/docker/web3270:/config \
  -v /opt/docker/web3270/certs:/certs \
  --restart unless-stopped \
  mainframed767/web3270

Where:

  • 4443 is the port you want the web server to listen on
  • /opt/docker/web3270 is the location for the web3270.ini config file optional
  • /opt/docker/web3270/certs is the location of the TLS server certificates optional

On first run the config file will be copied to the /config volume. Run this container, edit that file then reset the container.

Config File

The config file allows you to specify multiple options:

  • server_ip IP address of the tnN3270 server to connect to
  • server_port TCP port of the tn3270 server to connect to
  • webport TCP port for this webserver
  • tls yes/no should this server use HTTPS. If yes this script will check in the folder denoted by the script argument --certs, the default is the folder used the run the script.
  • encrypted yes/no when connecting to tn3270 use SSL or not
  • selfsignedcert yes/no allow self signed certs when connecting to encrypted tn3270 server
  • model tn3270 model type (2 through 5), default 4. See https://x3270.miraheze.org/wiki/3270_models for more details.
  • useproxy yes/no should a proxy be used to connect to tn3270 server
  • proxystring The proxy connection string optional.

Tag summary

Content type

Image

Digest

Size

353.4 MB

Last updated

almost 5 years ago

docker pull mainframed767/web3270