Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm planning to setup OpenVPN in my Ubuntu server.

Do I need to have 2 NICs, one for connecting to the internet and another for users to connect to the OpenVPN server?

share|improve this question

1 Answer 1

No. OpenVPN can run fine with just a single interface.

However, in some setups, a second NIC can be handy.

If you want to have this:

Internet <---> OpenVPN/Firewall <---> Internal network

ie, your OpenVPN machine is also a firewall, sitting between your internal network and the outside internet. In this case, a second ethernet card is almost required (I wouldn't recommend the hacks you could use to get away with just one card).

If you just want to have your OpenVPN server sitting on the internal network, with your router providing a portforward for whatever port you're listening on so that traffic can get into the OpenVPN server - no, you don't need a second network card.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.