# About Virtual Private Network in Opennebula

**URL:** https://forum.opennebula.io/t/about-virtual-private-network-in-opennebula/881
**Category:** Product Support
**Created:** [June 16, 2015, 5:42am UTC](https://forum.opennebula.io/t/about-virtual-private-network-in-opennebula/881 "2015-06-16T05:42:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mutty9putty](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@mutty9putty](https://forum.opennebula.io/u/mutty9putty)
#### Post date: [June 16, 2015, 5:42am UTC](https://forum.opennebula.io/t/about-virtual-private-network-in-opennebula/881/1 "2015-06-16T05:42:20Z")

</div>

Hi, Everyone,  
I have gone through opennebula OpenvSwitch and Virtual router.  
Actually I have created cloud environment using Opennebula. Host operating system is Ubuntu. Although front end and host/node are having more then one NICs. But currently I am using one NIC of each system for public network. Rest of the NICs are not connected.

But all the tutorials, Opennebula site as well as your post talked about Virtual Network for the private network.

Everywhere it is assumed that hosts are attached to two physical networks:  
A private network, through the virtual bridge vbr0  
A network with Internet connectivity, through vbr1

My question, How to create a virtual private network(VPN)?  
whether I need to create a private network among frontend and nodes(host)?  
And after that I need to bridge the private network in the same way I did for public network using OpenvSwitch? After that I need to create virtual network for private network?  
And after that I need to use Virtual public and private network to instantiate my VMs?

I don’t have deep knowledge in it. Any kind of help or assistance will be greatly appreciated?  
Thanks in advance.

---

<div class="post-metadata">

### Author: ![VURoland](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/vuroland/32/7682_2.png) [@VURoland](https://forum.opennebula.io/u/VURoland)
#### Post date: [June 17, 2015, 8:40pm UTC](https://forum.opennebula.io/t/about-virtual-private-network-in-opennebula/881/2 "2015-06-17T20:40:35Z")

</div>

hi, first of all - VPN and a virtual private network (LAN) are 2 completely different things.  
Dont mix m up, or you get all kind of weird google-results 😉

I think your request is the same as the user in this topic?

> [@Private networks without physical device](https://forum.opennebula.io/t/private-networks-without-physical-device/879):
>
> Hello all, i´m verry new to opennebula and tested this great platform with the documentation and a few tutorials. I´m running opennebula on debian and use xen as an hypervisor. Currently i have one physical NIC on the Host and the standard xenbr0. Now i´m on a point where i have to build two virtual private networks (e.g. LAN\_blue and LAN\_green). This two virtual networks should be both isolated (so no communication between the LAN\_blue(and green) and the real physical network should be ab…

But it is not done with openvswitch and/or a virtual router, but might be helpful
