HI, i’m having troubles configuring pptp conection on two mikrotiks.
here’s what i need.
i have two rb 750, on two locations, everything works fine, except this.
router 1:
wan ip: static/dynamic.
lan ip: 192.168.0.206/24
pptp server.
router 2:
wan ip:dynamic/dynamic
lan ip: 192.168.0.232
pptp client.
here is the question, router 1 is located where i’m working, on ip let’s say 192.168.0.254 (server 1) i have a server that it should connect to another server that is located where is router 2, this server is on ip 192.168.0.22 (server 2).
both servers should connect to a database.
now, let’s assume that i can configure an static ip to the pptp client.
how can i mark the way on router 2 to reach server 1, it should go on the pptp client ip, and router 1 to reach server 2.
i thought on adding a static route, but i get error.
is this possible?
i saw many scenarios, but all of them was on two different lan’s, disease i don’t want to all pc’s on router 2 reach router 1, only servers.
thank you.
Once you have sorted out the subnet issue note below:
If you have previously configured your forward chains correctly then they are probably only allowing outbound new connections from the LAN to the WAN and established and related connections inbound from the WAN to the LAN while dropping everything else.
That would mean that even if you establish the PPTP link and even if there are relevant entries in the routing table for the PPTP links the forward chain will not forward that traffic until you let it.
By adding forward chain rules which restrict which IPs at either end can use the PPTP tunnel you can easily restrict access as you desire.
Thanks, i understand what you’re saying.
one last question.
i could make a route to connect two ip’s from both sides.
192.168.0.254 — 192.168.0.175
192.168.0.175 — 192.168.0.254
if i send a ping form a new terminal on each mikrotik, this machines answer to the request.
but if i send ping from a machine (other on lan), none of the ip’s answer.
what can it be?.