I am setting up a VPN on my server to protect some services from outside view. But I don't want to use the "real" network so to speak, so I want to create a new virtual NIC of some sort, like eth1 and then assign a new unique subnet to that one and have the VPN going on that one instead (Like hamachi).
Problem is that I don't know how to add a virtual NIC like this ^^
Anyone have a clue? =)
VPN + Virtual NIC?
VPN + Virtual NIC?
"The best place to hide a tree, is in a forest"
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
hm, the easiest way should be creating an interface (as usual), and then adjusting the route to the virtual iface:
http://linux.die.net/man/8/route
http://linux.die.net/man/8/route