Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create Virtual Network(Vlan).
  2. Create another Virtual Network(Vlan).
  3. Create Ubuntu Server.
    1. Disbond eth1 port from bond0.
    2. Assign eth1 port to virtual network via API.
    3. Assign eth1 port to another virtual network via API. (This is necessary in order to make the VLAN native, I don't know why, but exactly 2 networks are required. Anther Another virtual network can be anything.)
    4. Make virtual newtork as native on a eth1 port.
    5. Configure eth1 port in Ubuntu OS(remove from bond and setup static IP. example 192.168.33.1).
    6. Setup DHCP server on eth1(example pool: 192.168.33.2-192.168.33.127, mask 255.255.255.0 without gateway, we dont use gateway).
    7. Setup OpenVPN server on eth0, and give client IP's from pool (example: 192.168.33.127-192.168.33.245 mask 255.255.255.0).
    8. Make bridge between OpenVPN clients connections and eth1.

...