XabiX
Occasional Visitor
Hello guys,
I recently bought an Asus RT-AC87U which I am very happy with. Running the latest Asuswrt (380.57) and installed 2 days ago.
My main reason to add a router instead of using the default triple play ADSL box was to setup a permanent VPN tunnel to my office and redirect only specific DNS entries through it.
My main issue is that it seems that only OpenConnect can connect to Cisco IPsec servers. In this case, I add to manually install this package from ssh which makes its configuration not integrated and as simple as the L2TP/P2TP or OpenVPN options in the Asuswrt GUI.
1/ Any reason why openconnect doesn't get added as a default option as Cisco is very popular and this will help the overall configuration with static routes, access to logs, etc...
Any trick to use the existing client to overcome the fact that openconnect is not part of the asuswrt features?
2/ I do: openconnect --no-cert-check --passwd-on-stdin -user=admin urlvpn.com
Even with a echo pwd "" | to script the connection doesn't work. If I remove "--passwd-on-stdin" I always need to re enter the login and the pwd for it to work (seems like the username passed on the cmd line is not correct then) so if I also remove "-user" then it works ok 1st time as I type directly the username and password. Any idea of the issue?
3/ The only way for me to move then fwd is to remove the default gw through the tunnel and put the LAN one back like with
route delete default
route add default gw 192.168.1.1 eth0
then I need to find the best way to redirect some urls through the tunnel (interface tun0). any recommendation ? so far I was entering the manual DNS entries in /jffs/configs/dnsmasq.conf.add and then I was thinking of adding a list of manual static routes but quite long as I have around 20 different URLs.
Thanks guys for taking the time to read and share your recommendations...
It's my 1st post as I am not yet an expert so happy to learn from you!
XabiX
I recently bought an Asus RT-AC87U which I am very happy with. Running the latest Asuswrt (380.57) and installed 2 days ago.
My main reason to add a router instead of using the default triple play ADSL box was to setup a permanent VPN tunnel to my office and redirect only specific DNS entries through it.
My main issue is that it seems that only OpenConnect can connect to Cisco IPsec servers. In this case, I add to manually install this package from ssh which makes its configuration not integrated and as simple as the L2TP/P2TP or OpenVPN options in the Asuswrt GUI.
1/ Any reason why openconnect doesn't get added as a default option as Cisco is very popular and this will help the overall configuration with static routes, access to logs, etc...
Any trick to use the existing client to overcome the fact that openconnect is not part of the asuswrt features?
2/ I do: openconnect --no-cert-check --passwd-on-stdin -user=admin urlvpn.com
Even with a echo pwd "" | to script the connection doesn't work. If I remove "--passwd-on-stdin" I always need to re enter the login and the pwd for it to work (seems like the username passed on the cmd line is not correct then) so if I also remove "-user" then it works ok 1st time as I type directly the username and password. Any idea of the issue?
3/ The only way for me to move then fwd is to remove the default gw through the tunnel and put the LAN one back like with
route delete default
route add default gw 192.168.1.1 eth0
then I need to find the best way to redirect some urls through the tunnel (interface tun0). any recommendation ? so far I was entering the manual DNS entries in /jffs/configs/dnsmasq.conf.add and then I was thinking of adding a list of manual static routes but quite long as I have around 20 different URLs.
Thanks guys for taking the time to read and share your recommendations...
It's my 1st post as I am not yet an expert so happy to learn from you!
XabiX