Hey there,
I have got the following problem:
I have got an OpenVPN server on the internet (hosted by my self - changes are possible) and successfully connected my router (ASUS RT-AC87U, asuswrt-merlin 384.13_10 ) as a client. Furthermore, I connected my phone as a client. Now I want to connect to Raspberry Pi in my local network.
local network: 192.168.1.0
vpn network: 192.168.255.0
I do not want to route any traffic from local network through vpn, except route back a vpn client which is connecting to a local device.
I tried to connect from my phone 192.168.255.60 to a local device 192.168.1.4. I configured the router as follows:
I also configured my OpenVPN server:
file ccd/asus :
I added the following lines to openvpn.conf :
as per https://openvpn.net/community-resou...chines-on-either-the-client-or-server-subnet/
I can see the following in the logs:
Clients are able to communicate within 192.168.255.0 (ping works), but not between the two subnets.
Could someone tell me what I configured wrong?
I already asked this question in a german forum, but without helpful answer: https://www.router-forum.de/asus/router-als-openvpn-client-routing-ins-interne-netzwerk.t73445/
Thank you!
I have got the following problem:
I have got an OpenVPN server on the internet (hosted by my self - changes are possible) and successfully connected my router (ASUS RT-AC87U, asuswrt-merlin 384.13_10 ) as a client. Furthermore, I connected my phone as a client. Now I want to connect to Raspberry Pi in my local network.
local network: 192.168.1.0
vpn network: 192.168.255.0
I do not want to route any traffic from local network through vpn, except route back a vpn client which is connecting to a local device.
I tried to connect from my phone 192.168.255.60 to a local device 192.168.1.4. I configured the router as follows:
I also configured my OpenVPN server:
file ccd/asus :
Code:
iroute 192.168.1.0 255.255.255.0
I added the following lines to openvpn.conf :
Code:
######## allow client communication
route 192.168.1.0 255.255.255.0
client-config-dir ccd
client-to-client
push "route 192.168.1.0 255.255.255.0"
as per https://openvpn.net/community-resou...chines-on-either-the-client-or-server-subnet/
I can see the following in the logs:
Code:
vpn_1 | Sat Jan 2 00:02:52 2021 MULTI: Learn: 192.168.1.4 -> asus/86.56.76.92:58617
vpn_1 | Sat Jan 2 00:07:42 2021 rpi/86.56.76.92:58087 MULTI: Learn: 192.168.1.4 -> asus/86.56.76.92:58617
Clients are able to communicate within 192.168.255.0 (ping works), but not between the two subnets.
Could someone tell me what I configured wrong?
I already asked this question in a german forum, but without helpful answer: https://www.router-forum.de/asus/router-als-openvpn-client-routing-ins-interne-netzwerk.t73445/
Thank you!