o
    b                     @   sF   d Z ddlmZ ddlmZ ddlmZ G dd dejZdd Zd	S )
z9
Support module for making a port forwarder with twistd.
    )strports)portforward)usagec                   @   s>   e Zd ZdZdZg dg dg dgZejde idZ	dS )	Optionsz	[options]zPort Forwarder.)portp6666zSet the port number.)hosth	localhostzSet the host.)	dest_portdi	  zSet the destination port.r	   )
optActionsN)
__name__
__module____qualname__synopsislongdescoptParametersr   CompletionsCompleteHostnamescompData r   r   9/usr/lib/python3/dist-packages/twisted/tap/portforward.pyr      s    r   c                 C   s(   t | d t| d }t| d |S )Nr	   r   r   )r   ProxyFactoryintr   service)configfr   r   r   makeService   s   r   N)	__doc__twisted.applicationr   twisted.protocolsr   twisted.pythonr   r   r   r   r   r   r   <module>   s   