Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
(SOLVED)OpenVPN Not Working After Reboot - Must Cycle VPN Interface After Reboot
« previous
next »
Print
Pages: [
1
]
Author
Topic: (SOLVED)OpenVPN Not Working After Reboot - Must Cycle VPN Interface After Reboot (Read 2222 times)
RJenkins
Newbie
Posts: 13
Karma: 0
(SOLVED)OpenVPN Not Working After Reboot - Must Cycle VPN Interface After Reboot
«
on:
May 07, 2023, 07:58:50 pm »
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?
«
Last Edit: May 13, 2023, 06:27:00 am by RJenkins
»
Logged
RJenkins
Newbie
Posts: 13
Karma: 0
Re: OpenVPN Not Working After Reboot - Must Cycle VPN Interface After Reboot
«
Reply #1 on:
May 09, 2023, 11:57:31 pm »
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>
Logged
RJenkins
Newbie
Posts: 13
Karma: 0
Re: OpenVPN Not Working After Reboot - Must Cycle VPN Interface After Reboot
«
Reply #2 on:
May 12, 2023, 09:01:11 pm »
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.
Logged
RJenkins
Newbie
Posts: 13
Karma: 0
Re: OpenVPN Not Working After Reboot - Must Cycle VPN Interface After Reboot
«
Reply #3 on:
May 12, 2023, 09:35:33 pm »
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.
Logged
RJenkins
Newbie
Posts: 13
Karma: 0
Re: OpenVPN Not Working After Reboot - Must Cycle VPN Interface After Reboot
«
Reply #4 on:
May 12, 2023, 09:38:41 pm »
Screenshot of interfaces.
Logged
RJenkins
Newbie
Posts: 13
Karma: 0
Re: OpenVPN Not Working After Reboot - Must Cycle VPN Interface After Reboot
«
Reply #5 on:
May 13, 2023, 06:22:57 am »
Success!!!
Logged
Carve7447
Newbie
Posts: 5
Karma: 0
Re: (SOLVED)OpenVPN Not Working After Reboot - Must Cycle VPN Interface After Reboot
«
Reply #6 on:
September 16, 2023, 11:25:42 am »
How did you manage to solve the problem? 😃
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
(SOLVED)OpenVPN Not Working After Reboot - Must Cycle VPN Interface After Reboot