Community discussions

MikroTik App
 
paulmb
just joined
Topic Author
Posts: 1
Joined: Thu Aug 04, 2022 11:44 pm

Difference In marking packets with a routing mark Between ROS 6 and ROS 7.4

Thu Aug 04, 2022 11:52 pm

Below is the script I used to set up my router win Router OS 6. I have come to try to do this on my new RB5009UG with Router OS 7.4. Everything is good until i try the last step of the routing mark.
Has the command changed or do I need to do the below a different way?

:global username "USERNAME"
:global password "PASSWORD"
:global range "192.168.88.0/24"
:global hostname "nl.hide.me"

/interface sstp-client add authentication=mschap2 connect-to=[:put $hostname] disabled=no name="hide.me SSTP" password=[:put $password] profile=default-encryption tls-version=only-1.2 user=[:put $username]

/ip firewall mangle add action=mark-routing chain=prerouting new-routing-mark=SSTP passthrough=yes src-address=[:put $range]
/ip firewall nat add action=masquerade chain=srcnat out-interface="hide.me SSTP"

/ip route add distance=1 gateway="hide.me SSTP" routing-mark=SSTP

Who is online

Users browsing this forum: alotofbacardi, baragoon, Google [Bot], jacobbailey, Pincha3 and 99 guests