LinuxQuestions.org
Visit Jeremy's Blog.
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 06-23-2016, 03:28 PM   #1
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

Rep: Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934
Using OpenVPN as a generally-accessible internal routing appliance?


The question was just raised by a client ... and I think I know the answer but let me ask anyway ... as to whether-or-not we could use a designated computer on an internal network as an "OpenVPN-based routing appliance" (so to speak) which would allow anyone on that internal network to use it to get to "the other side."

In other words, this computer (which is located on the internal network, has access to the Internet, and, you may assume, is referenced by necessary fixed-routes and DNATs set up on the necessary routers and firewalls ...) connects to the remote machine, then provides (I think ...) "gateway" connections to the remote side from any local address on the internal network, without requiring any special setup, software, or configuration on any of those machines. Instead, OpenVPN acts exactly as any physical router would.
 
Old 06-28-2016, 06:09 PM   #2
Upuetz
Member
 
Registered: May 2016
Location: Aachen
Distribution: Debian, CentOS, Ubuntu, Raspian, tinycore
Posts: 59

Rep: Reputation: Disabled
OpenVPN uses transport networks. When you have an established connection simply point your default route at the other's side transport net IP address and give your local clients that openvpn box as the default gateway.
Probably missing something (masquerading etc.) but the general idea is valid.

HTH
Upuetz
 
  


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
Routing strategy for squid/dansguardian/ntop hardware appliance with an ADSL router jaredscott Linux - Networking 1 04-15-2014 06:06 PM
[SOLVED] OpenVPN (and I think Routing) tobylockyer Linux - Networking 10 06-01-2011 08:08 AM
OpenVPN routing. MheAd Linux - Networking 6 06-25-2010 12:35 PM
Error When converting Routing OpenVPN to bridge mode openvpn danmartinj Linux - Software 0 11-06-2009 09:23 AM
OpenVPN and Routing. Eightpock Linux - Networking 2 07-10-2008 06:48 AM

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

All times are GMT -5. The time now is 08:45 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