Community discussions

MikroTik App
 
Bibliotech
newbie
Topic Author
Posts: 32
Joined: Mon Apr 13, 2009 8:48 pm

traffic in one port forced out specific port

Thu Apr 05, 2018 3:36 pm

How best to force all traffic which comes in one port to exit a specific port regardless of routing table? Some traffic coming in on port A is routed to a directly connected subnet on port B, but I want all that traffic coming in on Port A to go out port C. Thanks.
 
solar77
Long time Member
Long time Member
Posts: 577
Joined: Thu Feb 04, 2016 11:42 am
Location: Scotland

Re: traffic in one port forced out specific port

Thu Apr 05, 2018 7:07 pm

you can use mangle rule, action route. then specify the destination gateway to forward to. I have not tested to see what if it has a conflict with existing routing table though. Worth a try.
MTCNA MTCTCE UEWA
 
anavds
newbie
Posts: 38
Joined: Wed Apr 04, 2018 2:47 pm

Re: traffic in one port forced out specific port

Thu Apr 26, 2018 9:16 pm

Poorly worded requirement which supposed a routing solution vice explaining the functionality desired. Why do you need to frig with ports and why.
For example.
I wish to provide my server for friends which hosts on port 666 but my ISP blocks 666.
I cannot change the host port (fixed port) of my satan server.
I have a limited number of users and I have their public WANIPs if required.
They will use dyndns to access my server dydnsname is "lucifer"

However, without the context of a good requirement, (what we wish to accomplish in plain words and not in not router programming terms, and why) trying to understand or answer contortions on ports and subnets is not fruitful.
 
Sob
Forum Guru
Forum Guru
Posts: 6266
Joined: Mon Apr 20, 2009 9:11 pm

Re: traffic in one port forced out specific port

Thu Apr 26, 2018 9:25 pm

@anavds: It sounds like different kind of ports.
People who quote full posts should be spanked with ethernet cable. Some exceptions for multi-topic threads may apply. Not intended as incentive for masochists.
 
anavds
newbie
Posts: 38
Joined: Wed Apr 04, 2018 2:47 pm

Re: traffic in one port forced out specific port

Thu Apr 26, 2018 9:58 pm

@anavds: It sounds like different kind of ports.
Ahh yes silly me he is talking about physical ports and possibly vlans...............

Who is online

Users browsing this forum: Google [Bot] and 38 guests