Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-14-2016, 03:49 AM   #1
LQ Newbie
Registered: Feb 2016
Posts: 1

Rep: Reputation: Disabled
OpenVPN for one user


I have been trying(with no luck) to get all network traffic from one user through my openvpn connection, while everything else goes through as normal.
I know that this is possible as I had this setting a while ago. Only problem is that I got help with it last time and now I cannot find any guide that is simple enough for me to follow.

So if anyone would be kind enough to try to help me or link me to something easy to follow, I would very much appreciate it!
Old 02-14-2016, 08:41 PM   #2
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,742
Blog Entries: 4

Rep: Reputation: 3962Reputation: 3962Reputation: 3962Reputation: 3962Reputation: 3962Reputation: 3962Reputation: 3962Reputation: 3962Reputation: 3962Reputation: 3962Reputation: 3962
So far as I know, no one has ever invented a hardware "switch" or a hardware "router" that knew what a "logged-in user" was.

Therefore, I have no idea how OpenVPN (or any other VPN solution) would be able to do such a thing.

Duly acknowledging your statement that "I had this setting a while ago," I, too, have no idea how it was done.

OpenVPN in "bridge" mode acts as a hardware switch, while in "routed" mode it acts as a hardware router. Even though none of the IP-address ranges actually correspond to physical hardware, nothing in the software world is capable of detecting this illusion: from their perspective, "it is real."

"User identities" are nowhere in this picture . . .
Old 02-14-2016, 11:42 PM   #3
Senior Member
Registered: Apr 2010
Posts: 2,182

Rep: Reputation: 450Reputation: 450Reputation: 450Reputation: 450Reputation: 450
Get all network traffic for one user?

Wow..if you said you've done it before. The guy who helped you must have pretty impressive skills.

Which traffic you're planning to capture incoming network traffic? or both?


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
(OpenVPN) Route one user's traffic into tun0 with iptables Märk Owen Linux - Networking 0 05-20-2015 08:45 PM
Configuring Openvpn to run as unpriveleged user JosephS Linux - Networking 2 04-16-2015 04:36 PM
OpenVPN as an unprivileged user keungz Linux - Software 1 06-27-2013 03:48 PM
extended user & IP management with OpenVPN ichrispa Linux - Software 2 08-28-2010 09:04 AM
OpenVPN user logging rpadilla Linux - Server 1 06-14-2010 03:43 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:29 PM.

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