Community discussions

MikroTik App
 
noir
newbie
Topic Author
Posts: 31
Joined: Wed Dec 15, 2004 8:43 am
Location: South Africa

Help cant get this NAT too work

Fri Jun 24, 2005 9:51 am

public Ether ip = 192.168.0.2
the internal ip of the mt is 192.168.10.2 (private)
my ip on the internal network is 192.168.10.10.

what dst-nat rule can i apply that will allow me the via public to connect to the server on the inside?
 
User avatar
djape
Member
Member
Posts: 465
Joined: Sat Nov 06, 2004 7:54 pm
Location: Serbia

Fri Jun 24, 2005 7:19 pm

First you must configure the address, let's say 192.168.0.3 to be the one used to access the server:
ip firewall / add src-address=192.168.10.10/32 action=nat to-src-address=192.168.0.3
ip firewall / add dst-address=192.168.0.3/32 action=nat to-dst-address=192.168.10.10

Now you should be able to access the server on address 192.168.0.3 from 192.168.0.0/24 network ;)

Who is online

Users browsing this forum: erlinden, jaclaz, mkkas, sindy and 54 guests