logo elektroda
logo elektroda
X
logo elektroda

VPN Tunnel Connection Issue: Error 766, No Certificate, Access Remote Recorder, Win7, OpenVPN Help

sadek_ns 6411 13
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16645244
    sadek_ns
    Level 14  
    Posts: 171
    Help: 8
    Rate: 3
    I have a problem with my VPN tunnel connection.

    He wants to connect to a computer at work through a VPN tunnel that is in the network with a camera recorder that he wants to access remotely. I received from an external administrator The IP address of the computer to which you need to connect, login and password to connect and the PSK key, I also have the internal address of the recorder, but when configuring the connection in WIN7 (because this is how I have to connect in the manual), error 766 appears, which says that there is no certificate during the connection.

    Can it connect via OPEN VPN?
    How to configure it to make it move.
    I have no experience with these connections and would like someone to help me with this.

    Thanks and Regards.
  • ADVERTISEMENT
  • #2 16645268
    bogiebog
    Level 43  
    Posts: 24793
    Help: 2569
    Rate: 1528
    Step by step, show screenshots of how to configure a VPN connection.
  • ADVERTISEMENT
  • #3 16645943
    sadek_ns
    Level 14  
    Posts: 171
    Help: 8
    Rate: 3
    Network and Sharing Center> Set up a new connection or network

    connect to work> Use my internet connection (VPN)

    Internet address (computer address at work) enters the IP address I received from the administrator, check "Don't connect now, just configure it so that I can connect later

    gives the username and password (I got it from the administrator)
    and click create

    In the properties, the security tab, I select the virtual network type: L2TP

    and later link and crashes error as pictured
    VPN Tunnel Connection Issue: Error 766, No Certificate, Access Remote Recorder, Win7, OpenVPN Help
  • #4 16645951
    bogiebog
    Level 43  
    Posts: 24793
    Help: 2569
    Rate: 1528
    did you enter the PSK key?
    no ? type it, go to how to do it.
  • #5 16645987
    sadek_ns
    Level 14  
    Posts: 171
    Help: 8
    Rate: 3
    it probably fits in the advanced settings and: use the pre-shared key for authentication, after typing there (although in the instructions I got from the administrator it would not be entered), an error 789 appears as in the photo.

    VPN Tunnel Connection Issue: Error 766, No Certificate, Access Remote Recorder, Win7, OpenVPN Help
  • ADVERTISEMENT
  • Helpful post
    #6 16646057
    jprzedworski
    Network and Internet specialist
    Posts: 5353
    Help: 757
    Rate: 824
    Administrator recommended L2TP? Maybe something else?
    Don't you better ask him?
    Briefly disable the system firewall.
    Maybe your home router is blocking something. Which model?
  • #7 16646097
    sadek_ns
    Level 14  
    Posts: 171
    Help: 8
    Rate: 3
    In the manual it says just to choose l2tp, I chose others and it also doesn't connect and crashes errors.

    I turned off the firewall and the same thing.

    I have a huwawei b315s router with play

    Added after 7 [minutes]:

    I turned off the node, turned off the firewall on the router and in the firewall system and I have error 789.
  • #8 16646609
    jprzedworski
    Network and Internet specialist
    Posts: 5353
    Help: 757
    Rate: 824
    Sometimes the router is the cause. Generally, it should have the "VPN Passthrough" function, and with this hardware I don't know how it is. Some say it is, others say it is not. Sometimes it's not in the configuration, but it works. Here is an example. Different bug and different hardware, but who knows:
    https://www.elektroda.pl/rtvforum/topic3254895.html
  • #9 16648126
    jaroslawk
    Level 21  
    Posts: 634
    Help: 30
    Rate: 13
    Hello.
    What is the VPN server placed on?
    Try to change the authentication method.
    greetings
  • #10 16653487
    sadek_ns
    Level 14  
    Posts: 171
    Help: 8
    Rate: 3
    I can't find any such configuration in this router, I don't think there is one.

    I do not know what the VPN is placed on because I only got access data to it, I changed the authentication method, I also gave it to the car so that he could choose the system himself and then nothing: /

    Damn, I have no idea for it anymore: /
  • #11 16653583
    jaroslawk
    Level 21  
    Posts: 634
    Help: 30
    Rate: 13
    You can send this manual.
    Using VPN you connect to the internal network and then when you enter the computer (remote desktop ??) and the recorder (website ??)
    greetings
  • ADVERTISEMENT
  • #12 16670475
    sadek_ns
    Level 14  
    Posts: 171
    Help: 8
    Rate: 3
    Give me an email and I'll send it to you.

    I want to connect to the network using a VPN and then I will have access to the recorder that is in this network and connect to it via www. Why do I need to connect to some computer on this network?
  • #13 16670513
    jaroslawk
    Level 21  
    Posts: 634
    Help: 30
    Rate: 13
    In the first post you write that you want to connect to your computer at work using a VPN
  • #14 16670987
    sadek_ns
    Level 14  
    Posts: 171
    Help: 8
    Rate: 3
    Well, I wrote that, and I really don't know what to connect to, whether to a computer or a router

Topic summary

