Creating a VPN over another VPN with sshuttlePort forward to VPN Client?How to open VPN connection inside other VPN connection under Linux/UbuntuHow to redirect tun SSL VPN through HTTP CONNECT proxy, using iptables?debugging iptables when tunneling one VPN through anotherTransparent proxying of TCP connections on port (mostly, without root access)How can I check whether a given connection is going through my VPN?How to forward web traffic with iprouteAllow SSH connection not using my VPNMachine does not serve non-localhost clients, SSH worksWhy would properly VLAN tagged multicast traffic not arrive on the tagged interface?
Bullying boss launched a smear campaign and made me unemployable
Avoiding direct proof while writing proof by induction
Venezuelan girlfriend wants to travel the USA to be with me. What is the process?
Can compressed videos be decoded back to their uncompresed original format?
What does “the session was packed” mean in this context?
Alternative to sending password over mail?
How seriously should I take size and weight limits of hand luggage?
iPad being using in wall mount battery swollen
Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?
Expand and Contract
Im going to France and my passport expires June 19th
Little known, relatively unlikely, but scientifically plausible, apocalyptic (or near apocalyptic) events
What is a romance in Latin?
Why do bosons tend to occupy the same state?
Do scales need to be in alphabetical order?
Are there any examples of a variable being normally distributed that is *not* due to the Central Limit Theorem?
What are some good books on Machine Learning and AI like Krugman, Wells and Graddy's "Essentials of Economics"
Arrow those variables!
Short story with a alien planet, government officials must wear exploding medallions
Forgetting the musical notes while performing in concert
Why didn't Boeing produce its own regional jet?
Why is this clock signal connected to a capacitor to gnd?
What method can I use to design a dungeon difficult enough that the PCs can't make it through without killing them?
How to show a landlord what we have in savings?
Creating a VPN over another VPN with sshuttle
Port forward to VPN Client?How to open VPN connection inside other VPN connection under Linux/UbuntuHow to redirect tun SSL VPN through HTTP CONNECT proxy, using iptables?debugging iptables when tunneling one VPN through anotherTransparent proxying of TCP connections on port (mostly, without root access)How can I check whether a given connection is going through my VPN?How to forward web traffic with iprouteAllow SSH connection not using my VPNMachine does not serve non-localhost clients, SSH worksWhy would properly VLAN tagged multicast traffic not arrive on the tagged interface?
I'm in this situation
myHost--(internet)--hostA--(LAN1)--hostB--(LAN2)--hostC
I want to forward the traffic starting from myHost
to hostB
in order to call a Web server running on hostC
(visibile from hostB
only) with a browser on myHost
.
My idea was using sshuttle
to create VPN1
from myHost
to hostA
. I excluded hostC
from this VPN because I don't want to redirect data to hosts with the same address of hostC
in LAN1
:
sshuttle -r userA@hostA 0/0 -x hostC
With VPN1
up and running, I created VPN2
over VPN1
in order to redirect to hostB
all TCP connections to hostC
:
sshuttle -r userB@hostB hostC
Unfortunately, it did not work (i.e., I cannot connect to the Web server).
I am afraid I'm using sshuttle
in a wrong way. Does anybody know the proper way to do this?
ssh networking vpn
add a comment |
I'm in this situation
myHost--(internet)--hostA--(LAN1)--hostB--(LAN2)--hostC
I want to forward the traffic starting from myHost
to hostB
in order to call a Web server running on hostC
(visibile from hostB
only) with a browser on myHost
.
My idea was using sshuttle
to create VPN1
from myHost
to hostA
. I excluded hostC
from this VPN because I don't want to redirect data to hosts with the same address of hostC
in LAN1
:
sshuttle -r userA@hostA 0/0 -x hostC
With VPN1
up and running, I created VPN2
over VPN1
in order to redirect to hostB
all TCP connections to hostC
:
sshuttle -r userB@hostB hostC
Unfortunately, it did not work (i.e., I cannot connect to the Web server).
I am afraid I'm using sshuttle
in a wrong way. Does anybody know the proper way to do this?
ssh networking vpn
Without giving additional info about routing tables, forwarding configurations and ip addresses of your LAN on all those machines, will be hard to help.
– nwildner
yesterday
add a comment |
I'm in this situation
myHost--(internet)--hostA--(LAN1)--hostB--(LAN2)--hostC
I want to forward the traffic starting from myHost
to hostB
in order to call a Web server running on hostC
(visibile from hostB
only) with a browser on myHost
.
My idea was using sshuttle
to create VPN1
from myHost
to hostA
. I excluded hostC
from this VPN because I don't want to redirect data to hosts with the same address of hostC
in LAN1
:
sshuttle -r userA@hostA 0/0 -x hostC
With VPN1
up and running, I created VPN2
over VPN1
in order to redirect to hostB
all TCP connections to hostC
:
sshuttle -r userB@hostB hostC
Unfortunately, it did not work (i.e., I cannot connect to the Web server).
I am afraid I'm using sshuttle
in a wrong way. Does anybody know the proper way to do this?
ssh networking vpn
I'm in this situation
myHost--(internet)--hostA--(LAN1)--hostB--(LAN2)--hostC
I want to forward the traffic starting from myHost
to hostB
in order to call a Web server running on hostC
(visibile from hostB
only) with a browser on myHost
.
My idea was using sshuttle
to create VPN1
from myHost
to hostA
. I excluded hostC
from this VPN because I don't want to redirect data to hosts with the same address of hostC
in LAN1
:
sshuttle -r userA@hostA 0/0 -x hostC
With VPN1
up and running, I created VPN2
over VPN1
in order to redirect to hostB
all TCP connections to hostC
:
sshuttle -r userB@hostB hostC
Unfortunately, it did not work (i.e., I cannot connect to the Web server).
I am afraid I'm using sshuttle
in a wrong way. Does anybody know the proper way to do this?
ssh networking vpn
ssh networking vpn
asked 2 days ago
floatingpurrfloatingpurr
1137
1137
Without giving additional info about routing tables, forwarding configurations and ip addresses of your LAN on all those machines, will be hard to help.
– nwildner
yesterday
add a comment |
Without giving additional info about routing tables, forwarding configurations and ip addresses of your LAN on all those machines, will be hard to help.
– nwildner
yesterday
Without giving additional info about routing tables, forwarding configurations and ip addresses of your LAN on all those machines, will be hard to help.
– nwildner
yesterday
Without giving additional info about routing tables, forwarding configurations and ip addresses of your LAN on all those machines, will be hard to help.
– nwildner
yesterday
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
);
);
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%2funix.stackexchange.com%2fquestions%2f509902%2fcreating-a-vpn-over-another-vpn-with-sshuttle%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
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f509902%2fcreating-a-vpn-over-another-vpn-with-sshuttle%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
Without giving additional info about routing tables, forwarding configurations and ip addresses of your LAN on all those machines, will be hard to help.
– nwildner
yesterday