PS4 Linux Kernels with VPN Support (Wireguard, OpenVPN) for Baikal & Belize: Release

PS4 Linux Kernels for Baikal (5.4.213) and Belize (5.15.15) with VPN support for both Wireguard and Kernel, lets users use VPN clients and terminal.

Want to use VPN on PS4 Linux distros? Let me make it possible for you. Currently, most kernels available for PS4 Baikal and Belize southbridge do not support VPNs. To fix that, here I present PS4 Linux Baikal & Belize kernels with VPN support for Wireguard and OpenVPN. Simply put, using the modified and updated kernels in this article, you will be able to connect PS4 Linux distros to VPNs using terminal or through Linux VPN clients.

Support for both the popular protocols – Wireguard and OpenVPN have been built into the kernels. So, regardless of whether your VPN provider supports OpenVPN or Wireguard, you can now connect PS4 Linux to VPN.

Moreover, since the support is built into the kernel, this should technically work on any PS4 Linux distro, unlike the first iteration of MT7668 drivers for PS4 WiFi and Bluetooth. By the way, MT7668 drivers are now built into the kernels. Also, remember that the VPN supported kernels in this article also have the MT7668 WiFi & Bluetooth drivers. This means you could use this kernel to connect to VPNs using WiFi on affected consoles!

Before we jump into the tutorial, I’d like to thank the sponsor of this fix, forum member – eioltesr1. His sponsorship made this fix possible.

Requirements

Please note that these kernels also contain the fix for DNS issues on MT7668 WiFi on PS4 Linux.

Video Guide: Use VPN with Wireguard or OpenVPN on PS4 Linux

If you are comfortable with a textual tutorial, keep reading.

How to use VPN on PS4 Linux distros?

On Linux distros, there are mainly two ways to use a VPN, based on what the VPN provider provides. Most VPN providers have Linux clients or apps. Many others, on the other hand do not, in which case, you have to connect using Wireguard or OpenVPN on the terminal. We will discuss both of these in this article.

Method 1. Connect VPN using Client app on PS4 Linux distro

This is fairly simple. All you have to do is get the client for your Linux distro and run it. You can see me running Mullvad VPN Client for Ubuntu-based distros successfully on Linuxfx for PS4. Most drivers required for running these clients have already been packed into the kernel. If you still face any issues with your specific client, just leave a comment below. I’ll try my best to help.

Method 2. Connect VPN with Wireguard using terminal on PS4 Linux distro

While the connection steps for Wireguard are standard for almost every distro and for every VPN, each VPN provider may have a different process for procuring the configuration files for Wireguard. You will have to check the provider’s website for that. In the video, I have shown where you could get the steps for Mullvad VPN. The steps can be found here. If you are using any other VPN, you will have to get the Wireguard configuration files, before we begin. Once that’s done, follow these steps:-

  1. Install Wireguard (Distro-specific installation instructions here).
  2. Open a terminal, type sudo chown root:root -R /etc/wireguard && sudo chmod 600 -R /etc/wireguard and press Enter.
  3. Move Wireguard configuration files (.conf files usually) to the wireguard folder by going into the folder containing configuration files only. Then, open terminal, type sudo cp -rvf * /etc/wireguard and press Enter.
  4. Next, make a note of the configuration file in /etc/wireguard, pertaining to your VPN location, for eg.- se-mma-wg-001.conf. Now, open a terminal, type wg-quick up se-mma-wg-001 and press Enter to start the VPN.

Disconnect Wireguard VPN using terminal on PS4 Linux distro

To disconnect, just open a terminal, type wg-quick down se-mma-wg-001 and press Enter. Here, you might have to change the .conf file’s name, depending on which file was used to connect.

Method 3. Connect VPN with OpenVPN using terminal on PS4 Linux distro

OpenVPN is another popular protocol for VPN connections. To use this, again, you will need the configuration files, which will be provided for, by the VPN provider. The steps for Mullvad VPN is given here, as explained in the video. Once you have the files from your VPN provider, extract them into a folder and have them ready. Then, follow these steps:-

  1. Install OpenVPN (Distro-specific installation instructions here).
  2. Move OpenVPN configuration files (usually .crt, .conf, .txt files) to the openvpn folder by going into the folder containing the extracted configuration files only. Then, open terminal, type sudo cp -rvf * /etc/openvpn and press Enter.
  3. Next, make a note of the configuration file in /etc/openvpn, pertaining to your VPN location, for eg.- mullvad_at_vie.conf. Now, open a terminal, type sudo nohup openvpn --config /etc/openvpn/mullvad_at_vie.conf and press Enter to start the VPN.

Disconnect OpenVPN using terminal on PS4 Linux distro

To disconnect, just open the terminal where you ran the command to connect to OpenVPN and press Ctrl+C together.

Troubleshoot OpenVPN connection issues

On some distros, running the OpenVPN connect command will do nothing or throw an error. You can see the video to see the issue. If you do face it, these are the steps you need to follow:-

  1. Open a terminal, type sudo nano /etc/openvpn/mullvad_at_vie.conf and press Enter. Do not forget to replace the .conf file name with yours.
  2. In the text editor that opens, find references to files in the /etc/openvpn directory, for example, mullvad_userpass.txt, mullvad_ca.crt and update-resolv-conf. Then, add /etc/openvpn before these file names so that they say, /etc/openvpn/mullvad_userpass.txt for example.
  3. Once these file names have been properly set, press Ctrl+S and then Ctrl+X to save and exit.
  4. If your configration files contained an executable script, like update-resolv-conf, as in the case of Mullvad, you will have to make it executable. To do that, type sudo chmod +x /etc/openvpn/update-resolv-conf on a terminal and press Enter.
  5. Then, run the start command again, for example, sudo nohup openvpn --config /etc/openvpn/mullvad_at_vie.conf.

Conclusion

These kernels add support for Wireguard, as well. This is something that’s missing from atleast the 5.4.213 kernel source (for Baikal). Anyways, remember that, some VPNs might still have issues starting. This is most probably because they need additional drivers. If you do face issues with a specific VPN, make sure that you have followed this tutorial properly. Still not fixed? Kindly, leave a comment below. If you have a log to share, use the paste option available on Gloo.top and provide the paste link.

Be the first to comment

Leave a Reply

Your email address will not be published.


*