You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting the default route option (redirect-gateway def1) in client-side to redirect all traffic over the VPN it stays connected but nothing passes through even simple ping request.
And it fixed by adding masquerade rule inside openvpn container
Setting the default route option (
redirect-gateway def1
) in client-side to redirect all traffic over the VPN it stays connected but nothing passes through even simple ping request.And it fixed by adding masquerade rule inside openvpn container
docker exec -it openvpn /bin/bash
iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 172.16.0.0/12 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -j MASQUERADE
The text was updated successfully, but these errors were encountered: