<reponame>omikabir/omEngin
import asyncio
import pproxy

ipport = "172.16.31.10:5030"

server = pproxy.Server('socks5://172.16.17.32:6888')
remote = pproxy.Connection('socks5://192.168.3.11:8000#HsQ1hf:jEcN8w')
args = dict( rserver = [remote],verbose = print )

loop = asyncio.get_event_loop()
handler = loop.run_until_complete(server.start_server(args))
try:
    loop.run_forever()
except KeyboardInterrupt:
    print('exit!')

handler.close()
loop.run_until_complete(handler.wait_closed())
loop.run_until_complete(loop.shutdown_asyncgens())
loop.close()
