mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-22 16:03:57 +01:00
6 lines
165 B
Python
6 lines
165 B
Python
|
import subprocess
|
||
|
|
||
|
def main(port, subnets):
|
||
|
subnets_str = ['%s/%d' % (ip,width) for ip,width in subnets]
|
||
|
subprocess.call(['./ipt', str(port)] + subnets_str)
|