[新NEW]多路由組指定出口|Multi Routing Profile Management Print

  • 6

本指南介紹如何使用自動化腳本為您的伺服器IP指定出口路由。此腳本將為伺服器上的每個IP創建獨立的路由規則,確保流量從其源IP地址送出。這對於擁有多個IP並需要分離流量路徑的場景非常有用。

以 root 身份登入您的伺服器,然後執行以下單行指令即可完成所有設定:.

wget files.leikwanhost.com/dual-route.sh && chmod +x dual-route.sh && bash dual-route.sh

下次運行僅需:

bash dual-route.sh 

即可. 

 

This guide explains how to use an automated script to assign specific outbound routes for your server's IPs. The script creates separate routing rules for each IP on the server, ensuring traffic exits from its source IP address. This is useful for scenarios with multiple IPs where traffic paths need to be segregated.

Log in to your server as the root user and run the following single command to complete the setup:

wget files.leikwanhost.com/dual-route.sh && chmod +x dual-route.sh && bash dual-route.sh

This command will automatically download, grant permissions to, and execute the script. The new routing configuration will take effect immediately.


Was this answer helpful?

« Back