I’ve installed PiVPN per the instructions on their site. It’s a business connection (static IP) through a SmartHub (latest version). Per the instructions I’ve setup port forwarding in the routers firewall settings. I’ve also run PiVPN’s debug and can’t see any issues. However when connecting via OpenVPN (MacOS and iOS) I get the following error:
I assume this means the port forwarding isn’t working, however I’ve followed BT’s instructions and everything seems correct. I’ve also tried enabling the routers DMZ mode and tried port locking, but both had no impact.
Running the command
Creates the following log file:
::: ::: :: PiVPN Debug :: ::: ::: :: Latest Commit :: ::: ::: commit 4b4445b4667576f22a01af3dafbb4063218c964f Merge: bd6a1e1 b75b36f Author: james-lasersoft <email@example.com> Date: Wed Apr 10 22:23:03 2019 -0500
Merge pull request #716 from jamfrade/patch-1 Fix Easy-RSA install ::: ::: :: Recursive list of files in :: :: /etc/openvpn/easy-rsa/pki :: ::: :::
/etc/openvpn/easy-rsa/pki/: ca.crt crl.pem Default.txt ecparams extensions.temp index.txt index.txt.attr index.txt.attr.old index.txt.old issued OfficeVPN.ovpn openssl-easyrsa.cnf private renewed revoked safessl-easyrsa.cnf serial serial.old ta.key
/etc/openvpn/easy-rsa/pki/issued: OfficeVPN.crt server_aLdaaHpdOCAmdyox.crt
/etc/openvpn/easy-rsa/pki/private: ca.key OfficeVPN.key server_aLdaaHpdOCAmdyox.key
/etc/openvpn/easy-rsa/pki/renewed: private_by_serial reqs_by_serial
/etc/openvpn/easy-rsa/pki/revoked: private_by_serial reqs_by_serial
/etc/openvpn/easy-rsa/pki/revoked/reqs_by_serial: ::: ::: :: Output of /etc/pivpn/* :: ::: ::: :: START /etc/pivpn/DET_PLATFORM :: Raspbian :: END /etc/pivpn/DET_PLATFORM :: :: START /etc/pivpn/INSTALL_PORT :: 1194 :: END /etc/pivpn/INSTALL_PORT :: :: START /etc/pivpn/INSTALL_PROTO :: udp :: END /etc/pivpn/INSTALL_PROTO :: :: START /etc/pivpn/INSTALL_USER :: pi :: END /etc/pivpn/INSTALL_USER :: :: START /etc/pivpn/NO_UFW :: 1 :: END /etc/pivpn/NO_UFW :: :: START /etc/pivpn/pivpnINTERFACE :: wlan0 :: END /etc/pivpn/pivpnINTERFACE :: :: START /etc/pivpn/setupVars.conf :: pivpnUser=pi UNATTUPG=unattended-upgrades pivpnInterface=wlan0 IPv4dns=192.168.1.254 IPv4addr=192.168.1.69 IPv4gw=192.168.1.254 pivpnProto=udp PORT=1194 ENCRYPT=256 APPLY_TWO_POINT_FOUR=true DOWNLOAD_DH_PARAM=false PUBLICDNS= OVPNDNS1=22.214.171.124 OVPNDNS2=126.96.36.199 :: END /etc/pivpn/setupVars.conf :: :: START /etc/pivpn/TWO_POINT_FOUR :: :: END /etc/pivpn/TWO_POINT_FOUR :: ::: ::: :: /etc/openvpn/easy-rsa/pki/Default.txt :: ::: ::: client dev tun proto udp remote 188.8.131.52 1194 resolv-retry infinite nobind persist-key persist-tun remote-cert-tls server tls-version-min 1.2 verify-x509-name server_aLdaaHpdOCAmdyox name cipher AES-256-CBC auth SHA256 auth-nocache verb 3 ::: ::: :: Debug Output Complete :: ::: :::
To check if the ports are forwarding I’ve tried a range of port lookup sites like https://portchecker.co/check, however each reports port 1194 is closed. Not sure if this is reliable however as they also report port 80 is also closed.
Any advice to diagnose / fix issue would be greatly appreciated. The hardware is a Raspberry Pi 3, connecting via WiFi to the router.