Then follow the apt-repository installation method. Launch an Ubuntu 14.04 instance with a pv-grub AKI. This needs to run a MultiPath TCP kernel. It’s job is to service the socks connections patching them to the real destination. DestinationĪ destination server is remote end of our socks tunnel. Replace the tun0 and eth0 to suit your environment. Iptables -t filter -A FORWARD -o tun0 -j ACCEPT Iptables -t filter -A FORWARD -i tun0 -j ACCEPT Iptables rules needed :- iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE In fact almost all boxes in the setup need this. _forward needs to be set to 1 to allow forwarding. Its important to configure each jumpbox to use a different IP range. This is not really that crucial, but it keeps things simple. In my current setup I need to ensure that the server assigns the same IP to my client. It’s role is to provide additional gateways which MPTCP uses to build additional paths. All paths need to be congested for me to have a bad day… Also some path might have good uplink, some might have good downlink, with MPTCP you mix the best of both…Įxample bmon stats when downloading a large file (I removed irreverent interfaces.) Now my available bandwidth is not impacted by congestion over some of these paths. Packets are sent over paths that currently have the lowest delay. MPTCP kernel creates a TCP connection over each available path and bonds them together and exposes it as a single TCP connection to the application. APU True ADSL Directly EC2ĪPU True ADSL Directly over OpenVPN/UDP EC2ĪPU True ADSL via CAT VPS over OpenVPN/UDP EC2ĪPU True ADSL via DO Singapore over OpenVPN/UDP EC2ĪPU Dtac 3G Directly EC2 (Optional/ondemand) This socks connection has several ways to communicate with the EC2 instance. I typically use it to get a boost in my upload bandwidth which is generally 100 kbps to 8 mbps.Īll TCP Traffic is intercepted by the APU using iptables, diverted to redsocks, which sends it to the shadowsocks client, which sends it to the shadowsocks server running in EC2 Singapore.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |