mirror of
https://github.com/adamwalach/openvpn-web-ui.git
synced 2026-04-25 12:56:47 +03:00
[GH-ISSUE #22] tic for forwarding internet usage. #17
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/openvpn-web-ui#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (May 15, 2019).
Original GitHub issue: https://github.com/adamwalach/openvpn-web-ui/issues/22
I can not find a proper setting to send all traffic over vpn.
@6ak5 commented on GitHub (Apr 2, 2020):
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
try connect to vpn