Community discussions

MikroTik App
 
network99
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Wed Nov 22, 2017 8:47 pm

Optimize PPTP-clinet Share

Fri Jun 15, 2018 3:13 pm

hello all
im not english , excuse me

i have question :

What is the best way to share pptp connection ?
/ip firewall mangle
add action=mark-routing chain=prerouting dst-address-list=MyServer new-routing-mark=pptp passthrough=no src-address=192.168.1.0/24
or
/ip firewall mangle
add action=mark-connection chain=prerouting dst-address-list=MyServer new-connection-mark=pptp_connection passthrough=no src-address=192.168.1.0/24
add action=mark-routing chain=prerouting connection-mark=pptp_connection new-routing-mark=pptp passthrough=no

or Mangle with output/input or NAT ?
the best solution ?
 
network99
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Wed Nov 22, 2017 8:47 pm

Re: Optimize PPTP-clinet Share

Sun Jun 24, 2018 5:16 pm

update
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Optimize PPTP-clinet Share

Mon Jun 25, 2018 3:11 am

What exactly you mean by "share pptp connection"? It looks like you want to route traffic to selected destination, from I guess LAN, via VPN? Both methods should work. It's just that in second one, passthrough=no for first rule is wrong, and you don't need to mark connection over and over, so you can also add connection-mark=no-mark.

Who is online

Users browsing this forum: Google [Bot], Lupin, MarkusT and 75 guests