{"id":13340679,"url":"https://github.com/larsonzh/amdwvpns","last_synced_at":"2026-02-28T08:49:28.222Z","repository":{"id":58339586,"uuid":"530971129","full_name":"larsonzh/amdwvpns","owner":"larsonzh","description":"Asus-Merlin Dual WAN VPN Support tool（华硕梅林路由器双线路接入VPN服务支持工具）","archived":false,"fork":false,"pushed_at":"2023-03-01T08:00:45.000Z","size":397,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-24T06:28:57.617Z","etag":null,"topics":["asuswrt","asuswrt-merlin","dual-wan","ipsec","merlin","multi-wan","openvpn","policy","pptp","router","routing","shell-scripts","vpn","wireguard"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/larsonzh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-31T07:04:51.000Z","updated_at":"2023-04-06T07:53:37.000Z","dependencies_parsed_at":"2024-10-24T01:17:19.157Z","dependency_job_id":"943924c8-8242-47ac-8951-14fb656477c3","html_url":"https://github.com/larsonzh/amdwvpns","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsonzh%2Famdwvpns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsonzh%2Famdwvpns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsonzh%2Famdwvpns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsonzh%2Famdwvpns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/larsonzh","download_url":"https://codeload.github.com/larsonzh/amdwvpns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243090417,"owners_count":20234802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asuswrt","asuswrt-merlin","dual-wan","ipsec","merlin","multi-wan","openvpn","policy","pptp","router","routing","shell-scripts","vpn","wireguard"],"created_at":"2024-07-29T19:23:54.730Z","updated_at":"2026-02-28T08:49:28.145Z","avatar_url":"https://github.com/larsonzh.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# amdwvpns\nAsus-Merlin Dual WAN VPN Support tool\n\n**v1.0.5**\n\nThis project is used to solve the problem that the client can't access and use the VPN server inside the router when the dual WAN port of ASUS Merlin router is connected to the external network.\n\nThe router VPN servers involved in this project include OpenVPN server, PPTP VPN server, IPSec VPN server and WireGuard server.\n\nThe project script can be deployed and run in the JFFS partition of the router or the Entware environment in the USB disk.\n\nSince the author's amdwprsct project has included all the functions of this project, in order to avoid the application running conflict, the project script can't run in the router at the same time as the author's amdwprsct project product.\n\nFor the author's amdwprsct project, please visit the following address: https://github.com/larsonzh/amdwprprsct.git\n\n\n**Installation \u0026 Operation**\n\n1. Download the compressed package named \"lzvpns-[version ID].tgz\" (e.g., lzvpns-v1.0.5.tgz).\n\n2. Upload the compressed package to the temporary directory in the router.\n\n3. In the SSH terminal, use the tar command to extract files in the temporary directory:\n```markdown\n        tar -xzvf lzvpns-[version ID].tgz\n```\n4. After executing the above command, execute the installation script command in the newly created directory (lzvpns-[version ID]):\n```markdown\n        To JFFS partition            ./install.sh\n            or\n        To the Entware of USB disk   ./install.sh entware\n```\n5. After installation, the following commands can be executed in the lzvpns directory where the script file is located:\n```markdown\n        Start/Restart Service        ./lzvpns.sh\n        Stop Service                 ./lzvpns.sh stop\n        Forced Unlocking             ./lzvpns.sh unlock\n        Uninstall project files      ./uninstall.sh\n```\n6. In the user-defined data area of the script file (lzvpns.sh), you can configure three basic operation parameters according to the instructions.\n\n```markdown\n#  ------------- User Defined Data --------------\n\n# The host port of the router, which is used by the VPN client when accessing the router \n# from the WAN using the domain name or IP address. \n# 0--Primary WAN (Default), 1--Secondary WAN\nWAN_ACCESS_PORT=0\n\n# The router host port used by VPN clients when accessing the WAN through the router.\n# 0--Primary WAN (Default), 1--Secondary WAN, Other--System Allocation\nVPN_WAN_PORT=0\n\n# Polling time for detecting and maintaining PPTP/IPSec/WireGuard VPN service status.\n# 1~10s (The default is 3 seconds)\nPOLLING_TIME=3\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsonzh%2Famdwvpns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarsonzh%2Famdwvpns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsonzh%2Famdwvpns/lists"}