Esta receta permite realizar un tunel ip ppp GRE a través del router adsl para acelerar la conexión y poder realizar más conexiones TCP de las que el router permite. This recipe allows you to bypass your thomson SpeedTouch 510 Nat mechanisms speeding up your internet connection doing work on the host instead of the router. Also allows more than 300/400 concurrent tcp connections which seem to be the limit the adsl router can handle. This limit is easily hit with p2p programs for example. 1. Activar redirección pppoa - pptp Activate pppoa - pptp redirection ************************************** =>ppp [ppp]=> [ppp]=>iflist pppoa: dest : pppoa Retry : 10 QoS default encaps VC-MUX mode = IP routing flags = echo magic accomp restart mru addr route savepwd PPPOA trans addr = pat mru = 1500 route = 192.168.0.128/1 - 0.0.0.0/0 (metric 1) user name = xxx@xxxxx password = ******** admin state = up oper state = down link state = retrying LCP : state = stopped retransm = 10 term. reason = IPCP: state = initial retransm = 0 term. reason = [ppp]=>flush [ppp]=>iflist [ppp]=>.. => =>pptp [pptp]=> [pptp]=>profadd name=wanadoo [pptp]=>proflist Profile QoS Encaps AC wanadoo default vcmux never [pptp]=> 2. Conectar desde nuestra caja Connect from our box ******************************* pptp 192.168.0.1 user xxx@xxxxxx password xxxx +chap noauth lcp-max-configure 100 defaultroute nebula:/home/piotr# dpkg -l | grep pptp ii pptp-linux 1.3.1-1 Point-to-Point Tunneling Protocol (PPTP) Cli nebula:/home/piotr# ppp0 Link encap:Point-to-Point Protocol inet addr:62.174.241.30 P-t-P:62.81.124.244 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:283 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:16689 (16.2 KiB) TX bytes:61 (61.0 b) 3. Añadir ruta por defecto Add default gateway *************************** ip route add default via 62.81.124.244