Back to Blog

بروكسي على Linode: دليل إعداد خطوة بخطوة

تتميز Linode (التي أصبحت الآن جزءاً من Akamai) بأدائها العالي للشبكة، مما يجعلها مثالية لاستضافة خوادم البروكسي التي تتطلب Bandwidth عالي.

استخدام StackScripts

توفر Linode ميزة رائعة تسمى StackScripts. يمكنك كتابة سكريبت يقوم بتثبيت وإعداد البروكسي تلقائياً عند إنشاء الخادم. هذا مفيد جداً إذا كنت تحتاج لنشر عشرات البروكسيات في مناطق مختلفة بسرعة.

إعداد Dante SOCKS5 Proxy

بدلاً من HTTP Proxy، سنقوم بإعداد SOCKS5 الذي يدعم بروتوكولات أكثر (مثل UDP):


# تثبيت Dante
sudo apt install dante-server

# تعديل التكوين /etc/danted.conf
logoutput: syslog
user.privileged: root
user.unprivileged: nobody

# السماح بالدخول من أي مكان (مع المصادقة)
client pass {
    from: 0.0.0.0/0 to: 0.0.0.0/0
    log: error connect disconnect
}
                    

حماية الخادم بـ Cloud Firewall

استخدم Linode Cloud Firewall المجاني لمنع أي اتصال بالمنفذ 22 (SSH) إلا من جهازك، والسماح بمنفذ البروكسي (1080) للمستخدمين المصرح لهم فقط.

Disclosure: we may earn a commission if you purchase through some links.

Services Related To This Article

These offers are related to privacy, password security, and development workflows. Replace the current links with your real affiliate links through environment variables.

Default Links Need Replacement

Proton

Privacy, mail, and VPN

A strong fit for privacy-focused visitors who want VPN and secure email under one brand.

Explore Proton

Surfshark

Consumer VPN

Best on pages about geo-blocking, privacy, and public Wi-Fi protection.

Try Surfshark

NordVPN

High-converting VPN

A clear offer for users who need a paid, more durable alternative to a free proxy.

View NordVPN

1Password

Password management

The best match for password, secrets, team access, and personal security pages.

Discover 1Password

DigitalOcean

Developer cloud hosting

A strong fit for proxy setup, server, and infrastructure content aimed at developers and small teams.

Start with DigitalOcean