Community discussions

MikroTik App
 
madmouse
just joined
Topic Author
Posts: 5
Joined: Sat Oct 23, 2010 11:18 am

PPTP Server NAT Masquerade how to set out interface

Sat Dec 07, 2013 12:15 am

hi,

Have a issue where the PPTP server successfully connect the client and create a dynamic interface e.g. name <pptp-in1> type PPTP Server binding

I need to masquerade from the network on the server side to the network on the client side,

if i add a Firewall NAT rule manually like:

chain: srcnat
out interface: <pptp-in1>
action: masquerade

my issue: whenever the connection drop and re-connect the "out interface" change to unknown.

Question: how can I configure the nat rule to automatically masquerade after the pptp server binding is established.
 
rpz
just joined
Posts: 11
Joined: Tue Nov 26, 2013 10:20 pm

Re: PPTP Server NAT Masquerade how to set out interface

Fri Apr 25, 2014 6:20 pm

OK, I know that it is an old one, but I've reached it while searching for something else and i'll write a suggestion just to other's in need.

You should create a static interface for this purpose. Simply add an "PPTP Server Binding" type interface in PPP interfaces with the name of the connecting user. That way an existing interface will be used instead of creating a dynamic one.

Who is online

Users browsing this forum: laku, mansuramir and 123 guests