OPenVPN on Bullseye Ok no long working on Bookworm ...HELP?

Collapse
X
Collapse
+ More Options
Posts
 
  • Time
  • Show
Clear All
new posts
  • ejwjohn
    Junior Member
    • Oct 2024
    • 4

    OPenVPN on Bullseye Ok no long working on Bookworm ...HELP?

    Hello,

    I am now using RPi Bookworm and I cannot get OpenVPN to work, Everything was fine when I used OpenVPN on Bullseye, I am not that experienced at using RPI so managed to get a like to a script that installed OPENVPN and then allowed me to configure clients to access the RPI base VPN.

    Today this script still "works" in as much as it does not generate any errors, but the client can not connect to the RPI VPN using the profiles generated by the script

    the URL for the script is provided,

    Any assistance would be greatly appreciated

    Thx
  • ejwjohn
    Junior Member
    • Oct 2024
    • 4

    #2
    The script URL did not transfer correctly Click image for larger version

Name:	OPENVPN installation script.png
Views:	39
Size:	52.3 KB
ID:	454 the image I have attached will provide the info

    Comment

    • Rrobinet
      Junior Member
      • Feb 2025
      • 2

      #3
      If this script works with a DHCP IP address it doesn't work while using a static one (browser randomly hangs, netbios file system hangs etc..).
      Any other idea to solve the usage of openvnp with bookworm network manager?
      Robert

      Comment

      • Rrobinet
        Junior Member
        • Feb 2025
        • 2

        #4
        After investigation, the issue was not the static IP address but the name resolution of the VPN hostname that requested IPV6 support.
        So invoking the script above (sudo bash OpenVPN-install.sh) see also https://raspberrytips.com/openvpn-raspberry-pi/
        if you configure a DNS hostname instead of an IP address (in my case I have a DNS updated entry at zzzz.duckdsns.org) you should ensure IPV6 NAT
        Example: my internet provider public dynamic address is 94.225.XXX.YYY resolved by zzzz.duck.dns.org and converted by the NAT provider modem to my local IPV4 address port 1194
        At the script question :
        It seems this server is behind NAT. What is its public IPv4 address or hostname?
        We need it for the clients to connect to the server.
        Public IPv4 address or hostname: 94.225.XXX.YYY
        I have to change it by:
        Public IPv4 address or hostname: zzzz.duck.dns.org
        and then
        Checking for IPv6 connectivity...
        Your host appears to have IPv6 connectivity.
        Do you want to enable IPv6 support (NAT)? [y/n]: y
        The answer must be YES because further DNS resolution uses IPV6

        With this setting, I have no issue with Host DHCP or STATIC host IPV4 addresses
        Robertโ€‹

        Comment

        Working...
        ๐Ÿ˜€
        ๐Ÿ˜‚
        ๐Ÿฅฐ
        ๐Ÿ˜˜
        ๐Ÿคข
        ๐Ÿ˜Ž
        ๐Ÿ˜ž
        ๐Ÿ˜ก
        ๐Ÿ‘
        ๐Ÿ‘Ž
        โ˜•