Skip to main content
Installing amneziawg on a Keenetic router can help bypass restrictions imposed by your Internet Service Provider (ISP) by concealing the operation of WireGuard. Unlike traditional VPN setups, amneziawg masks the WireGuard protocol, making it difficult for the ISP to detect that you’re using a VPN. This stealth feature prevents the provider from identifying and blocking the VPN traffic. This ensures a seamless and unrestricted internet experience, even in environments where VPN usage is typically monitored or restricted by government-controlled firewalls. Creating a WireGuard connection with additional asc parameters in the updated interface of Keenetic OS 4.2 routers. Step 1 Open the management page of the router in your browser: http://192.168.0.1 Log in using your username and password Install AmneziaWG client on Keenetic router Step 2 Move to: Management → System settings
  • expand the “startup-config” item and save a backup copy of your router’s current settings.
Install AmneziaWG client on Keenetic router Step 3 Check which version of KeeneticOS is installed on the router, and whether KeeneticOS is being updated to version 4.2. WireGuard support with asc parameters has appeared in KeeneticOS since version 4.2 Alpha 2. If the KeeneticOS 4.2 release has not yet been released for your router, try switching the update channel to “Preview”. Install AmneziaWG client on Keenetic router Step 4 More importantly, back up the system files before upgrading. Save firmware, startup-config, default-config, and running-config. This will help you restore the router if a failure occurs during the upgrade. Install AmneziaWG client on Keenetic router Step 5 On the “System Component Options” page that opens, in the “Network Functions” section, check if the “WireGuard VPN” component is installed. If the “WireGuard VPN” component is not installed, check the appropriate checkbox for installation, and click the “Update KeeneticOS” button that appears below. Wait for the router to update and reboot. Install AmneziaWG client on Keenetic router Step 6 A new window may appear during the system update saying there is insufficient memory to install all selected components. In that case, click View changes and disable components. Uncheck the unnecessary components to free up memory. If the update is interrupted with the message “Not enough space”, you need to disable unnecessary components in the list to reduce the size of the update. Install AmneziaWG client on Keenetic router Step 7 After that, upgrade the router to version 4.2 or later by clicking the Update KeeneticOS button on the System Settings page. During the update process, the router will reboot. Install AmneziaWG client on Keenetic router Step 8 After updating and restarting the router, you need to log in again on the router management page. Install AmneziaWG client on Keenetic router Step 9 Make sure that Keenetic OS has been updated to version 4.2, and that the necessary WireGuard VPN component is installed. Install AmneziaWG client on Keenetic router Step 10 Now, you need to go back to the router settings, go to the Internet section, and select Other connections. Install AmneziaWG client on Keenetic router Step 11 Select the Wireguard section, create a new connection in it, and import the saved AmneziaWG configuration file. To do this, click the “Import from file” link. Install AmneziaWG client on Keenetic router Step 12 Select the config file and press Enter. You should get the following, where VPS_IP_ADDRESS is the IP address of the VPS, and 42666 is the port. The new connection should appear in the Wireguard section, with the same name as the imported file. But it’s too early to use the connection that has appeared. You need to go to its settings for editing by clicking on its line anywhere except the switcher. Install AmneziaWG client on Keenetic router !The internal IP address of the new connection must be unique among existing Wireguard connections to avoid conflicts. If a conflict occurs, create a new configuration file with a different IP address for one of the conflicting connections. Step 13 In the connection settings window that opens, mark the Use to access the Internet checkbox, then save the changes by clicking the Save button at the bottom of the settings page. Install AmneziaWG client on Keenetic router Step 14 Now you need to go to the web version of the Keenetic router command line to execute several commands. To do this, go to settings, click the gear image in the upper-right corner of the web page, and click the Command line link. Install AmneziaWG client on Keenetic router Step 15 Enter show interface command and click the Send Request button. Information about all available interfaces is displayed below. Install AmneziaWG client on Keenetic router Step 16 Now you need to find out the name of the desired interface by the name of the previously created connection. To do this, open the search on the page (you can do this by pressing two keys at the same time, Ctrl+F). Enter the name of the previously created connection for the search. In this example, it is my_amneziawg_client1. You should find a single, unique name in the “description” field. And next to it, there will be another field, “interface-name”, which displays the name of the desired interface. In this example, this is Wireguard 0. Install AmneziaWG client on Keenetic router Step 17 Now, you know the name of the interface and the values of the asc parameters from the file my_amneziawg_client1.conf that we saved earlier. You need to replace all the template values in parentheses with your values and delete the brackets themselves.
Open the my_amneziawg_client1.conf on your computer. From this file, you will need the values of the parameters Jc, Jmin, Jmax, S1, S2, H1, H2, H3, H4 - these are the asc parameters.
In this example, the string will look like:
Insert the resulting line into the web version of the router’s command line, and click the “Send request” button. If you entered the correct command, the result of processing the request will be displayed below, as in the screenshot. commandwireguardasc.png Step 18 Then execute system configuration save in the web version of the router’s command line, and click the “Send request” button. Install AmneziaWG client on Keenetic router Step 19 Go to the Internet section and select Connection Policies. Install AmneziaWG client on Keenetic router Step 20 In the Connection Policies section, add a new policy. For example, enter amneziawg as the policy name and click the Save button. Install AmneziaWG client on Keenetic router Step 21 Click the amneziawg policy, move my_amneziawg_client1 to the top, and set its checkbox. Click Save to save this setting. Install AmneziaWG client on Keenetic router In the Access Policy settings in the Default Policy, the created VPN connection (my_amneziawg_client1) should go below your main Internet connection. This avoids problems with reconnecting the router when the main Internet connection is interrupted. Step 22 Now you need to go to the Internet section, then Other connections, and check the functionality of the created WireGuard connection by switching its state to “Enabled”. After a few seconds, the activity mark of the peer should change color from gray to green. Also, information about incoming/outgoing traffic and the time since the last “handshake” should be displayed. Install AmneziaWG client on Keenetic router Step 23 Move again to Internet → Connection Policies → Policy Bindings. In the Default policy section, select the device (for example, SamsungSmartTv) for which you want to route traffic through amneziawg. In the switcher menu, select the amneziawg policy and click Confirm. Install AmneziaWG client on Keenetic router The device will be moved to amneziawg policy. Install AmneziaWG client on Keenetic router Step 24 To verify that the VPN connection is working correctly for the selected device, you can check its IP address. Use a website like “whoer.net” on the device to confirm that its IP address has changed to that of your VPN server. This step ensures that the traffic from your Samsung Smart TV (or other chosen device) is now being routed through the AmneziaWG VPN connection. Enjoy 🏄‍♂️!
Last modified on September 7, 2026