Creating a virtual ethernet adapter
I am trying to setup a VPN using OpenVPN to allow a secure connection between my smartphone and my LAN. I have been reading an OpenVPN book and some tutorials on how to setup the server side, but I'm stuck at how to create a virtual device.
The OpenVPN book says when installing OpenVPN the installer (or aptitude to be more precise) should ask me if it should create a TAP/TUN device. The thing is, it doesn't ask me anything at all. It just installs, that's it.
Most tutorials simply tell me to create a new device in the network/interfaces file.
Where is the difference? What should I do now? I like having options, that is one reason I like Linux, but this does confuse me.
My second question is about the IP range of the virtual adapter. Should it be in the same range as my LAN, or should I use something entirely different?
|