{"id":19146056,"url":"https://github.com/liulilittle/skylakenat","last_synced_at":"2025-06-21T09:05:04.401Z","repository":{"id":113757637,"uuid":"240755054","full_name":"liulilittle/SkylakeNAT","owner":"liulilittle","description":"Three-layer Virtual NAT address conversion (experimental sub-project of SupersocksR)","archived":false,"fork":false,"pushed_at":"2020-02-24T15:32:13.000Z","size":439,"stargazers_count":41,"open_issues_count":0,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-21T09:04:30.973Z","etag":null,"topics":["c","cpp","cs","csharp","icmp","ipv4","nat","openvpn-tap-windows","pcap","proxy","route","tcp","tun","udp","win32"],"latest_commit_sha":null,"homepage":"","language":"C#","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/liulilittle.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":"2020-02-15T17:08:58.000Z","updated_at":"2025-04-26T19:53:47.000Z","dependencies_parsed_at":"2023-05-06T20:17:05.487Z","dependency_job_id":null,"html_url":"https://github.com/liulilittle/SkylakeNAT","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/liulilittle/SkylakeNAT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liulilittle%2FSkylakeNAT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liulilittle%2FSkylakeNAT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liulilittle%2FSkylakeNAT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liulilittle%2FSkylakeNAT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liulilittle","download_url":"https://codeload.github.com/liulilittle/SkylakeNAT/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liulilittle%2FSkylakeNAT/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261095302,"owners_count":23108782,"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":["c","cpp","cs","csharp","icmp","ipv4","nat","openvpn-tap-windows","pcap","proxy","route","tcp","tun","udp","win32"],"created_at":"2024-11-09T07:42:59.590Z","updated_at":"2025-06-21T09:04:59.388Z","avatar_url":"https://github.com/liulilittle.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SkylakeNAT\n\u003cbr/\u003e\nBuild SkylakeNAT-cli\n\u003cbr/\u003e\n-------------------------------------------------------------------------------------\n\u003cbr/\u003e\nDevTools choosable Visual C/C++ 2015, 2017, 2019...(IA32-x86)\n\u003cbr/\u003e\n\u003cbr/\u003e\nvcpkg (https://github.com/Microsoft/vcpkg/)\n\u003cbr/\u003e\nReferences:\n\u003cbr/\u003e\n1、boost and boost::asio-x86\n\u003cbr/\u003e\n2、openssl-x86\n\u003cbr/\u003e\n3、TAP-Windows or TAP-Windows6 (openvpn)\n\u003cbr/\u003e\n\nBuild SupersocksR * (experiment)\n\u003cbr/\u003e\n-------------------------------------------------------------------------------------\nNuget\n\u003cbr/\u003e\nReferences: \u003e= Microsoft .NET Framework 4.5、Microsoft Visual C++ 2010 x86 Runtime(CRT)\n\u003cbr/\u003e\n1、Pcap.Net\n\u003cbr/\u003e\n2、OpenSSL.Net\n\u003cbr/\u003e\n3、WinPcap or WinPcap for Win10\n\u003cbr/\u003e\n\nRoute\n-------------------------------------------------------------------------------------\n1、The default gateway between the vNAT and the TAP device is 10.8.0.0\n\u003cbr/\u003e\n2、If you need to run all (TCP/IP, ICMP, UDP/IP) protocol data through SkylakeNAT then \nyou need to configure the following route (CMD/cli interface).\n   \u003cbr/\u003e\n   \u003e WIN + R (runas administrator) -\u003e cmd\n   \u003cbr/\u003e\n   \u003cspan\u003e route add 0.0.0.0 mask 0.0.0.0 10.8.0.0\u003c/span\u003e\n   \u003cbr/\u003e\n   \u003cspan\u003e route add 0.0.0.0 mask 128.0.0.0 10.8.0.0\u003c/span\u003e\n   \u003cbr/\u003e\n   \u003cspan\u003e route add 128.0.0.0 mask 128.0.0.0 10.8.0.0\u003c/span\u003e\n   \u003cbr/\u003e\n   \u003cbr/\u003e\n   \u003cspan\u003eWinAPI operation route can be referred to https://github.com/liulilittle/SkylakeNAT/blob/master/SupersocksR/Net/Routing/RouteTableManager.cs\u003c/span\u003e\n   \u003cbr/\u003e\n      \u003cbr/\u003e\n3、If you're only going to SkylakeNAT for an IP or IP segment, you can configure SkylakeNAT as follows\n\u003cbr/\u003e\n   \u003cspan\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;1、route add 172.8.8.8 mask 255.255.255.255 10.8.0.0  (172.8.8.8 ~ 172.8.8.8)\u003c/span\u003e \u003cbr/\u003e\n   \u003cspan\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;2、route add 198.18.0.0 mask 255.254.0.0 10.8.0.0  (198.18.0.0 ~ 198.19.255.255)\u003c/span\u003e \u003cbr/\u003e\n\nUsage\n-------------------------------------------------------------------------------------\nMust run the program as Administrator\n\u003cbr/\u003e\nSpecify that the IP that the SupersocksR listens on must be an \"Ethernet physical network card\" (typically a RTL[Realtek] network card) that can access input or output traffic\n\u003cbr/\u003e\n\u003cbr/\u003e\n1：SupersocksR 192.168.0.104 7521 yy523o! 25\n\u003cbr/\u003e\n2：SkylakeNAT --server=192.168.0.104 --port=7521 --key=yy520o! --subtract=25 --max-concurrent=8\n\n\u003cimg src=\"https://img-blog.csdnimg.cn/20200216234706449.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2xpdWxpbGl0dGxl,size_16,color_FFFFFF,t_70\"\u003e\u003c/img\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliulilittle%2Fskylakenat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliulilittle%2Fskylakenat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliulilittle%2Fskylakenat/lists"}