Community discussions

MikroTik App
 
patrickmkt
Member Candidate
Member Candidate
Topic Author
Posts: 200
Joined: Sat Jul 28, 2012 5:21 pm

Mark/route traffic from socks/proxy?

Sun Apr 23, 2023 10:57 pm

I would like to have some clients connecting to a router to have an alternate route available to chose (not as automatic failover, but on purpose)
I was considering the client could either communicate directly through the router as normal; or when they want to use the alternate route to communicate through the ROS socks server.

However, I can not find a way to differentiate the packets coming out of the router that are coming from the socks server or from the router (like email, ROS upgrade, syslog, scripts, etc...).

Is there a way to mark the packets coming out from socks so I can easily send them through the right route?
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2989
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: Mark/route traffic from socks/proxy?

Mon Apr 24, 2023 5:02 am

maybe output chain
 
patrickmkt
Member Candidate
Member Candidate
Topic Author
Posts: 200
Joined: Sat Jul 28, 2012 5:21 pm

Re: Mark/route traffic from socks/proxy?

Mon Apr 24, 2023 5:15 am

maybe output chain
How in the mangle output chain can you detect which packet are coming from the socks proxy?

Who is online

Users browsing this forum: GoogleOther [Bot], inna and 40 guests