• Christopher Bowns's avatar
    Add support for IPv6 remote hosts. · 95c9b788
    Christopher Bowns authored
    Supported sshuttle commands for IPv6:
    
    ./sshuttle -r "IPv6:addr" 0.0.0.0/0 -vv
    ./sshuttle -r "[IPv6:addr]" 0.0.0.0/0 -vv
    ./sshuttle -r "[IPv6:addr]:22" 0.0.0.0/0 -vv
    
    Technically "invalid" address/port formats, but they can still be parsed because they’re unambiguous, so these also work:
    
    ./sshuttle -r "IPv6:addr]" 0.0.0.0/0 -vv
    ./sshuttle -r "IPv6:addr]:" 0.0.0.0/0 -vv
    ./sshuttle -r "IPv6:addr]:22" 0.0.0.0/0 -vv
    ./sshuttle -r "[IPv6:addr" 0.0.0.0/0 -vv
    
    (If you have a Mac with Back To My Mac, use dns-sd to discover the remote host's IPv6 address:
    dns-sd -G v4v6 <machine name>.<member name>.members.mac.com )
    95c9b788
ssh.py 2.83 KB