port 1194 proto udp dev tun topology subnet ca ca.crt cert MyUbuntu.crt key MyUbuntu.key # This file should be kept secret dh dh2048.pem server 10.8.0.0 255.255.255.0 # Maintain a record of client <-> virtual IP address # associations in this file. ifconfig-pool-persist ipp.txt push "route 192.168.2.0 255.255.255.0" keepalive 10 120 # For extra security beyond that provided by SSL/TLS, create an "HMAC firewall" to help block DoS attacks and UDP port flooding. # The server and each client must have a copy of this key. # The second parameter should be '0' on the server and '1' on the clients. ;tls-auth ta.key 0 # This file is secret # Select a cryptographic cipher. # This config item must be copied to # the client config file as well. ;cipher BF-CBC # Blowfish (default) ;cipher AES-128-CBC # AES ;cipher DES-EDE3-CBC # Triple-DES # Enable compression on the VPN link. comp-lzo # The maximum number of concurrently connected # clients we want to allow. ;max-clients 100 persist-key persist-tun status openvpn-status.log # Set the appropriate level of log verb 3