diff options
-rw-r--r-- | sshuttle/client.py | 2 | ||||
-rw-r--r-- | sshuttle/methods/nat.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sshuttle/client.py b/sshuttle/client.py index 5d1d990..5dbb7ad 100644 --- a/sshuttle/client.py +++ b/sshuttle/client.py @@ -371,7 +371,7 @@ class FirewallClient: if self.group is None: group = b'-' elif isinstance(self.group, str): - group = bytes(self.group, 'utf-8') + group = bytes(self.group, 'utf-8') else: group = b'%d' % self.group self.pfile.write(b'GO %d %s %s %s %d\n' % diff --git a/sshuttle/methods/nat.py b/sshuttle/methods/nat.py index bd878b1..4da1a83 100644 --- a/sshuttle/methods/nat.py +++ b/sshuttle/methods/nat.py @@ -74,7 +74,7 @@ class Method(BaseMethod): _ipt('-A', chain, '-j', 'REDIRECT', '--dest', '%s/%s' % (snet, swidth), *(tcp_ports + ('--to-ports', str(port)))) - + # Don't route any remaining local traffic through sshuttle. _ipt('-A', chain, '-j', 'RETURN', '-m', 'addrtype', |