Community discussions

MikroTik App
 
bhismatimsina
just joined
Topic Author
Posts: 1
Joined: Fri May 20, 2022 3:51 pm

How to Portfordward from pptp vpn??

Fri May 20, 2022 3:59 pm

I have mikrotik Hap lite i want to fordward port from pptp ip adrees
mikrotik ip :103.75.48.238
ip pool :172.16.30.0/24
i have connect a pptp from another network and i get 172.16.30.44 as ip
i have started a apache2 server with port number 5555 in pptp connected device
i want to fordward port 5555 to mikrotik
and i have to aceess the apache with 103.75.48.238:5555 how to solve please help
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: How to Portfordward from pptp vpn??

Mon May 23, 2022 2:45 am

Easy way, use srcnat/masquerade for connections forwarded to client. It will change source to router's (VPN server's) address, so client will be sending responses back to there, instead of using own internet connection. Downside is that client won't be able to see original source addresses.

Hard(er) way, configure client to route responses back the same way from where requests came. Depends on client's capabilities, not all are able to do it.

Who is online

Users browsing this forum: Amazon [Bot], jamesperks, popecix, xristostsilis and 70 guests