dalmar72 Posted February 26, 2020 Share Posted February 26, 2020 Is it possible to have 2 network cards setup, I want to connect my lan to eth1 but have all internet activity form unraid and all dockers go out eth0 so it can go out a hardware vpn. Is this possible/does it make sense. I don't need to access the server or dockers from the internet only from the lan, but the dockers of course need to be able to reach the internet as well thanks Quote Link to comment
testdasi Posted February 26, 2020 Share Posted February 26, 2020 Possible? yes. Does it make sense? Not really. Why would you want to do that? Quote Link to comment
ijuarez Posted February 26, 2020 Share Posted February 26, 2020 18 minutes ago, testdasi said: Possible? yes. Does it make sense? Not really. Why would you want to do that? its for top secret spying..... I have a network for docker setup to use vpn, because I dont want to have my whole house go out the vpn. Quote Link to comment
Chess Posted February 26, 2020 Share Posted February 26, 2020 12 minutes ago, ijuarez said: its for top secret spying..... I have a network for docker setup to use vpn, because I dont want to have my whole house go out the vpn. Depending on what you use for a router you could do this from it. I do this with pfSense, and have some IPs go out the VPN, and the rest out the clear internet. It's a lot of work to set it up, and sometimes if the VPN goes down the systems that are routed out that VPN could leak out the clear internet, so t's not 100% perfect. A better solution (easier) might be to look into using dockers with the built in vpn clients. I've just started looking into that. Quote Link to comment
testdasi Posted February 26, 2020 Share Posted February 26, 2020 9 minutes ago, ijuarez said: its for top secret spying..... I have a network for docker setup to use vpn, because I dont want to have my whole house go out the vpn. The con of having 2 separate connections is that your NAS access from within the server (e.g. VM accessing the array) will also go through the router which means it's limited to gigabit (125MB/s). You will also need complicated routing rules to separate Unraid NAS and non-NAS traffic to route them separately. A much simpler thing to set up is to have only specific dockers that actually require VPN to have VPN. There are many of those "VPN-included" dockers on the app store. They also come with privoxy as well to serve as http proxy for other dockers to route http traffic through the same VPN. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.