LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-05-2018, 09:19 PM   #1
javabuntus
LQ Newbie
 
Registered: Aug 2018
Posts: 2

Rep: Reputation: Disabled
Host-bridge VPN communication : Host Linux > VM Windows > Target(Linux)


Hi, I have a very specific scenario and would like help with a solution:

Today I have a windows host to connect to a VPN and everything works ok. I connect to the VPN and I can reach the server "Server1.domain: 22 (port)". However, the VPN solution I connect to has only a windows plugin.

I would like to use linux on the host and get to the server "Server1.domain", however as I can not connect to the VPN I would need an intermediary, I thought of the following:

Host: Linux
VM Windows (inside the host) to connect to the VPN
Server1.domain (primary target, accessible only via VPN)

Linux host> connects to port 2222> VM Windows (connected to VPN)> redirect to port 22> Server1.domain. It is possible?

In summary, my linux host does not access the "Server1.domain", but I have a Windows VM that connects to the server, I would use a bridge.
 
Old 08-05-2018, 09:30 PM   #2
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 415
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Quote:
Originally Posted by javabuntus View Post

Today I have a windows host to connect to a VPN and everything works ok. I connect to the VPN and I can reach the server "Server1.domain: 22 (port)". However, the VPN solution I connect to has only a windows plugin.

I would like to use linux on the host and get to the server "Server1.domain", however as I can not connect to the VPN I would need an intermediary, I thought of the following:
~~
In summary, my linux host does not access the "Server1.domain", but I have a Windows VM that connects to the server, I would use a bridge.
Hi Javabuntus,

If your VPN provider supports OpenVPN, it is possible to connect from CLI too.
The syntax is -

Code:
$ sudo openvpn --config /Path/to/*.ovpn  --ca /Path/toca.crt --key /Path/toclient.key --cert /Path/toclient.crt
See here for more.

I understand this is not a solution to your scenario, but maybe worth a shot.
 
Old 08-05-2018, 09:36 PM   #3
javabuntus
LQ Newbie
 
Registered: Aug 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Honest Abe View Post
Hi Javabuntus,

If your VPN provider supports OpenVPN, it is possible to connect from CLI too.
The syntax is -

Code:
$ sudo openvpn --config /Path/to/*.ovpn  --ca /Path/toca.crt --key /Path/toclient.key --cert /Path/toclient.crt
See here for more.

I understand this is not a solution to your scenario, but maybe worth a shot.
Unfortunately its not possible.
Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file transfer through UART between Linux host and embedded Linux target david_8274 Linux - Newbie 2 01-15-2015 10:02 PM
Establishing a VPN connection (host to host) using IPSec services adithya24 Linux - Networking 9 06-10-2009 08:44 AM
Required to achieve host to host communication via USB file transfer cable may1284 Linux - General 1 03-14-2007 04:02 PM
Looking for a good Linux Communication Server to host my application WilNel Linux - Enterprise 1 12-15-2006 12:05 PM
Linux Host Or Windows Host ?? my-unix-dream Linux - General 2 05-18-2005 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration