You are instructing your router to go out with its’ internal (!) ip address onto the internet - no way that http://www.heise.de (or someone else) will know how to route the answer packets to 10.10.1.1…
Just leave out the src-address in your ping command, and your router will use its’ public ip address as source and Everything Will Be Good ™
Hm, i thought this should match the masqerading rule? Like for any other Client on the internal side of NAT.
concerning the packet-flow diagramm, i guessed it should go through
local → output ->postrouting (src-nat/masquerading) → … → out-interface
am i wrong?
@normis: in this particular case there are other subnets inside not allowed for internet. otherwise the rule should of course be (and i tried this too)
(btw. its not for fun, this morning we had a support issue where the VPN was working, but no internet access possible. after reboot everything was ok, but i’am still searching for the reason)
I thought that too … maybe normally, if you would use ping without the source address parameter, it would be masqeraded, maybe that parameter is overriding it?
Yep, the packet flow suggests that, correct.
It doesn’t work that way, though
In that regard I should probably take back my “How should it?” from my first post - it was just that I took that for granted for a long time for myself…
if the ping is send without src-addr-parameter it goes right out of the WAN interface, originating from the public IP-address the WAN-interface has actually, tried this too.
dunno - but what about some firewall rule on outgoing interface? The thing is however, that NAT is being applied after the routing, so not sure what chain you would have to check, as it will be “forward”.
Or what about logging wan interface traffic? Looking for particular source address packets … otherwise you would have to put your machine onto hub with another PC and use tools as Ethereal. (maybe some internal facility in winbox can be used, sending the traffic to such “ethereal server”.
But don’t take me seriously, I am just routing newbie, if even
from the packet flow diagramm src-NAT/Masquerading is applied after that.
Or what about logging wan interface traffic? Looking for particular source address packets … otherwise you would have to put your machine onto hub with another PC and use tools as Ethereal.
the situation would not be a problem, if i could be on-site or have a remote-controled client inside.