Community discussions

MikroTik App
 
mbghost
just joined
Topic Author
Posts: 14
Joined: Wed Dec 08, 2021 4:10 pm

PPP secret

Sun Jul 03, 2022 10:41 pm

Good afternoon! I want to set up Openvpn in Mikrotik, but I can’t understand one thing in ppp secret, I want everyone to be able to connect to the VPN, in which case what IP address should I specify in the Local address and Remote address, if for example: LAN- 192.168.100.0/24 , WAN-172.16.16.0/24, VPN-192.168.99.0/24
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

Re: PPP secret  [SOLVED]

Sun Jul 03, 2022 11:08 pm

If you have in mind that all the users should use a single common username and password and nevertheless multiple such users should be able to connect, create a range of addresses from which the client address will be assigned under /ip pool, and then set the remote-address on the /ppp secret row to the name of that pool. The local-address may be any of the existing addresses (LAN, WAN) of the router itself or even a totally unrelated one, it will be assigned to the virtual interface created on the server and representing the local end of the tunnel to the client once the tunnel establishes.

Who is online

Users browsing this forum: getfeus, GoogleOther [Bot], worm and 63 guests