[SOLVED] Connect to a remote computer that's using a "VPN"
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a computer that is running Slackware64 14.2. I want to use sshuttle to connect it to another computer to tunnel it's data through another machine. I can do that successfully. When I do, I lose my connection to it from my own local machine because all data is now routed through another machine because of sshuttle.
How can I connected to a box that has all it's data tunneling to another machine?
Let me see if I understand this. You are connecting from Computer A to Computer B. Once you are inside Computer B, you are tunneling data Computer C to Computer B, but your connection from Computer A to Computer B is dropping.
Is that correct? If not, please straighten me out.
I am sitting at Computer A. I use SSH and VNC to get to Computer B. Computer B is using a VPN (sshuttle) to get to Computer C. When Computer B connects to Computer C through the VPN(sshutte), Computer A loses SSH and VNC connection to to Computer B, but I still want A connected to B.
This may or may not apply, but some VPN software prevents "split tunneling", which is essentially connections outside of the VPN. Not sure if this is the case, I have no familiarity with your VPN software.
This may or may not apply, but some VPN software prevents "split tunneling", which is essentially connections outside of the VPN. Not sure if this is the case, I have no familiarity with your VPN software.
I am using "sshuttle". It's kind of a "poor mans" VPN basically using SSH.
I am reading as much as I can about it to see if I can make exceptions for specific IPs to connect outside of the VPN/tunnel.
-x, --exclude=subnet
Explicitly exclude this subnet from forwarding. The format of this option is the same as the <subnets> option. To exclude more than one subnet, specify the -x option more than once. You can say something like 0/0 -x 1.2.3.0/24 to forward everything except the local subnet over the VPN, for example.
-X, --exclude-from=file
Exclude the subnets specified in a file, one subnet per line. Useful when you have lots of subnets to exclude.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.