OpenVPN // PfSense // Windows // Linux
I have been struggling with this for a while now.
I know how to make certificates, and I know how to make OpenVPN servers on the PfSense webgui.
I just can't seem to figure out why my connections are not working…
Could someone give the the exact settings used on the pfsense firewall and OpenVPN on windows/linux?
What I am trying to do is set up an OpenVPN server on a linux machine, in which a windows and/or linux machine will connect
to via OpenVPN.
I have read many tutorials, and none of their configurations seem to work...
The openvpn topic OpenVPN on pfSense - Installation guide for (Windows) Dummies :-) (road-warrior) is the way to go. I followed it step by step and got mine up and running.
AhnHEL last edited by
One thing that stumped me for a while with running OVPN on Linux was the fact that I had to type the full path to the certificates in my conf file. This wasnt necessary in windows if the conf file was in the same location as the certificates but in Linux the full path needs to be entered regardless of where the conf and certificates are stored.
So I tried that tutorial exaclty word-for-word…and I am still getting no connection.
However, in the pfsense OpenVPN logs I am getting this:
Aug 2 12:44:37 openvpn: event_wait : Interrupted system call (code=4)
Aug 2 12:44:37 openvpn: /etc/rc.filter_configure tun0 1500 1558 10.0.1.1 10.0.1.2 init
Aug 2 12:44:37 openvpn: SIGTERM[hard,] received, process exiting
Aug 2 12:44:39 openvpn: OpenVPN 2.0.6 i386-portbld-freebsd7.1 [SSL] [LZO] built on Apr 22 2009
Aug 2 12:44:39 openvpn: WARNING: file '/var/etc/openvpn_server0.key' is group or others accessible
Aug 2 12:44:39 openvpn: gw 22.214.171.124
Aug 2 12:44:39 openvpn: TUN/TAP device /dev/tun0 opened
Aug 2 12:44:39 openvpn: /sbin/ifconfig tun0 10.0.1.1 10.0.1.2 mtu 1500 netmask 255.255.255.255 up
Aug 2 12:44:39 openvpn: /etc/rc.filter_configure tun0 1500 1558 10.0.1.1 10.0.1.2 init
Aug 2 12:44:41 openvpn: UDPv4 link local (bound): [undef]:1194
Aug 2 12:44:41 openvpn: UDPv4 link remote: [undef]
Aug 2 12:44:41 openvpn: Initialization Sequence Completed
I dont' know if this is a good or bad thing.
Could someone explain what is going on?
Also, "gw 126.96.36.199" seems odd, for the machine that pfsense is on has a gateway of 188.8.131.52.
Could this be a problem too? If so, how might I fix this?
What is your IP and gateway for you external network, that is what it should be. This is a example of the client configuration:
remote 63.162.xxx.xxx 1194
This from my workstation that I use to connect openvpn with.