After a reboot of OPNsense 23.1.7_3-amd64 running a NordVPN using OpenVPN, my Internet is not functional. It appears that my DNS is not working because I can ping 8.8.8.8 but not www.google.com. Internet access returns if I restart the NordVPN interface.
Any suggestions?
I thought maybe this issue was due to the initialization order on of the interfaces on boot but they appear to be correct in a backup XML file:
</system>
<interfaces>
<lo0>
<internal_dynamic>1</internal_dynamic>
<descr>Loopback</descr>
<enable>1</enable>
<if>lo0</if>
<ipaddr>127.0.0.1</ipaddr>
<ipaddrv6>::1</ipaddrv6>
<subnet>8</subnet>
<subnetv6>128</subnetv6>
<type>none</type>
<virtual>1</virtual>
</lo0>
<lan>
<if>em1</if>
<descr/>
<enable>1</enable>
<spoofmac/>
<ipaddr>192.168.10.1</ipaddr>
<subnet>24</subnet>
</lan>
<wan>
<if>em0</if>
<descr/>
<enable>1</enable>
<spoofmac/>
<blockpriv>1</blockpriv>
<blockbogons>1</blockbogons>
<ipaddr>dhcp</ipaddr>
<dhcphostname/>
<alias-address/>
<alias-subnet>32</alias-subnet>
<dhcprejectfrom/>
<adv_dhcp_pt_timeout/>
<adv_dhcp_pt_retry/>
<adv_dhcp_pt_select_timeout/>
<adv_dhcp_pt_reboot/>
<adv_dhcp_pt_backoff_cutoff/>
<adv_dhcp_pt_initial_interval/>
<adv_dhcp_pt_values>SavedCfg</adv_dhcp_pt_values>
<adv_dhcp_send_options/>
<adv_dhcp_request_options/>
<adv_dhcp_required_options/>
<adv_dhcp_option_modifiers/>
<adv_dhcp_config_advanced/>
<adv_dhcp_config_file_override/>
<adv_dhcp_config_file_override_path/>
</wan>
<opt1>
<if>wg0</if>
<descr>BLAHVPN</descr>
<enable>1</enable>
<lock>1</lock>
<spoofmac/>
</opt1>
<wireguard>
<internal_dynamic>1</internal_dynamic>
<descr>WireGuard (Group)</descr>
<if>wireguard</if>
<virtual>1</virtual>
<enable>1</enable>
<type>group</type>
<networks/>
</wireguard>
<openvpn>
<internal_dynamic>1</internal_dynamic>
<enable>1</enable>
<if>openvpn</if>
<descr>OpenVPN</descr>
<type>group</type>
<virtual>1</virtual>
<networks/>
</openvpn>
<opt2>
<if>ovpnc1</if>
<descr>NORDVPN</descr>
<enable>1</enable>
<spoofmac/>
</opt2>
</interfaces>
Maybe someone can make sense of the attached VPN log file. It was captured after a reboot.
I had no Internet access after the reboot. I had to cycle off/on the VPN interface to regain Internet access.
The attached log is from after cycling the VPN interface off/on. I have Internet after the cycling and the VPN status says connected with VPN in/out traffic numbers increasing.
Screenshot of interfaces.
Success!!!
How did you manage to solve the problem? 😃