LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-12-2016, 07:18 AM   #1
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
Question I want an OpenVPN connection that doesn't leave the target computer


I want to have two computers talking to one another over OpenVPN, such that "the data is to never [have to] leave the target computer." I seem to be having difficulty in that the TUNx device wants to send data out of the box, bounce through an external router, and come right back in.

Basically, if I have a VM with a "host-only network," I want the incoming VPN traffic to go to that network (from an OpenVPN server that is, indeed, "running on the same box." Then, I want the outgoing traffic from the VPN to take the same path back to OpenVPN to head back to its destination: "the data never leaves the box." route commands "on the box" send the data where it needs to go.

Advice on how to do this?
 
Old 04-23-2016, 08:45 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,148

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
The tun device doesn't want to send any packets anywhere. That's done by the network routing layer. Post the output of route and describe your network.
 
  


Reply



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
Your BIOS doesn't leave a aperture memory hole harikrishnan81 Linux - Hardware 56 02-15-2018 03:22 PM
polkit-kde-authentication-agent-1 segfaults on Leave->Turn off computer jamesf Slackware 2 12-19-2010 01:54 PM
[SOLVED] help removing b43 kernel driver - it doesn't want to leave!! breadbin Linux - Wireless Networking 2 10-15-2010 12:50 AM
Minimizing size of target RFS on host computer rsashok Linux - General 0 01-10-2007 02:06 PM
Computer connected to router doesn't show connection D4ve G Linux - Hardware 3 07-29-2005 08:01 AM

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

All times are GMT -5. The time now is 05:55 PM.

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