Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/sshuttle/sshuttle
/ is_supported
Method
is_supported
sshuttle/methods/nat.py:128–133 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
126
return
result
127
128
def
is_supported(self):
129
if
which(
"iptables"
):
130
return
True
131
debug2(
"nat method not supported because 'iptables' command "
132
"is missing."
)
133
return
False
Callers
nothing calls this directly
Calls
2
which
Function · 0.90
debug2
Function · 0.90
Tested by
no test coverage detected