Community discussions

MikroTik App
 
james.rohmer
just joined
Topic Author
Posts: 4
Joined: Mon Jun 05, 2006 7:01 pm

Cisco PIX ALIAS function on Mikrotik

Mon Jun 05, 2006 8:15 pm

I'm trying to replace a Cisco PIX with a Routerboard 532a using Level-5 RouterOS. I have everything working except servers that on private IPs that resolve through my ISPs DNS to a public IP. The ALIAS command worked great in the PIX, how do I duplicate that with RouterOS ?
 
savage
Forum Guru
Forum Guru
Posts: 1269
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Mon Jun 05, 2006 9:38 pm

If memory serves me right, dst-nat

alias publicIP privateIP (or something to that affect) in the pix right?
 
james.rohmer
just joined
Topic Author
Posts: 4
Joined: Mon Jun 05, 2006 7:01 pm

Mon Jun 05, 2006 9:47 pm

Correct, "alias (inside-interface-name) private-IP public-IP subnet-mask".

I've tried dst-nat but it's just not working. Most likely it's so simple I'm overlooking something obvious.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Mon Jun 05, 2006 9:50 pm

ip firewall nat add action=dst-nat chain=dstnat dst-address=public_address to-addresses=local_address, for dstnat.

ip firewall nat add action=src-nat chain=srcnat src-address=local_address to-addresses=public_address, for srcnat.