3 ms·
>If OpenVPN drops its connection, it will fallback to sending packets normally! // This seems to be a bug in network setups - surely it's highly desirable to b
by pbhjpbhj 13y ago
>If OpenVPN drops its connection, it will fallback to sending packets normally! //
This seems to be a bug in network setups - surely it's highly desirable to be able to control which route traffic takes and whether fallback to a different connection occurs or not.
- chrismonsanto 13y agoOn Debian 6, the default behavior is to do this. I remember searching high and low at the time to change the behavior, and couldn't figure out how. If you Google around, a lot of other people seem to have trouble with this as well--there are a lot of tutorials for how to setup iptables to block OpenVPN fallback on dd-wrt and Tomato, for example. I'd love to be proved wrong though!
- Wilya 13y agoThe problem is mostly that Openvpn is responsible for setting up the routes that forward all traffic through the tunnel when it starts, and to remove them when it's done. Openvpn only secures your traffic when it's running. When it somehow quits, you're on your own. My experience is that when it merely loses the connection, Openvpn will try to reconnect, and in the meantime you have no internet. It won't fallback. But sometimes, when the problem is more serious, the openvpn daemon can quit and then it becomes dangerous.