Class TunnelCommand


  • public class TunnelCommand
    extends Object
    This command can be used to expose a locally TCP-based service over the overlay network to any other computer running drasyl.
     +-------------------+          +-----------------------------+                  +------------------------------+          +-------------------+
     | local TCP service |  expose  |           local             |  drasyl overlay  |            remote            |  expose  |    exposed TCP    |
     | (behind firewall) |--------->| TunnelExposeCommand |----------------->| TunnelConsumeCommand |--------->|  service (local)  |
     +-------------------+          +-----------------------------+                  +------------------------------+          +-------------------+
     
    • Field Detail

      • CONNECTION_CONFIG

        public static final org.drasyl.handler.connection.ConnectionConfig CONNECTION_CONFIG
    • Constructor Detail

      • TunnelCommand

        public TunnelCommand()