Showing posts from February, 2016

Openvpn and unbound combined break dig command

when doing DNS lookup against remote unbound server over OpenVPN connectionresults not coming back, or say "reply from unexpected source" ping and ssh work fine

fix unbound.conf "interface" parameter -> local ip instead of ""replies will have the local ip and not the OpenVPN ip now
Sample reply when still broken:

;; reply from unexpected source:, expected

SSH config: command for bastion server proxying

Host IdentityFile ~/.ssh/mykey.pem User ec2-user ForwardAgent yes Host 10.* ProxyCommand ssh ec2-user@ nc %h 22 User ec2-user IdentityFile ~/.ssh/mykey.pem ForwardAgent yes