sshuttle: drop network connection if sshuttle session is broken The 2019 Stack Overflow...
How can I create a character who can assume the widest possible range of creature sizes?
The difference between dialogue marks
What is the meaning of Triage in Cybersec world?
Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints
Does a dangling wire really electrocute me if I'm standing in water?
Spanish for "widget"
Inflated grade on resume at previous job, might former employer tell new employer?
Evaluating number of iteration with a certain map with While
Why is the maximum length of openwrt’s root password 8 characters?
How to change the limits of integration
Does light intensity oscillate really fast since it is a wave?
Is domain driven design an anti-SQL pattern?
How to create dashed lines/arrows in Illustrator
What is this 4-propeller plane?
How are circuits which use complex ICs normally simulated?
Any good smartcontract for "business calendar" oracles?
Feasability of miniature nuclear reactors for humanoid cyborgs
Realistic Alternatives to Dust: What Else Could Feed a Plankton Bloom?
aging parents with no investments
Why can Shazam do this?
I see my dog run
How to answer pointed "are you quitting" questioning when I don't want them to suspect
Limit the amount of RAM Mathematica may access?
What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?
sshuttle: drop network connection if sshuttle session is broken
The 2019 Stack Overflow Developer Survey Results Are InSSH socks proxy tunnel without interactive session?How does ssh port forwarding work exactlyI need a reverse proxy solution for SSHIncoming traffic while on public networkSVN through a port-forwarded Tunnel “Network Connection Closed Unexpectedly”Receiving incoming traffic without external IP and port forwardingUsing autossh to port forward redis traffic on an unstable connectionmultiplexing a TCP connection through a dumb shell connection?Broadcasting a message to a network reliablyCan I still ssh into my server if I forward port 22?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
So I am using sshuttle to send all my traffic out to internet via my cloud machine . I want to ensure that if my sshuttle session breaks no traffic should be sent on to the internet. Is there any way to "stop networking" if sshuttle session breaks ( and a way to check that its alive). What I think might work is checking for ssh port on my local machine every minute and if there is no ssh port open "Drop networking" . Will that work and will it be reliable or is there a better way?
networking linux-networking ssh-tunnel tunneling
New contributor
oldnoob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
So I am using sshuttle to send all my traffic out to internet via my cloud machine . I want to ensure that if my sshuttle session breaks no traffic should be sent on to the internet. Is there any way to "stop networking" if sshuttle session breaks ( and a way to check that its alive). What I think might work is checking for ssh port on my local machine every minute and if there is no ssh port open "Drop networking" . Will that work and will it be reliable or is there a better way?
networking linux-networking ssh-tunnel tunneling
New contributor
oldnoob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Ah , I can just run "curl icanhazip.com" every minute to check my ip and if my ip is not that of the remote host I can "stop networking" . Stupid question to ask. Sorry.
– oldnoob
8 secs ago
add a comment |
So I am using sshuttle to send all my traffic out to internet via my cloud machine . I want to ensure that if my sshuttle session breaks no traffic should be sent on to the internet. Is there any way to "stop networking" if sshuttle session breaks ( and a way to check that its alive). What I think might work is checking for ssh port on my local machine every minute and if there is no ssh port open "Drop networking" . Will that work and will it be reliable or is there a better way?
networking linux-networking ssh-tunnel tunneling
New contributor
oldnoob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
So I am using sshuttle to send all my traffic out to internet via my cloud machine . I want to ensure that if my sshuttle session breaks no traffic should be sent on to the internet. Is there any way to "stop networking" if sshuttle session breaks ( and a way to check that its alive). What I think might work is checking for ssh port on my local machine every minute and if there is no ssh port open "Drop networking" . Will that work and will it be reliable or is there a better way?
networking linux-networking ssh-tunnel tunneling
networking linux-networking ssh-tunnel tunneling
New contributor
oldnoob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
oldnoob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
oldnoob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 3 mins ago
oldnooboldnoob
1
1
New contributor
oldnoob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
oldnoob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
oldnoob is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Ah , I can just run "curl icanhazip.com" every minute to check my ip and if my ip is not that of the remote host I can "stop networking" . Stupid question to ask. Sorry.
– oldnoob
8 secs ago
add a comment |
Ah , I can just run "curl icanhazip.com" every minute to check my ip and if my ip is not that of the remote host I can "stop networking" . Stupid question to ask. Sorry.
– oldnoob
8 secs ago
Ah , I can just run "curl icanhazip.com" every minute to check my ip and if my ip is not that of the remote host I can "stop networking" . Stupid question to ask. Sorry.
– oldnoob
8 secs ago
Ah , I can just run "curl icanhazip.com" every minute to check my ip and if my ip is not that of the remote host I can "stop networking" . Stupid question to ask. Sorry.
– oldnoob
8 secs ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
oldnoob is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962335%2fsshuttle-drop-network-connection-if-sshuttle-session-is-broken%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
oldnoob is a new contributor. Be nice, and check out our Code of Conduct.
oldnoob is a new contributor. Be nice, and check out our Code of Conduct.
oldnoob is a new contributor. Be nice, and check out our Code of Conduct.
oldnoob is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962335%2fsshuttle-drop-network-connection-if-sshuttle-session-is-broken%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Ah , I can just run "curl icanhazip.com" every minute to check my ip and if my ip is not that of the remote host I can "stop networking" . Stupid question to ask. Sorry.
– oldnoob
8 secs ago