it's commonly known/advised that one should specify destination and interface and what's not or even avoid masquerading at all, but i don't see a reason why i should not do it like this for my soho:
Code: Select all
add action=masquerade chain=srcnat ipsec-policy=out,none
- masks my websurfing activity, so i can reach e.g. this forum, as i'm supposed to
- does the hairpin nat thingy, so i can reach my server from in and outside my home network by its domain name (which resolves to my public address)
- leaves ipsec traffic be
so... where's the catch for not using this simple rule? does it pose security risk? creates loops? what should i pay attention to if using this rule? single rule is 100% simpler than having two rules and only increases cpu load for a few % comparing to have a dst-nat and ip address, so... ?