GREAT:D
so what was the problem exactly?
Printable View
The previous problem was due to incorrectly added iptable rules
But now I Just found out that my configuration wasn't working perfectly. After a vpn connection, my wan interface on the router is screwed. DNS no longer works. I have to reboot the router to get it back to normal through ssh remotely. Further investigation found that a default route to the ppp0 interface was added somehow when the vpn connection was made. The resolv.conf was also cleared. It is probably done by the default pppd configuration used for wan pppoe connection. Anyone has clue how to correct this problem?
Ah... found out that the /tmp/ppp/ip-up is called automatically by pppd.
I removed this symbolic linked script and now everything seems to work as expected...
It's lucky that I don't need pppoe otherwise this won't work...
I found the following configuration can be added to the options.pptpd to override the default ip-up/ip-down script path, so that it won't interfere with the same default script under /tmp/ppp for pppoe.
ip-up-script /opt/etc/ppp/ip-up
ip-down-script /opt/etc/ppp/ip-down
Somebody can try to compile PopTop 1.3.4 for kernel 2.6 (RT-N thread) ?
PopTop 1.2.1 don't work on RT-N16(RT-N16-1.9.2.7-rtn-r1543)
In advance many thanks.
here you go: http://rapidshare.com/files/38574386...d-1.3.2.tar.gz
it's compiled with the cross compiler, so it should even be able to run without optware:)
Yes! Yes! Yes! it work! Thanks!