LinuxQuestions.org
Visit Jeremy's Blog.
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 12-24-2017, 02:33 PM   #1
torz007
LQ Newbie
 
Registered: Dec 2017
Posts: 2

Rep: Reputation: Disabled
Setup 1 Wireless & 2 LAN with VPN


Hi all,


I'm hoping someone is feeling really kind and wants to take a total noob through this step by step (Using Ubuntu Mate)

I guess, first off is to see if it is possible....

I have 2 Wired connections and 1 wireless & VPN.

What I would like to do is have 1 of the wired connections connect to the internet. The 2nd wired connection shares the internet through the home network.
I want to use the wireless to connect to an access ap to get internet access and enable the vpn on this device so all torrent traffic is routed through this wireless device and I am still able to remote into my normal connection / stream plex via the normal connections outside of home.

The way I have it now is 1 wired connection connects to the internet the other shares through the home network - I can stream plex from outside the home and everything works perfect until the vpn goes on for torrents and then everything stops until I turn the vpn off - this is what I'm trying to get around...

Any advice / assistance would be greatly appreciated!!
 
Old 12-26-2017, 03:55 PM   #2
timbury
LQ Newbie
 
Registered: Dec 2017
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by torz007 View Post
Hi all,


I'm hoping someone is feeling really kind and wants to take a total noob through this step by step (Using Ubuntu Mate)

I guess, first off is to see if it is possible....

I have 2 Wired connections and 1 wireless & VPN.
I doubt I'll be much help but I am curious to see where this goes. Could you clarify your current setup and desired final configuration? The way I understand it is that you have 3 connections (2 wired, 1 wireless) and you want to enable a VPN on the wireless. How many devices are we talking about and what type are they? Since you're using Ubuntu Mate, I'm guessing it's at least 1 to possibly 3 desktop PCs and/or laptops. For example, one desktop PC wired and one laptop with both wired and wireless. Or is it 2 wired PCs and a wireless laptop? I'm not certain if this information is necessary to solve your problem, but it makes it easier to visualize what's going on. :-)

Quote:
Originally Posted by torz007 View Post
What I would like to do is have 1 of the wired connections connect to the internet. The 2nd wired connection shares the internet through the home network. ... The way I have it now is 1 wired connection connects to the internet the other shares through the home network...
Sounds like you've already solved the wired connection goals.

Quote:
Originally Posted by torz007 View Post
I want to use the wireless to connect to an access ap to get internet access and enable the vpn on this device so all torrent traffic is routed through this wireless device and I am still able to remote into my normal connection / stream plex via the normal connections outside of home. The way I have it now is ... I can stream plex from outside the home and everything works perfect until the vpn goes on for torrents and then everything stops until I turn the vpn off - this is what I'm trying to get around...
I'm confused (I'm easily confused). You are "able to remote into [your] normal connection / stream plex via the normal connections outside of home." connecting from what/where into what/where using what client/protocol? For instance, you can SSH into a wired desktop on your LAN from your wireless laptop on an external public network (ex. Starbucks) using OpenSSH? Or access a video stream the same way using...? etc. Have you changed anything on your router yet (setting up port forwarding for torrents, etc.)?

The more specific you are, the more details you provide about what you have now and what you are trying to do, the more likely it is that you will get help achieving your goals.
 
Old 12-26-2017, 10:34 PM   #3
torz007
LQ Newbie
 
Registered: Dec 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the reply!

So the attached picture hopefully helps give a little more detail...

As soon as the VPN is connected the server becomes inaccessible outside of the local network because it does not allow any type of port forwarding.
I currently have some programs setup so they will only use the VPN connection otherwise they will just sit there idle waiting for the VPN to connect.

What I'm wanting to do is have the wireless device connect to the Access point which will give it internet access and when the VPN is connected it only changes the routing settings for the wireless card and the two lan cards remain the same.

The way I picture it working is when the vpn is connected is that the current setup (when not connected to vpn) remains intact - so the internet connection is shared throughout the home / devices and streaming plex outside of the home network continues to work.
and the programs that rely on the VPN connection will route all of their traffic through the wireless connection when the vpn is connected.

I hope that makes sense?
Attached Thumbnails
Click image for larger version

Name:	Untitled.jpg
Views:	1
Size:	66.5 KB
ID:	26613  
 
  


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
Setup a Linux network with 1 server, 4pcs wired & wireless, wireless router, & hub bhowerton Linux - Newbie 1 04-05-2008 04:33 PM
sharing VPN access with lan + after vpn connected unable to ping lan/public ip xxx_anuj_xxx Linux - Networking 1 03-14-2008 03:50 AM
howto setup vpn server within the lan gv_rajasekhar Linux - Networking 1 08-31-2006 02:35 AM
How to Setup a LAN with remote VPN login icepig Linux - Networking 0 02-11-2004 11:28 AM
linux VPN & LAN shojav Linux - Networking 2 02-13-2003 11:21 PM

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

All times are GMT -5. The time now is 06:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration