Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

VPN on the same IP range

$
0
0

Hello. Fairly new to this level of networking detail. I have been able to set up a L2TP VPN successfully to do what I need. I am using MacOS and iOS as clients. Everything works fine with the VPN (when I am at work, on a cellular network, etc.) except at one house I am in currently. I believe it is due to the local router handing out 192.168.1.x addresses (a Netgear) and my IP range on my ER-POE5 is also 192.168.1.x which is confusing my MacOS and iOS VPN clients when I try to access LAN resources over the VPN (I cannot connect to the ER-POE5 GUI config page, local network cameras I have installed, etc.).

 

Is this just a case of "I have to change my ER-POE5 IP range to something more obcsure than the standard 192.168.x.x" or is there another approach I can take with my VPN setup to get this to work better?

 

 

ipsec {
     auto-firewall-nat-exclude enable
     ipsec-interfaces {
         interface eth0
     }
     nat-networks {
         allowed-network 192.168.1.1/24 {
         }
     }
     nat-traversal enable
}
l2tp {
     remote-access {
         authentication {
             local-users {
                 username <redacted> {
                     password <redacted>
                 }
                 username <redacted> {
                     password <redacted>
                 }
             }
             mode local
         }
         client-ip-pool {
             start 192.168.1.200
             stop 192.168.1.205
         }
         dhcp-interface eth0
         dns-servers {
             server-1 8.8.8.8
             server-2 8.8.4.4
         }
         ipsec-settings {
             authentication {
                 mode pre-shared-secret
                 pre-shared-secret <redacted>
             }
             ike-lifetime 3600
         }
     }
}

 


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>