Works perfectly. Thank you!
Bonus question: If i occasionally want to change that one destination IP (or perhaps, if easier, add more exception IPs) without having to open the GUI, but preferrably run a script or something from my computer (debian). Is that possible?
I am running an OpenVPN client in my router. I want all traffic to go through the VPN, except traffic to/from one specific internet IP address. Can this be done in the OpenVPN client settings web GUI? If not, how?
Uh, maybe i spoke too soon. It's been running stable for days but of course right after i wrote this my main router's WAN connection has dropped three of times again already. Now I get "WAN Connection: ISP's DHCP did not function properly" again. I don't understand what's going on. Maybe my ISP...
Turns out my ISP wasn't glitching. It was the router. For some reason I wasn't able to get a stable WAN connection with my RT-AC86U (384.10_2) router. So i replaced it with a RT-AC66U B1 (stock 3.0.0.4.384_45708) and the WAN connection is now completely stable. (I don't know the reason. I think...
Confirmed server problem. Response: "Too many connection attempts [by other users, i guess], creating a long stack for our API servers (responsible for the sign in process) and higher process times. Request is dropped when processing time > timeout".
I did not expect that, as it was stable for...
@eibgrad
@Quoc Huynh
Unfortunately not. Same problem as before. Log file: https://pastebin.com/raw/es0CZfRJ
I verified again that the "persist-tun" line is in fact preceded by a # in
/tmp/etc/openvpn/client1/config.ovpn.
Could it be possible that the "Accept DNS Configuration" = Exclusive...
Thank you. My script had in fact not been running.
I've now fixed it by CHMOD'ing /jffs/scripts/openvpnclient1.postconf to 0777 and restarted the client.
The "persist-tun" line is now preceded by a # in /tmp/etc/openvpn/client1/config.ovpn. For the record, here's the complete file...
At least i didn't have to wait long. Failed after 20 minutes. Same problem as before (AUTH_FAILED -> auth-failure -> Error connecting - Authentication failed.).
This time i can confirm that the connection was not idle when it failed.
Log file: https://pastebin.com/raw/e1khDuRN
Suggestions...
I tried adding those. Didn't work (same problem as before).
The connection is not idle, at least not more than five minutes.
OK so now I've went to Advanced Settings, Administration, System and enabled "Enable JFFS custom scripts and configs". Then i saved...
Possibly, but I didn't get that error in the second log file i posted (Link to post). My connection is a fiber connection that is supposed to have pretty much 100% uptime, but I notice that my internet connection (outside my VPN) gets disconnected rather frequently (perhaps 1-5 times per week or...
I restarted the WAN by executing service restart_wan in putty (while the VPN connection was working). The VPN connection came back up automatically without my intervention. Log file: https://pastebin.com/raw/aCTUH38M
(I've previously also tried disconnecting the WAN cable etc. with the same result)
I used PuTTY to execute "killall -s SIGUSR1 openvpn" (while the VPN connection was fine). It recovered without issues. Here's the log file:
https://pastebin.com/raw/WmdDg27g