No route to host with nc but can ping
Your no route to host
while the machine is ping-able is the sign of a firewall that denies you access politely (i.e. with an ICMP message rather than just DROP-ping).
See your REJECT
lines? They match the description (REJECT with ICMP xxx). The problem is that those seemingly (#) catch-all REJECT lines are in the middle of your rules, therefore the following rules won't be executed at all. (#) Difficult to say if those are actual catch-all lines, the output of iptables -nvL
would be preferable.
Put those REJECT rules at the end and everything should work as expected.
Related videos on Youtube
Onret
Updated on September 18, 2022Comments
-
Onret over 1 year
I am a bit new to flash and actionscript but i am learning. With this code I am trying to get a message that says
true
when thevalue
is betweenfrom
andto
. When I run this it gives the error in the title. What am I doing wrong?from = Number(txtFra.text); value = Number(txtTall.text); to = Number(txtTil.text); var from:Number; var value:Number; var value:Number; function insideIntervall(from:int, value:int, to:int):Boolean { var bool:Boolean if (from<value<to) { bool = true; } else { bool = false; } if (bool == true) { trace("True"); } else { trace("False"); } }
-
BadFeelingAboutThis about 8 yearsYour function definition has
):Boolean
at the end, which means there's a contract that says this function will return a true or false value. Likely what you want to do is justreturn bool
at the end of the function.
-
-
null about 8 yearsplus the code outside the function (above it in the code) is somewhat strange:
from
andvalue
are assigned a value before being declared and the latter is declared twice.