When I configured openvpn server (merlin and john's fork) using the default subnet of 10.8.0.0/24, I found I was unable to reach LAN clients (192.168.0.0/24) from a vpn client.
Using another subnet in the vpnserver details webpage, such as 10.1.0.0/24 (or any 192.168.X.0/24 network other than the existing LAN), solved this for me.
Having changed the subnet from the default then saving, I noticed values (not exposed in the web UI) that refer to 10.8. addresses:
vpn_server_local=10.8.0.1
vpn_server1_local=10.8.0.1
vpn_server1_remote=10.8.0.2
vpn_client1_remote=10.8.0.1
vpn_client1_local=10.8.0.2
vpn_server_remote=10.8.0.2
I'm a long way from understanding how the firmware achieves what it does but I would like to understand better.
I'm confused as to why the default 10.8.0.0 vpn_server1 subnet appears to 'overlap' vpn_client1 config values above. Same goes for server2 vs client2.
Also, when I change vpn_server1 subnet, why the values above remain unmodified?
I notice that 10.8.0.0 addresses are used extensively and don't understand why/how they co-exist in various places!
All I know, from experiment, was that moving vpnserver subnet from the default 10.8.0.0/24 allowed clients to reach the LAN beyond the router.
Any insight/tuition would be appreciated!
Many thanks.
Using another subnet in the vpnserver details webpage, such as 10.1.0.0/24 (or any 192.168.X.0/24 network other than the existing LAN), solved this for me.
Having changed the subnet from the default then saving, I noticed values (not exposed in the web UI) that refer to 10.8. addresses:
vpn_server_local=10.8.0.1
vpn_server1_local=10.8.0.1
vpn_server1_remote=10.8.0.2
vpn_client1_remote=10.8.0.1
vpn_client1_local=10.8.0.2
vpn_server_remote=10.8.0.2
I'm a long way from understanding how the firmware achieves what it does but I would like to understand better.
I'm confused as to why the default 10.8.0.0 vpn_server1 subnet appears to 'overlap' vpn_client1 config values above. Same goes for server2 vs client2.
Also, when I change vpn_server1 subnet, why the values above remain unmodified?
I notice that 10.8.0.0 addresses are used extensively and don't understand why/how they co-exist in various places!
All I know, from experiment, was that moving vpnserver subnet from the default 10.8.0.0/24 allowed clients to reach the LAN beyond the router.
Any insight/tuition would be appreciated!
Many thanks.