Posader
08-01-2005, 20:55
Hi everyone!
This forum is a great storage for valuable experience and information, and I used to take advantage of it for quite a while already. However now it is time to beg for your help because I am really stuck. :( Here's my story...
I bought a WL500g thing quite a time ago and configured it the way it served as a simple gateway to my tiny home network. My ISP provides me with Internet access through VPN (NT server with MSCHAP+MPPE). And since the ASUS thing lacks support for this kind of PPTP connection I had to access the Inet from one computer at a time (my ISP blocks more than one VPN connection from the same IP). To make things worse, I had very weak experience with *nix systems, so I just waited for a suitable firmware from the ASUS guys, which I hoped had been planned for sure. Communications with them shed no light to when the problem with VPN would be fixed. I downloaded the sources and planned to dig into the code when I have enough time.
Then I discovered this site and found out that there was really no support for MSCHAP and MPPE/MPPC. I added MS VirtualPC to my XP box and installed the KNOPPIX 3.7 distribution (btw, VMWare sucked at that point as I tried it first). I installed the latest sources from ASUS (1.9.2.7) and patched it with Oleg's custom sources (1.9.2.7-2) (Oleg, great job!!!). Close inspection revealed absence of so badly required MSCHAP+MPPE/MPPC, so the latest PPPD with all that stuff was added. Kernel and PPPD patches (which add MPPE/MPPC support) were also installed.
Once compiled and uploaded, this custom stuff in fact established a connection with my provider, and I was able to PING everyone around the Inet side from the router shell session. But I was not able to connect to Internet sites from my XP box (internal network). I even put "1" to ip_forward and re-built the kernel with advanced routing turned on. Nothing changed. IPTABLES were flushed, and ACCEPT any/any/any rules were inserted in all chains (both filtering and mangle tables - I just had no idea what else to do). This also had no success. The routing table was modified by PPPD automatically.
So now I am stuck with the following configuration:
1. ASUS running a working VPN connection at ppp0. I can browse Internet sites from my ASUS box.
2. XP box located in internel LAN (connected directly to LAN1 port) - br0.
What I can do:
1. Telnet to ASUS from XP box.
2. PING and connect to servers located in WAN (eth1) (my neighbours) from XP box.
3. Establish a VPN connection from the ASUS with my ISP's VPN server (which is also in WAN).
4. Connect to sites in Internet via ppp0 from within ASUS (in telnet session, for instance).
5. But I cannot connect to Internet sites (by their IP addresses) from my XP box - packets just get lost somewhere.
6. I can ping ASUS' external ppp0 IP address from XP. But I cannot ping the ppp0 gateway (ISP's server through ppp0) from XP.
I know that packets get lost somewhere in the ASUS. The routing table is OK, IPTABLES accept everything. And I just have no idea what to check next... (thinking of libpcap and tcpdump :((() :( I am not a Linux guy.
Guys, I am not asking to solve my problem, just give me a hint... Please...
This forum is a great storage for valuable experience and information, and I used to take advantage of it for quite a while already. However now it is time to beg for your help because I am really stuck. :( Here's my story...
I bought a WL500g thing quite a time ago and configured it the way it served as a simple gateway to my tiny home network. My ISP provides me with Internet access through VPN (NT server with MSCHAP+MPPE). And since the ASUS thing lacks support for this kind of PPTP connection I had to access the Inet from one computer at a time (my ISP blocks more than one VPN connection from the same IP). To make things worse, I had very weak experience with *nix systems, so I just waited for a suitable firmware from the ASUS guys, which I hoped had been planned for sure. Communications with them shed no light to when the problem with VPN would be fixed. I downloaded the sources and planned to dig into the code when I have enough time.
Then I discovered this site and found out that there was really no support for MSCHAP and MPPE/MPPC. I added MS VirtualPC to my XP box and installed the KNOPPIX 3.7 distribution (btw, VMWare sucked at that point as I tried it first). I installed the latest sources from ASUS (1.9.2.7) and patched it with Oleg's custom sources (1.9.2.7-2) (Oleg, great job!!!). Close inspection revealed absence of so badly required MSCHAP+MPPE/MPPC, so the latest PPPD with all that stuff was added. Kernel and PPPD patches (which add MPPE/MPPC support) were also installed.
Once compiled and uploaded, this custom stuff in fact established a connection with my provider, and I was able to PING everyone around the Inet side from the router shell session. But I was not able to connect to Internet sites from my XP box (internal network). I even put "1" to ip_forward and re-built the kernel with advanced routing turned on. Nothing changed. IPTABLES were flushed, and ACCEPT any/any/any rules were inserted in all chains (both filtering and mangle tables - I just had no idea what else to do). This also had no success. The routing table was modified by PPPD automatically.
So now I am stuck with the following configuration:
1. ASUS running a working VPN connection at ppp0. I can browse Internet sites from my ASUS box.
2. XP box located in internel LAN (connected directly to LAN1 port) - br0.
What I can do:
1. Telnet to ASUS from XP box.
2. PING and connect to servers located in WAN (eth1) (my neighbours) from XP box.
3. Establish a VPN connection from the ASUS with my ISP's VPN server (which is also in WAN).
4. Connect to sites in Internet via ppp0 from within ASUS (in telnet session, for instance).
5. But I cannot connect to Internet sites (by their IP addresses) from my XP box - packets just get lost somewhere.
6. I can ping ASUS' external ppp0 IP address from XP. But I cannot ping the ppp0 gateway (ISP's server through ppp0) from XP.
I know that packets get lost somewhere in the ASUS. The routing table is OK, IPTABLES accept everything. And I just have no idea what to check next... (thinking of libpcap and tcpdump :((() :( I am not a Linux guy.
Guys, I am not asking to solve my problem, just give me a hint... Please...