No that's not true. You can do it by adding only one firewall rule.
for example if internal network is 192.168.0.0/24 :
chain=forward dst-address=192.168.0.0/24 action=reject
reject-with=icmp-network-unreachable
/file print file=test;
:delay 1;
:if ([:len [/file find name="test.txt"]]>0) do={
/file remove [ /file find name="test.txt" ] ;
}
:if ( [:tobool [/interface pptp-client get pptp-out1 running ]]
= true ) do={ :put "yeee" } else={ :put "grrrr" }
port and protocol are two completely different things. GRE protocol number is 47 not port number.... Is it as simple as changing the port number of the 'new' SIP service port to 47?
Have you ever looked in download section?I'm curious why Mikrotik cannt make a bootable CD like every other linux distributer in the word. h aha ...
Separator in beta8 was ; too, this is not a problem. Problem is that, for example, find returns array values inside other arrays, while in beta8 only one array is returned.I think it is because find separator was changed from ',' to ';' and foreach still operates on ','.
I suppose Imran & coImran, what is the name of cable company you work for?
# create test.txt file
/file print file=test ;
# write content to file
/file set [/file find name=test.txt ] contents="any content you want" ;
#to check that content was written to file
:put [/file get [/file find name=test.txt ] contents ] ;
Reboot, yes? [y/N]
y
Are you sure?[y/N]
y
Are you sure that you're sure? [y/N]
YES!!
:global recBits 0;
:do {
:global recBits ( [/interface monitor-traffic ether1 as-value ]->"received-bits-per-second") ;
} while=(recBits<=10000);
# now you can execute other script
Are you looking route or ip address?...
Although searched IP address exists, script returns no value.
here you goplease can you post the configuration!!!
doesn't look likei have read the mikrotik manual for RouterOS, but still i cant make my RB acts as an internet router
:log info ( "Dynamic IP Update Via Mail: Attempting to Send Updated IP " . $dip-ip )
:global mytext " ";
/ip proxy access add action=deny redirect-to="web_servers_ip/
denied.html"
ip proxy access enable mpg
/ip proxy access enable [f]
/ip proxy access disable [f]
I'm interested in your solution, could you please post it?For me personally is not a problem I figured out a solution myself.
If someone is intrested I can publish it!