I’m trying to help a friend who’s running Fedora 27.
This is going to get a bit complex so please bear with me.
He has a plex server he uses for hosting movies and stuff for family, however he also uses this ‘server’ to connect via VPN to his office as a remote backup. However when the VPN connects, Plex drops off-line (Since ports and such aren’t open on office end).
This system has 2 NIC (eno1: 192.168.1.25) and (eno2:192.168.1.28). Right now EVERYTHING flows through eno1. I’d like to setup OpenVPN to ONLY bind to eno2, and have the backup software just bind to the IP address he gets from the VPN server (That part I know how to do).
The above would all be fairly easy with route tables, I think. HOWEVER he also needs to occasionally do internet searches that go through the VPN for logging and accountability of what’s being searched. ON the software side I know how to lock a browser to a NIC, but I don’t know how to set up route tables so internet is accessible with both NIC but the 2nd only if specified.
I’ve not seen anything exactly like this with extensive googling. Usually it’s just if I want to hit the lan or anything.
--
--
You received this message because you are subscribed to the "La Crosse Linux Users Group" on Google.
To visit our web site, go to http://www.lclug.org
To post to this group, send email to lacro...@googlegroups.com
To unsubscribe from this group, send email to lacrosselug...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/lacrosselug?hl=en
---
You received this message because you are subscribed to the Google Groups "La Crosse Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lacrosselug...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lacrosselug/ccf27653-e9f7-410f-a1a1-75848a9c5ded%40googlegroups.com.
I hate to suggest a solution without having tested it, but your issue sounds an awful lot like a job for “policy routing”. Fedora27 should have the iproute2 utilities.
https://kindlund.wordpress.com/2007/11/19/configuring-multiple-default-routes-in-linux/
----------------------
Scot Wiedenfeld
From: lacro...@googlegroups.com <lacro...@googlegroups.com>
On Behalf Of Matthew - Orange Computer
Sent: Monday, October 14, 2019 12:33 PM
To: La Crosse Linux Users Group <lacro...@googlegroups.com>
Subject: [LCLUG] Re: Binding OpenVPN to single NIC
CAUTION: This email originated from outside of Western Technical College. Do not click links or open attachments unless you recognize the sender and know the content is safe.
--
--
You received this message because you are subscribed to the "La Crosse Linux Users Group" on Google.
To visit our web site, go to http://www.lclug.org
To post to this group, send email to
lacro...@googlegroups.com
To unsubscribe from this group, send email to
lacrosselug...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/lacrosselug?hl=en
---
You received this message because you are subscribed to the Google Groups "La Crosse Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
lacrosselug...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lacrosselug/612a30c4-4d6b-436e-a463-c9ab228ed97c%40googlegroups.com.