Hi!
BTest is blocked by one of my providers (LTE).
Is there any possibility to change the port, BTest is using?
Thank you for your help
Stril
Hi!
BTest is blocked by one of my providers (LTE).
Is there any possibility to change the port, BTest is using?
Thank you for your help
Stril
NATting BTest ports?
But I am not able to choose the destination-port for the btest client.
Do you mean external BTest servers that other people are running?
Why would your ISP block random ports for outgoing traffic??
Hi!
Sorry, but I do not really understand your setup:
Server:
I can use a server and NAT its BTest-Server to another port
Client:
The Client would need to connect to a different port, but there is no port-parameter for BTest, or would you manipulate the port by NAT?
RouterOS normally does not permit dst-nat of outgoing sessions (nor src-nat of incoming sessions), but there is an ugly trick allowing both. It will cost some CPU cycles, but I assume your router model is powerful enough that the bottleneck for the btest would be the LTE throughput.
This way, btest will send the connection establishing packet to s.s.s.s using A2B as the output interface; the connection will get src-nated to c.c.c.2. Once the packet passes through the tunnel, it will emerge from B2A and hit the dst-nat rule; in order that it wouldn’t loop to A2B again, the routing rule will mark it with routing-mark=aux, so the default route with the same routing-mark will send it via the regular WAN (LTE) interface to the destination; before actually leaving, it will get src-nated (masqueraded) again.
The response packet from s.s.s.s will arrive on the WAN interface and get un-src-nated to c.c.c.2; as c.c.c.2 is not one of router’s own addresses, it will be routed via B2A (that’s the reason why we needed to src-nat the initial request from c.c.c.1 to c.c.c.2) and un-dst-nated on the way; once it passes through the tunnel and emerges from A2B, it will get un-src-nated again and land on c.c.c.1 from s.s.s.s:2000.