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
I can not find a proper setting to send all traffic over vpn.
try to change
push "route 10.8.0.0 255.255.255.0"
to
push "redirect-gateway"
in openvpn-data/conf/server.conf
restart container's
docker-compose restart
after that connect to openvpn container by id:
docker exec -ti you_openvpn_container_id bash
and add the following rule:
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
I can not find a proper setting to send all traffic over vpn.
The text was updated successfully, but these errors were encountered: