Linux Setup for Hercules

  1. Download openSUSE Linux and install it
  2. Connect eth0 to ExternalNetwork.
    • Assign fixed IP address like 192.168.0.45.
    • Point to a gateway.
    • Point to a DNS server.
  3. Connect eth1 to InternalNetwork.
    • Assign static address like 10.0.0.45.
  4. Enable IP Forwarding: (General) Network Settings -> Routing ->(check) Enable IP Forwarding
  5. Setup tunnel
  6. Install Hercules
  7. Install X3270

On SUSE13:

Network setup:

Start Hercules and then:

  • ls -l /dev/tun0 /dev/net/tun
  • echo 1 > /proc/sys/net/ipv4/ip_forward

https://en.opensuse.org/SDB:Hercules_s390_emulation#Network_Configuration