Problems with Iptables and VPN

i get:

Received 176 bytes from 208.67.222.222#53 in 24 ms

but with the output dropped in iptables it doesn’t work

about tethering:
i decided not to use tethering right now, it doesn’t work every time, i have difficulties to get it working with my iptable rules and I could just use the vpn client on my laptop which would have the advantage that i can use it when I’m not at home

And that’s with /etc/resolv.conf containing the line nameserver 8.8.8.8?

no, it seems to use what’s in /etc/resolv.conf

if i put 8.8.8.8 it uses 8.8.8.8

would it be stupid to put 10.8.0.1 in /etc/resolv.conf? wouldn’t that send dns requests through the tunnel?
i tried it and it doesn’t collide with the output drop and gives me:

;; QUESTION SECTION:
;osmc.tv. IN MX

;; ANSWER SECTION:
osmc.tv. 1373 IN MX 15 eforward4.registrar-servers.com.
osmc.tv. 1373 IN MX 10 eforward2.registrar-servers.com.
osmc.tv. 1373 IN MX 10 eforward3.registrar-servers.com.
osmc.tv. 1373 IN MX 20 eforward5.registrar-servers.com.
osmc.tv. 1373 IN MX 10 eforward1.registrar-servers.com.
;; AUTHORITY SECTION:
osmc.tv. 17517 IN NS dns2.registrar-servers.com.
osmc.tv. 17517 IN NS dns1.registrar-servers.com.
;; ADDITIONAL SECTION:
dns1.registrar-servers.com. 16072 IN A 216.87.155.33
dns2.registrar-servers.com. 16072 IN A 216.87.152.33

Received 246 bytes from 10.8.0.1#53 in 19 ms

You should re-read previous posts, including #8 and #15.

ok sorry, i’m a little confused…
am I right to assume that when I put 10.8.0.1 in /etc/resolv.conf all dns requests got through the tunnel (and I only can send dns requests if tun0 is up)? what DNS would be seen e.g by a website?

Correct. So no DNS is possible at system startup, for example.

ok and which dns servers am I using then? the vpn’s or the ones i set in “myosmc/networks”?

The vpn’s.

ok, that’s good i think, i leave it like that.

Thank you so very much for your help and especially for patience with me :smiley: