Community discussions

MikroTik App
 
supermuzhik
just joined
Topic Author
Posts: 10
Joined: Wed Feb 09, 2011 3:25 pm

Forwarding privatnetwork requests from external IP to intern

Fri Oct 07, 2011 3:26 pm

Hello,

I have a server with private address 192.168.2.222. It also has a public address 85.85.85.85.

I would like to forward requests comming from the private network (192.168.2.0) addressed for the public address (85.85.85.85) to the private server address (192.168.2.222). In other words, if someone in the local network would try to connect to 85.85.85.85 his request would be redirected to192.168.2.222. How could this be aquired?

Thank you!
 
tosoba
just joined
Posts: 3
Joined: Fri Oct 07, 2011 3:04 pm

Re: Forwarding privatnetwork requests from external IP to in

Fri Oct 07, 2011 3:37 pm

It depends on what you want to redirect traffic to on you local server.


DST-NAT is your best bet.
 
supermuzhik
just joined
Topic Author
Posts: 10
Joined: Wed Feb 09, 2011 3:25 pm

Re: Forwarding privatnetwork requests from external IP to in

Fri Oct 07, 2011 4:11 pm

Well I want to redirect the traffic to the local address of the server (192.168.2.222).

How can I do it with DST-NAT ?
 
 
supermuzhik
just joined
Topic Author
Posts: 10
Joined: Wed Feb 09, 2011 3:25 pm

Re: Forwarding privatnetwork requests from external IP to in

Fri Oct 07, 2011 7:04 pm

With Dst-Nat I was able to get that requests to public IP originating from WAN were forwarded to the Local IP address. However I wanted to get that requests to the publick IP originating from LAN were redirected to the local IP address. This part is still not working :?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Forwarding privatnetwork requests from external IP to in

Fri Oct 07, 2011 7:15 pm

 
supermuzhik
just joined
Topic Author
Posts: 10
Joined: Wed Feb 09, 2011 3:25 pm

Re: Forwarding privatnetwork requests from external IP to in

Fri Oct 07, 2011 7:53 pm

This part solved my problem:
add chain=srcnat src-address=192.168.1.0/24 dst-address=192.168.1.2 protocol=tcp dst-port=80 out-interface=LAN action=masquerade

Thanks for your reply!!!
 
tamilmaran
Frequent Visitor
Frequent Visitor
Posts: 74
Joined: Mon Sep 05, 2011 9:36 pm

Want to access MIKROTIK from Outside Network

Mon Oct 17, 2011 7:02 am

I want to use Public IP's in my Mikrotik Access Point 433 AH.
I tried of add the public ip in ETH 1 (14.102.69.37/27), but i cant access it..
How do add ip to make available even out of the network.
network diagram1.JPG
MAIPU ISP Router Ip:
Ip: 14.102.69.1

Radius Server:
Ip: 14.102.69.2
mask: 255.0.0.0
gateway:14.102.69.1

Extra Public IP pool :
Ip series :14.102.69.33 - 64
subnet: :255.255.255.224
Gateway: 14.102.69.32

virtual interface of Radius server :
Ip: 14.102.69.33
mask: 255.255.255.224
2.jpg

At present, I can able to use Public IP in client end which connected to my 433 AH access point .
but, i cant use public ip in my 433AH , at present ,i use lan ip in my 433 ah (192.168.200.1/24).
mikrotik.jpg
Please Help me..
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: Bing [Bot], soulflyhigh and 55 guests