Issue with OpenVPN connection from OpenWRT to pfSense - log & config files attached

  • This post is deleted!

  • I've managed to get the OpenVPN connected now. It appears the issue was at the OpenWRT/OpenVPN end (due to my inexperience with it).

    I didn't use the bare config file but rather the "wizard" (if you can call it that, its more of a text entry box). This is the correct config needed on the OpenVPN end:

            option dev 'tun'
            option keepalive '10 60'
            option verb '3'
            option persist_tun '0'
            option persist_key '0'
            option port '1194'
            option auth 'SHA256'
            option cipher 'AES-128-CBC'
            option enabled '1'
            option secret '/etc/openvpn/dcvpn.key'
            list route ''
            option ncp_disable '1'
            list remote ''
            option comp_lzo 'yes'
            option ping_timer_rem '1'
            option proto 'udp'
            option ifconfig ''

    And pfSense:

    verb 1
    dev-type tun
    dev-node /dev/tun2
    writepid /var/run/
    #user nobody
    #group nobody
    script-security 3
    keepalive 10 60
    proto udp4
    cipher AES-128-CBC
    auth SHA256
    up /usr/local/sbin/ovpn-linkup
    down /usr/local/sbin/ovpn-linkdown
    lport 1194
    management /var/etc/openvpn/server2.sock unix
    secret /var/etc/openvpn/server2.secret
    compress lzo

Log in to reply