Community discussions

MikroTik App
 
it@mikrotik
newbie
Topic Author
Posts: 25
Joined: Tue Oct 30, 2007 1:34 pm

How can I deploy a Public IP in Private ip nw with Mikrotik?

Tue Dec 11, 2007 6:39 pm

hi all,

Really I don't know how it can done. One of our client is asking for static public IP for their service. Our network is on private ip with 192.168.xx.xxx/24 network. The client need a VPN tunneling with their office in another country. It can be static but how can we bind a public ip???? Anybody help.....please..... :(

Regards,
 
InoX
Forum Guru
Forum Guru
Posts: 1966
Joined: Tue Jan 09, 2007 6:44 pm

Re: How can I deploy a Public IP in Private ip nw with Mikrotik?

Wed Dec 12, 2007 4:01 am

You need to buy IP's man.
 
it@mikrotik
newbie
Topic Author
Posts: 25
Joined: Tue Oct 30, 2007 1:34 pm

Re: How can I deploy a Public IP in Private ip nw with Mikrotik?

Wed Dec 12, 2007 11:22 am

You need to buy IP's man.
oops, I forgot to mention that... I have IPs. My prob is how to implement????? Please give some idea....... :?
 
User avatar
acim
Member
Member
Posts: 415
Joined: Mon Sep 12, 2005 12:26 am
Location: Serbia
Contact:

Re: How can I deploy a Public IP in Private ip nw with Mikrotik?

Wed Dec 12, 2007 7:17 pm

Check Mikrotik manual, you have examples there.
 
User avatar
GWISA
Member
Member
Posts: 389
Joined: Tue Jan 31, 2006 2:37 pm
Location: Johannesburg, South Africa

Re: How can I deploy a Public IP in Private ip nw with Mikrotik?

Thu Dec 13, 2007 10:07 am

What you are wanting to do is DST-NAT the public IP to the private, and SRC-NAT the private to the public in IP/firewall/NAT settings.
 
it@mikrotik
newbie
Topic Author
Posts: 25
Joined: Tue Oct 30, 2007 1:34 pm

Re: How can I deploy a Public IP in Private ip nw with Mikrotik?

Thu Dec 13, 2007 1:30 pm

Check Mikrotik manual, you have examples there.
Do you mean One-to-One NAT??? Can you please explain in detail....
 
it@mikrotik
newbie
Topic Author
Posts: 25
Joined: Tue Oct 30, 2007 1:34 pm

Re: How can I deploy a Public IP in Private ip nw with Mikrotik?

Thu Dec 13, 2007 1:33 pm

What you are wanting to do is DST-NAT the public IP to the private, and SRC-NAT the private to the public in IP/firewall/NAT settings.
Thank you for your reply.... I will try to do that. if you don't mind can you please explain deeply...........
 
User avatar
GWISA
Member
Member
Posts: 389
Joined: Tue Jan 31, 2006 2:37 pm
Location: Johannesburg, South Africa

Re: How can I deploy a Public IP in Private ip nw with Mikrotik?

Thu Dec 13, 2007 4:45 pm

Copy & paste to your router after editing the ip's:
/ip firewall nat add chain=srcnat src-address=<private ip> action=src-nat to-addresses=<public ip> to-ports=0-65535
/ip firewall nat add chain-dst-nat dst-address=<public ip> action=dst-nat to-addresses=<private ip> to-ports=0-65535
 
it@mikrotik
newbie
Topic Author
Posts: 25
Joined: Tue Oct 30, 2007 1:34 pm

Re: How can I deploy a Public IP in Private ip nw with Mikrotik?

Thu Dec 13, 2007 6:51 pm

Copy & paste to your router after editing the ip's:
/ip firewall nat add chain=srcnat src-address=<private ip> action=src-nat to-addresses=<public ip> to-ports=0-65535
/ip firewall nat add chain-dst-nat dst-address=<public ip> action=dst-nat to-addresses=<private ip> to-ports=0-65535
Thank you verymuch...... :) Really a great job.... I will Post my reply after trying......Once again thank you very much
 
User avatar
GWISA
Member
Member
Posts: 389
Joined: Tue Jan 31, 2006 2:37 pm
Location: Johannesburg, South Africa

Re: How can I deploy a Public IP in Private ip nw with Mikrotik?

Fri Dec 14, 2007 12:33 am

correction in 2nd line:
/ip firewall nat add chain=srcnat src-address=<private ip> action=src-nat to-addresses=<public ip> to-ports=0-65535
/ip firewall nat add chain=dst-nat dst-address=<public ip> action=dst-nat to-addresses=<private ip> to-ports=0-65535
 
it@mikrotik
newbie
Topic Author
Posts: 25
Joined: Tue Oct 30, 2007 1:34 pm

Re: How can I deploy a Public IP in Private ip nw with Mikrotik?

Fri Dec 14, 2007 11:51 am

correction in 2nd line:
/ip firewall nat add chain=srcnat src-address=<private ip> action=src-nat to-addresses=<public ip> to-ports=0-65535
/ip firewall nat add chain=dst-nat dst-address=<public ip> action=dst-nat to-addresses=<private ip> to-ports=0-65535
Thank you for your correction :o
 
User avatar
acim
Member
Member
Posts: 415
Joined: Mon Sep 12, 2005 12:26 am
Location: Serbia
Contact:

Re: How can I deploy a Public IP in Private ip nw with Mikrotik?

Sat Dec 15, 2007 1:43 am

http://wiki.mikrotik.com/wiki/How_to_li ... Local_ones

BTW, this is wrong forum for your question.

Who is online

Users browsing this forum: GoogleOther [Bot] and 118 guests