Connect multiple ADSL lines using a LINUX proxy server
Summary:I am currently using two dial-up ADSL connections on an RH8 using load balancing, which allows me to use both ADSL connections simultaneously. However…
This book is available as an e-book in EPUB format
PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email
Email: shuxueha@outlook.com
PayPal: https://paypal.me/zhipinglei
You can also scan the PayPal QR code below to sponsor
You can also purchase this book on Amazon: click to enter the Amazon official website
I am currently using two dial-up ADSL connections on an RH8 using load balancing, which allows me to use both ADSL connections simultaneously. However, the bandwidth does not allow for the binding of two 1M connections to 2M connections. Instead, it allows customers to drive more machines while using it. I don't know why? Also, sometimes only one is in use, sometimes two are in use, and the reason for this is unknown? Let me explain the method I am currently using for your reference:
1. When configuring ADSL, ADSL-SETUP was still used, but it was configured twice with different interfaces of ETH0 and ETH1. Then, the PID item in the configuration of ifcfg-ppp0 was changed to ADSL1.pid, and the other was ADSL.pid; The dynamic DNS update and default routing change functions were not used during configuration;
2. Start ADSL: ifup ppp0
ifup ppp1
3. Add default route load balancing, and remove it if it was previously the default route
ip route add default equalize nexthop dev ppp0 via 172.1.1.1 weight 1 onlink nexthop dev ppp1 via 172.1.1.1 weight 1 onlink
4. Using NAT
iptables -t nat -A POSTROUTING -j MASQUERADE
After three steps of setup, the client can access the internet and can see the working lights of two ADSL MODEMs flashing continuously, indicating that they are working. Additionally, TCPDUMP is used to monitor PPP0 and PPP1, and data is being transmitted.
| High-speed VPN | Fast VPN | Preferred Accelerator VPN | Reliable VPN |
| High quality VPN | Old fashioned VPN | Stable VPN(Recommend) | Smooth VPN |

