Community discussions

MikroTik App
 
jeremiedigre
just joined
Topic Author
Posts: 4
Joined: Thu Feb 21, 2019 9:33 am

Public ip port forward through pptp vpn

Wed Feb 27, 2019 4:05 pm

Hello everyone. please, I have a preocupation, i'm a beginner with Mikrotik.
I have set a pptp vpn between two sites A (192.168.2.0) and B (192.168.1.0) which works very well,
but I want to go through the internet to reach a machine from my local site, ie network B, as ip public: port -> pptp vpn --> local network machine.
for example 156.202.X.X:8963 -> pptp vpn --> 192.168.1.32:80
I tried many indications without success. thanks for the help.
My routers are RB2011UiAS-2HnD
 
Sarel0092
newbie
Posts: 48
Joined: Tue Aug 07, 2018 8:25 am

Re: Public ip port forward through pptp vpn

Tue Mar 05, 2019 4:22 pm

Can you ping the PC you want to access from the MikroTik router on site A?

If you can then you should just have to setup port forwarding as follow:

/ip firewall nat
add chain=dst-nat in-interface=<wan interface> protocol=<tcp or udp> dst-port=<port> action=dst-nat to-addresses=<remote pc> to-ports=<remote pc port>
 
jeremiedigre
just joined
Topic Author
Posts: 4
Joined: Thu Feb 21, 2019 9:33 am

Re: Public ip port forward through pptp vpn

Wed Mar 13, 2019 11:50 am

Hello Sarel0092,
thanks for your responding and sorry for the delay. Yes, each machine ping other, and i have already done this configuration, your configuration, but still not working.. :-(
Please help, thanks!