Jump to content

Force select Docker/VM traffic through second NIC


Recommended Posts

Is there a way to force a docker (or VM, but a docker is more convenient) to only use a specific NIC? This way, I can have my router force that traffic through a VPN tunnel based on the IP of that NIC. I'm on 6.1.9 right now, but could upgrade to 6.2 beta 23 if the new networking tools would help. Thanks!

Link to comment
  • 6 months later...

Sorry for digging up an old thread, but I just set up an RPi as an outbound VPN, and pointed my server to it. However, it means that I can no longer access Plex while outside the home.

Given that I have two NICs in my server, I was wondering the same question as you: is it possible to route all traffic for sabnzbd + Sonarr to the NIC using the VPN gateway, but keep all other traffic, including Plex, through the other NIC connected to the router's non-VPN gateway?

Did you ever find out a way around this?

Link to comment

Sorry for digging up an old thread, but I just set up an RPi as an outbound VPN, and pointed my server to it. However, it means that I can no longer access Plex while outside the home.

Given that I have two NICs in my server, I was wondering the same question as you: is it possible to route all traffic for sabnzbd + Sonarr to the NIC using the VPN gateway, but keep all other traffic, including Plex, through the other NIC connected to the router's non-VPN gateway?

Did you ever find out a way around this?

Much easier to use Binhex's SabnzbdVPN docker and point sonarr to the VPN docker's privoxy port.
Link to comment

Much easier to use Binhex's SabnzbdVPN docker and point sonarr to the VPN docker's privoxy port.

 

Oh MAN! I just finished setting it up. Works a treat, and yesterday when I did a test d/l while it was connected to the RPi it was only at 2.5MB/s, but now it's at a near-full 7.5MB/s, so I think the RPi was acting as a bottleneck.

Now to learn a bit about privoxy...

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...