ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. iahr
    3. Best
    I
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 11
    • Best 1
    • Controversial 0
    • Groups 0

    Best posts made by iahr

    • Assigning Static IP on OpenVPN Linux Ubuntu 12.04

      Hi Everyone,

      Is there anyone who can help me to assign static IP on OpenVPN using Ubuntu 12.04.

      Here's my config on my server.conf:
      port 1194
      proto udp
      dev tun
      ca ca.crt
      cert myserver.crt
      key myserver.key # This file should be kept secret
      dh dh1024.pem
      server 10.8.0.0 255.255.255.0
      ifconfig-pool-persist ipp.txt
      client-config-dir ccd
      push "redirect-gateway def1 bypass-dhcp"
      push "dhcp-option DNS 208.67.222.222"
      push "dhcp-option DNS 208.67.220.220"
      client-to-client
      keepalive 10 120
      comp-lzo
      max-clients 10
      persist-key
      persist-tun
      status openvpn-status.log
      verb 3
      mute 20

      And I created a ccd directory and config:
      mkdir /etc/openvpn/ccd
      touch /etc/openvpn/ccd/username1

      /etc/openvpn/ccd/username1:
      Code:
      ifconfig-push 10.8.0.9 10.8.0.10

      But did not getting the IP I assigned it gives the dhcp availabale IP.

      Hope someone can help me with this.

      Thanks in advance

      posted in IT Discussion vpn openvpn linux ubuntu ubuntu 12.04
      I
      iahr
    • 1 / 1