添加对域名的端口转发支持

This commit is contained in:
George Tse 2025-03-23 00:43:00 +08:00 committed by GitHub
parent bf3fe47657
commit c0372df40f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -204,8 +204,8 @@ config_socat(){
echo -e "${Green}请选择转发类型:${Font}" echo -e "${Green}请选择转发类型:${Font}"
echo "1. IPv4 端口转发" echo "1. IPv4 端口转发"
echo "2. IPv6 端口转发" echo "2. IPv6 端口转发"
echo "3. 域名(DDNS) 端口转发 (IPv4优先)" echo "3. IPv4 域名(DDNS)端口转发"
echo "4. 域名(DDNS) 端口转发 (IPv6优先)" echo "4. IPv6 域名(DDNS)端口转发"
read -p "请输入选项 [1-4]: " ip_version read -p "请输入选项 [1-4]: " ip_version
if [ "$ip_version" == "2" ] || [ "$ip_version" == "4" ]; then if [ "$ip_version" == "2" ] || [ "$ip_version" == "4" ]; then