ResumeNothing
New Around Here
I'm trying to run OpenConnect client on an ASUS RT-AC68P router. I've flashed the router with Asuswrt-Merlin, installed Entware-ng on a USB drive, and installed OpenConnect and all of the other relevant packages.
After replacing the symlinked /etc/resolv.conf file with a non-read-only duplicate, I'm able to get the OpenConnect client running, but it doesn't actually work, that is, all of the sites I go to report the IP address from my ISP instead of the one from my VPN provider. If I run OpenConnect with identical options directly on my mac instead (prepended with sudo), it works fine and all sites show the IP from my VPN provider.
Comparing the output of the command with -v between the two, there aren't a whole lot of differences. One thing I've noticed is that the router usually outputs this line at some point:
TCP_INFO rcv mss 1258, snd mss 1448, adv mss 1448, pmtu 1500
I say usually because if I set the --mtu and --base-mtu options to various values, I can sometimes get this line to go away, though it still doesn't seem to work. Often the mtu values seem different from what I'm getting on the mac side, but I can make them the same with these options to no avail.
The other difference is that at the very end, the mac outputs these lines:
add host xxx.xx.xx.xxx: gateway 192.168.1.1
add net yy.yy.0.0: gateway yy.yy.zzz.zzz
delete net default: gateway 192.168.1.1
add net default: gateway yy.yy.zzz.zzz
xxx.xx.xx.xxx is the IP of the VPN server I'm connecting to and what my IP resolves as if I connect successfully. yy.yy.zzz.zzz is listed as the X-CSTP-Address and again in this output:
Connected as yy.yy.zzz.zzz, using SSL + lzs
The router doesn't output these four lines, though it does output the "Connected as..." line. Changes to "ip route" output before and after connecting seem similar on the mac and router.
I've been scouring the internet for clues as to why it isn't working, but I haven't found anything that's helped. OpenConnect seems like it could be much faster than L2TP or OpenVPN (I can get 150mbps down on the mac, but only 30 and 15 down on the router for L2TP and OpenVPN respectively).
Any help is appreciated!
After replacing the symlinked /etc/resolv.conf file with a non-read-only duplicate, I'm able to get the OpenConnect client running, but it doesn't actually work, that is, all of the sites I go to report the IP address from my ISP instead of the one from my VPN provider. If I run OpenConnect with identical options directly on my mac instead (prepended with sudo), it works fine and all sites show the IP from my VPN provider.
Comparing the output of the command with -v between the two, there aren't a whole lot of differences. One thing I've noticed is that the router usually outputs this line at some point:
TCP_INFO rcv mss 1258, snd mss 1448, adv mss 1448, pmtu 1500
I say usually because if I set the --mtu and --base-mtu options to various values, I can sometimes get this line to go away, though it still doesn't seem to work. Often the mtu values seem different from what I'm getting on the mac side, but I can make them the same with these options to no avail.
The other difference is that at the very end, the mac outputs these lines:
add host xxx.xx.xx.xxx: gateway 192.168.1.1
add net yy.yy.0.0: gateway yy.yy.zzz.zzz
delete net default: gateway 192.168.1.1
add net default: gateway yy.yy.zzz.zzz
xxx.xx.xx.xxx is the IP of the VPN server I'm connecting to and what my IP resolves as if I connect successfully. yy.yy.zzz.zzz is listed as the X-CSTP-Address and again in this output:
Connected as yy.yy.zzz.zzz, using SSL + lzs
The router doesn't output these four lines, though it does output the "Connected as..." line. Changes to "ip route" output before and after connecting seem similar on the mac and router.
I've been scouring the internet for clues as to why it isn't working, but I haven't found anything that's helped. OpenConnect seems like it could be much faster than L2TP or OpenVPN (I can get 150mbps down on the mac, but only 30 and 15 down on the router for L2TP and OpenVPN respectively).
Any help is appreciated!