client access to one IP of OpenVPN servers WAN

Need help configuring your VPN? Just post here and you'll get that help.

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.
Post Reply
Roosty
OpenVpn Newbie
Posts: 3
Joined: Sat Aug 05, 2017 9:17 pm

client access to one IP of OpenVPN servers WAN

Post by Roosty » Thu Oct 31, 2019 2:11 pm

Hello

I need some help ragarding routing.
In my configuration the clients should access one IP on the WAN port of the OpenVPN server.
The idea behind is to access the GUI of Fritzbox connected on the WAN port.
Of course I could route the whole internet traffic through the VPN with push "redirect-gateway def1" this works but
I just want only one IP (10.10.10.1) to be routed.
Can this be done using routing table?

Config is :

Fritzboxconnected on WAN port: 10.10.10.1 (should be accessable by clinet)
Router/OpenVPN server WAN IP: 10.10.10.10
Router/OpenVPN server LAN: 10.10.1.0 /255.255.255.0
Router OpenVPN subnet 10.10.0.0/255.255.255.0
OpenVPN client LAN 10.10.2.0/255.255.255.0

Roosty
OpenVpn Newbie
Posts: 3
Joined: Sat Aug 05, 2017 9:17 pm

Re: client access to one IP of OpenVPN servers WAN

Post by Roosty » Sun Nov 10, 2019 11:14 am

No one who can help?

Post Reply