Dear all mikroterian,
What i am trying to do is like this
public ip A will hit request to port 80 on public ip B ( this is WAN interface of mikrotik).
public ip A should be mapped to lan ip of mikrotik and that request should be forward to http server on LAN.
What i want is to reach internal private http server, the public ip should carry with internal private ip.
dear all,
What i want is public ip A should be mapped to private ip B which is ip secondary ip address of router and forward request with ip header of private B to private server C.
Public A------------Router-----Private B------------------------------------------------------------------Private Server C
1.1.1.1 2.2.2.1 2.2.2.5
2.2.2.2
Here, When request hit to public ip 1.1.1.1, it should be mapped to private ip 2.2.2.2 and forwarded to 2.2.2.5 with source ip 2.2.2.2
Dear Amir
it’s clear that when you use Dst Nat action you are able to redirect packets from outsides(public ip address) to any private one in inside your network , and during this action router remove destination ip address(your public ip) with user defined private on and packet’s will forward through your private network with private IP address.
Correct me please if i’m wrong
and if you want to do that with 2 server at the same time , i’m not sure but i think you can use 2 action(not sure)