Ifconfig: ioctl (SIOCAIFADDR): Destination address required
I have setup OpenVPN using two vkt40e both running 2.1.5 each time the OpenVPN server starts it stops again. I SSHed in and found that it was giving the following error:
ifconfig: ioctl (SIOCAIFADDR): Destination address required
I followed https://forum.pfsense.org/index.php?topic=38605.0 to setup the devices and the config files match.
Any assistance would be very much appreciated
Can you post the sanitized config files so we can see what is going on?
BTW if you changed mode from tun to tap I found that the server needs a reboot before it works correctly. Starting and stopping the service did not work, only a full reboot.
Thanks for the response BeerCan
I have tried a full reboot with no luck. :(
The end result that I am tying to achieve is a site to site VPN where clients at both sites can communicate cross site.
Here are the config files:
dev ovpns1 dev-type tap dev-node /dev/tap1 writepid /var/run/openvpn_server1.pid #user nobody #group nobody script-security 3 daemon keepalive 10 60 ping-timer-rem persist-tun persist-key proto udp cipher AES-128-CBC up /usr/local/sbin/ovpn-linkup down /usr/local/sbin/ovpn-linkdown local 10.0.0.29 engine cryptodev ifconfig 192.168.71.1 255.255.255.248 lport 1194 management /var/etc/openvpn/server1.sock unix push "route 192.168.70.0 255.255.255.0" route 192.168.72.0 255.255.255.0 secret /var/etc/openvpn/server1.secret
dev ovpnc1 dev-type tap dev-node /dev/tap1 writepid /var/run/openvpn_client1.pid #user nobody #group nobody script-security 3 daemon keepalive 10 60 ping-timer-rem persist-tun persist-key proto udp cipher AES-128-CBC up /usr/local/sbin/ovpn-linkup down /usr/local/sbin/ovpn-linkdown local 10.0.0.33 lport 0 management /var/etc/openvpn/client1.sock unix remote 10.0.0.29 1194 ifconfig 192.168.71.2 255.255.255.248 route 192.168.0.70 255.255.255.0 secret /var/etc/openvpn/client1.secret