✨ The discussion revolves around a user experiencing a VPN tunnel connection issue on Windows 7, specifically encountering error 766, which indicates a missing certificate. The user is attempting to connect to a work computer to access a remote camera recorder using OpenVPN. Various troubleshooting steps are suggested, including configuring the VPN connection through the Network and Sharing Center, entering the correct IP address, username, password, and pre-shared key (PSK). The user also faces error 789 after attempting to use the PSK for authentication. Recommendations include checking the router's VPN passthrough capability, disabling firewalls, and changing authentication methods. The user expresses confusion about whether to connect to a computer or a router for accessing the internal network and the recorder.
Generated by the language model.

FAQ

TL;DR: Windows 7 L2TP/IPsec setup here surfaced 1 PSK requirement; “did you enter the PSK key?” was the turning point. [Elektroda, bogiebog, post #16645951]

Why it matters: This FAQ helps fix Error 766/789 and explains how to reach a remote NVR/DVR over a work VPN from Windows 7.

Quick Facts

How do I fix Windows 7 L2TP Error 766 (no certificate) when using a PSK?

Set the VPN type to L2TP/IPsec with a pre‑shared key instead of certificate-based IPsec. In Windows 7, open the VPN’s Properties > Security tab, choose L2TP/IPsec, click Advanced, and select “Use pre‑shared key for authentication.” This aligns with the thread’s turn from certificate to PSK. [Elektroda, sadek_ns, post #16645987]

Why did Error 789 appear after I entered the PSK?

Error 789 followed after switching to L2TP/IPsec with a PSK, indicating the handshake still failed. In the thread, entering the PSK moved the error from 766 to 789, pointing to remaining IPsec or network traversal issues that need router or server-side checks. [Elektroda, sadek_ns, post #16645987]

Could my router be blocking the VPN tunnel?

Yes. The expert warned the router can be the cause and suggested verifying “VPN Passthrough.” Some consumer LTE routers handle IPsec inconsistently. If Passthrough isn’t present or reliable, L2TP/IPsec can fail even with correct credentials. “Sometimes the router is the cause.” [Elektroda, jprzedworski, post #16646609]

Does Huawei B315s support VPN Passthrough for L2TP/IPsec?

In this case, the user couldn’t find any VPN configuration on the B315s, and Passthrough support remained unclear. That uncertainty aligns with the expert’s note that some hardware may work without an obvious setting, while others may not. [Elektroda, sadek_ns, post #16653487]

What information must my administrator provide to connect?

You need at least four items: the VPN server’s IP, your username and password, the IPsec pre‑shared key, and the internal IP of the recorder you plan to reach after connecting. The thread lists all four explicitly. [Elektroda, sadek_ns, post #16645244]

Should I connect to a work PC or the router/VPN server?

Connect the VPN to the network’s VPN endpoint (often a router or VPN server), not a random PC, unless your admin says the PC hosts the VPN. After the tunnel comes up, you can access the internal recorder over HTTP. [Elektroda, sadek_ns, post #16670475]

What is L2TP/IPsec in simple terms?

It’s a two‑part VPN method: L2TP provides the tunnel and IPsec secures it. In this thread, the manual required choosing L2TP in Windows 7 and pairing it with a pre‑shared key for IPsec authentication. [Elektroda, sadek_ns, post #16645943]

Can I use OpenVPN instead of Windows’ built‑in L2TP/IPsec?

The user asked about OpenVPN, but the provided manual targeted Windows 7 L2TP/IPsec. If the admin supports OpenVPN, it can avoid router IPsec quirks, but you must confirm the server side first. [Elektroda, sadek_ns, post #16645244]

How do I reach the camera recorder after the VPN connects?

Once the VPN is connected to the office network, open the recorder’s internal IP in a browser over HTTP/WWW. That was the user’s stated objective after establishing the tunnel. [Elektroda, sadek_ns, post #16670475]

What quick steps should I follow to retest a clean L2TP/IPsec setup on Windows 7?

  1. In VPN Properties > Security, set Type to L2TP/IPsec and click Advanced to enter the PSK.
  2. Keep your provided username/password in the connection’s credentials.
  3. Connect and note the exact error code for next troubleshooting. “Did you enter the PSK key?” [Elektroda, bogiebog, post #16645951]

Will disabling my firewall help diagnose the issue?

Temporarily disabling the Windows firewall was suggested for testing, but it did not resolve Error 789 here. This points back to router handling or server-side configuration rather than host firewall alone. Re‑enable the firewall after testing. [Elektroda, sadek_ns, post #16646097]

What else should I ask my administrator?

Confirm the exact VPN server type, required authentication (PSK vs. certificates), and whether the server expects L2TP/IPsec. Ask if alternative auth methods are allowed, as suggested during troubleshooting in the thread. [Elektroda, jaroslawk, post #16648126]

What’s an edge case that can still break a correct setup?

Mobile‑network routers can pass normal web traffic but mishandle IPsec, causing L2TP/IPsec to fail even with the right PSK and credentials. The expert raised router VPN Passthrough concerns as a potential blocker. [Elektroda, jprzedworski, post #16646609]

What concrete details from this case help me benchmark my setup?

Count four provided inputs (server IP, username/password, PSK, recorder IP) and two Windows errors (766→789). If your facts match but you still fail, focus on router or server-side settings next. [Elektroda, sadek_ns, post #16645244]
Generated by the language model.
ADVERTISEMENT