diff options
author | Brian May <brian@linuxpenguins.xyz> | 2020-10-21 07:53:40 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 07:53:40 +1100 |
commit | ac3ccb769acdb31a068d21e0af217b1f93558dc9 (patch) | |
tree | ca9cb4987eecbc80f6d69f5da716be8d04c01dd4 /sshuttle/client.py | |
parent | 1f3c74a1afc379f75846376e069366e5567b3346 (diff) | |
parent | 574ed8e56420b2e22c5f1b1a522e6380a980ad81 (diff) |
Merge pull request #544 from skuhl/fix-no-remote
Allow no remote to work.
Diffstat (limited to 'sshuttle/client.py')
-rw-r--r-- | sshuttle/client.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sshuttle/client.py b/sshuttle/client.py index a66c378..da23b7d 100644 --- a/sshuttle/client.py +++ b/sshuttle/client.py @@ -569,9 +569,9 @@ def main(listenip_v6, listenip_v4, user, sudo_pythonpath): if not remotename: - # XXX: We can't make it required at the argparse level, - # because sshuttle calls out to itself in FirewallClient. - raise Fatal("You must specify -r/--remote.") + print("WARNING: You must specify -r/--remote to securely route " + "traffic to a remote machine. Running without -r/--remote " + "is only recommended for testing.") if daemon: try: |