symphero
Sorry, we encountered an error while displaying this content. If you're a user, please try again later. If you're an administrator, take a look in your Flarum log files for more information.
symphero
Michael,
What I've found when using redirect-gateway def1 is that the default route is not deleted (by design), and so any pre-existing connections remain open. It seems like this is only a partial solution for a non-split-tunnel VPN, because I could do something like this on my OpenVPN client system:
$ ssh remotebox -R 22:myvpnserver:22
Once the VPN connection is up, I would be able to make a port-forwarded connection from remotebox directly to myvpnserver, precisely what I should not be able to do. (I believe I validated those steps...but it was a while ago so I don't recall exactly how far I pursued it.)
I haven't noticed this issue happening recently. If it were, then the def1 option would be better than having everything open. But it would be ideal to have redirect-gateway work correctly without def1.