Jump to content


Eddie and two ethernet cards

  • Please log in to reply
2 replies to this topic

#1 Pepetops



  • Members
  • PipPip
  • 21 posts

Posted 20 January 2018 - 11:34 AM

Hi all.
If I have two nics in the same PC is possible connect Eddie only to one of them and use the other for Internet without VPN?

#2 giganerd


    I shall have no title

  • Members2
  • PipPipPip
  • 2674 posts
  • LocationGermany

Posted 24 January 2018 - 11:05 PM

I was confronted with the same problem on one of my servers and found out that with iproute2 on GNU/Linux it's possible to create additional routing tables and assign them to different interfaces. The complication I see is that OpenVPN only ever writes to the default/first one. My research did not reveal any ways to make it do otherwise by means of configuration, but I'm open for any hints in docs and code.

Always remember:
There's a guide to AirVPN,

Amazon IPs are not dangerous here,
running TOR exits is discouraged,

using spoilers for your logs helps us read your thread.

~ Furthermore, I propose that your paranoia is to be destroyed. ~

Instead of writing me a personal mail, consider contacting me via XMPP at gigan3rd@xmpp.airvpn.org or join the lounge@conference.xmpp.airvpn.org. I might read the mail too late whereas I'm always available on XMPP ;)

#3 zhang888


    Donald Trump of IT/Security

  • Moderators
  • 2219 posts

Posted 25 January 2018 - 02:50 AM

Technically it's possible, and even quite easy, it's called policy based routing:




The more important question is, how are you going to decide which apps would use

which interface, if they don't natively support it.

One of the common ways to do it is by using Linux Namespaces or cgroups, and instructing

each app to be using a different interface by making specific rules for it.

Some more info:


Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.

Similar Topics Collapse

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Servers online. Online Sessions: 16098 - BW: 69305 Mbit/sYour IP: Access.