Hi
I have setup my Lan to 192.168.1.1/24
Router is on 192.168.1.1.
I have enabled an OpenVPN server that register clients to subnet 10.42.42.1/24.
I have also enabled an openVPN client outgoing connection out from my router (tun mode) and setup a policy route
192.168.1.1/24 0.0.0.0 VPN
192.168.1.1 0.0.0.0 WAN
To be able to connect over VPN to my router I need to keep the router IP routed over WAN using policy routing (above). Now from that follows that any clients connecting to the router VPN server (retrieving IP 10.42.42.x) are also routed out over WAN. Adding
10.42.42.1/24 0.0.0.0 VPN
does not help.
Is it possible to somehow make sure clients connecting to my network (10.42.42.x) can also benefit of getting their IPs hidden through the outgoing VPN tunnel?
I have setup my Lan to 192.168.1.1/24
Router is on 192.168.1.1.
I have enabled an OpenVPN server that register clients to subnet 10.42.42.1/24.
I have also enabled an openVPN client outgoing connection out from my router (tun mode) and setup a policy route
192.168.1.1/24 0.0.0.0 VPN
192.168.1.1 0.0.0.0 WAN
To be able to connect over VPN to my router I need to keep the router IP routed over WAN using policy routing (above). Now from that follows that any clients connecting to the router VPN server (retrieving IP 10.42.42.x) are also routed out over WAN. Adding
10.42.42.1/24 0.0.0.0 VPN
does not help.
Is it possible to somehow make sure clients connecting to my network (10.42.42.x) can also benefit of getting their IPs hidden through the outgoing VPN tunnel?
Last edited: