VPN connection to pfsense



  • Hi.

    I am in anyother city and trying to connect to my pfsense and i am getting this results.

    Tue Jul 17 09:00:20 2018 OpenVPN 2.3.18 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Sep 26 2017
    Tue Jul 17 09:00:20 2018 Windows version 6.2 (Windows 8 or greater) 32bit
    Tue Jul 17 09:00:20 2018 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
    Tue Jul 17 09:00:27 2018 Control Channel Authentication: using 'pfSense-udp-1194-teste-tls.key' as a OpenVPN static key file
    Tue Jul 17 09:00:27 2018 UDPv4 link local (bound): [undef]
    Tue Jul 17 09:00:27 2018 UDPv4 link remote: [AF_INET]192.168.2.2:1194
    Tue Jul 17 09:00:28 2018 read UDPv4: Net dropped connection or reset (WSAENETRESET) (code=10052)
    Tue Jul 17 09:00:29 2018 read UDPv4: Net dropped connection or reset (WSAENETRESET) (code=10052)
    Tue Jul 17 09:00:33 2018 read UDPv4: Net dropped connection or reset (WSAENETRESET) (code=10052)

    I seems that it is trying to estabilish connection with 192.168.2.2:1194 and can not. Is it because 192.168.2.2 (my WAN address) is a private IP ? The only way do acomplish what i am trying do get is giving my WAN a public IP address ?
    HELP!!



  • It sounds like your pfSense machine is behind another router, because as you state, 192.168.2.2 is a non-routable RFC1918 address. Assuming you have access to the router in front of it, you'd need to use its public WAN IP instead, and configure appropriate port forwarding to the pfSense machine.