Hello
I want to route my vpn traffic over my home wan adress.
When i use push "redirect-gateway def1 bypass-dhcp" on my server config all traffic routes over my home network and when i check my public ip adress on my client it is my home ip but when i access a domain example.at in my webserver logs the ip adress is not my home wan ip adress but it is the wan adress of my clients network. How can i change this.
Route Vpn traffic over my home Wan Ip
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Apr 28, 2022 7:34 am
-
- OpenVpn Newbie
- Posts: 5
- Joined: Thu Apr 28, 2022 7:34 am
Re: Route Vpn traffic over my home Wan Ip
Solved the problem. route example.at 255.255.255.255 vpn_gateway must be in the client config, not in the server config
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Route Vpn traffic over my home Wan Ip
You can optionally --push that from the server.