Hi.
Is it possible to forward a port to an other port in mik version 5.0rc3?
e.g : I want to use port 1724 instead of 1723. can i do this?
Yes. Use NAT: http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT
I am not much familiar with mikrotik settings and configs. so can you write the command for redirecting tcp 1723 port requests to another tcp port please??
thanks.
Or how to use an other port instead of 1723 for sendig request from clients?
for example how a client can send a request to a vpn server through pptp protocol to port 1724 instead of port 1723 and then connects to server?
is this possible?
There’s an example for port forwarding in the link I posted. Did you read it?
/ip firewall nat add chain=dstnat dst-port=1234 action=dst-nat protocol=tcp to-address=192.168.1.1 to-port=1234
did you mean this?
yes i looked at the link.
but this redirects to an address “to-address=192.168.1.1” .
is it necessary to set to-address?
and if you know please answer second question too.
tnx.
Do you mean that you’re trying to just change the port from 1724 to 1723, but still on the same router? In other words, is the router also acting as the PPTP server in your example? Your questions aren’t very clear.
If that’s the case you can use an action of “redirect” and leave out the to-address parameter, or simple set a router IP address as the to-address parameter value. The difference between the two is fairly subtle and wouldn’t matter much.
Yes. on the same router.
which command should i use?
Or how to do it with winbox?
and after the redirecting port how can i connect from my system( as a client) to the port 1724?
is there a network tool to customize the dst port and src port on system (win 7)?( create a connection with manually configured settings )
thanks.
help!
/ip firewall nat
add chain=dstnat dst-address-type=local protocol=tcp dst-port=1724 action=dst-nat to-ports=1723
I don’t know how to change ports used by Windows for PPTP. That’s probably a better question for a Windows forum.
on same router you have to use action=redirect
like in example of transparent proxy - traffic goes to some server on port 80, but you take this traffic and redirect to the router, to port 8080.