OpenVPN Static Key



  • I config a OpenVPN Static Key (site-to-site) with Key Share.
    In share key export menu, exported config archive (.zip).
    When import in OpenVPN in android 4.2 (google nexus 7), he give the message when try connect:

    "specify only one of –tls-server, --tls-client, or --secret " and not connect

    The .ovpn file generated by pfsense:

    dev tun
    persist-tun
    persist-key
    proto udp
    cipher AES-128-CBC
    client
    resolv-retry infinite
    remote xxx.xxx.xxx.xxx 1197
    route xxx xxx
    ifconfig xxx xxx
    keepalive 10 60
    ping-timer-rem
    secret xxx.secret
    comp-lzo

    The "client" line must not be specify in same config file where secret line is.
    The openvpn from android 4.2 now working ok.


Locked