Sunke Media Affiliates Marketing Domains Marketing Webhosting Contact Us

hy2-s5-3xui--iptables--windows-lanch

安装 Hysteria2:

hysteria2 纯净版一键安装 -Debian --X86---

wget -N --no-check-certificate https://raw.githubusercontent.com/flame1ce/hysteria2-install/main/hysteria2-install-main/hy2/hysteria.sh && bash hysteria.sh

Windows  Nekoray Box : https://github.com/MatsuriDayo/nekoray/releases/tag/3.26

一键自动部署的socks5 脚本 ,自动配置好

#!/bin/bash
bash <(curl -sL https://hosting.sunke.info/files/ss5.sh)

端口8888

账号8888

密码8888

一键自动部署的X-ui脚本 ,自动配置好

#!/bin/bash
bash <(curl -Ls https://hosting.sunke.info/files/3x-ui-install.sh)

admin
admin123
65432



使用以下脚本进行简单的 iptables 转发:


bash <(curl -fsSL https://raw.githubusercontent.com/arloor/iptablesUtils/master/natcfg.sh)


==============windows lanch scrpt==========================

<powershell>
  net user user Pass123@ /add
  net localgroup administrators user /add
   net user sunke Pass123@ /add
  net localgroup administrators sunke /add
  wmic UserAccount where "Name='user'" set PasswordExpires=FALSE
  wmic UserAccount where "Name='sunke'" set PasswordExpires=FALSE
  wmic UserAccount where "Name='Administrator'" set PasswordExpires=FALSE
$ports = @(80, 2200, 33899)
foreach ($port in $ports) {
    # 开启 TCP 入站规则
    New-NetFirewallRule -DisplayName "TCP Inbound $port" -Direction Inbound -Action Allow -Protocol TCP -LocalPort $port
    # 开启 TCP 出站规则
    New-NetFirewallRule -DisplayName "TCP Outbound $port" -Direction Outbound -Action Allow -Protocol TCP -RemotePort $port
}
$Path = $env:TEMP;
$Installer = "chrome_installer.exe";
Invoke-WebRequest "http://dl.google.com/chrome/install/375.126/chrome_installer.exe" -OutFile $Path\$Installer;
Start-Process -FilePath $Path\$Installer -Args "/silent /install" -Verb RunAs -Wait;
Remove-Item $Path\$Installer
</powershell>
<powershellArguments>-ExecutionPolicy Unrestricted -NoProfile -NonInteractive</powershellArguments>