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?













0















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?










share|improve this question






















  • 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















0















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?










share|improve this question






















  • 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













0












0








0








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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

















  • 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










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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.