Community discussions

MikroTik App
 
frankc
newbie
Topic Author
Posts: 25
Joined: Fri Oct 04, 2013 4:53 pm

Dynamic Public IP script for NAT dstnat

Tue Oct 29, 2013 6:51 pm

so i have a few dst_nat rules like
dst_address =1.2.3.4 port 6666

now when public ip 1.2.3.4 changes to 1.2.3.5

i need a way to mod the nat rules that have 1.2.3.4 for 1.2.3.5

is that doable without dyndns ? or i need that as well, im currently running a few no-ip.org account so i could use one
 
abyss
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Wed Sep 21, 2005 10:51 am

Re: Dynamic Public IP script for NAT dstnat

Tue Oct 29, 2013 11:08 pm

Hi,

Specify the in. interface in your firewall rule instead of the IP address.

Best Regards
 
frankc
newbie
Topic Author
Posts: 25
Joined: Fri Oct 04, 2013 4:53 pm

Re: Dynamic Public IP script for NAT dstnat

Wed Oct 30, 2013 12:04 am

you mean the nat rule or firewall rule was what you meant ?
 
abyss
Frequent Visitor
Frequent Visitor
Posts: 82
Joined: Wed Sep 21, 2005 10:51 am

Re: Dynamic Public IP script for NAT dstnat

Wed Oct 30, 2013 7:56 am

Ths dst-nat rule, do not specify the public IP, but the in. interface..

Who is online

Users browsing this forum: A9691 and 17 guests