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
    proto udp
    cipher AES-128-CBC
    resolv-retry infinite
    remote 1197
    route xxx xxx
    ifconfig xxx xxx
    keepalive 10 60
    secret xxx.secret

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

Log in to reply