(Not sure if this is the right section)
Hello, I have a problem with dns2tcp. I'm not sure if it's the hotspot router's fault (MikroTik) or if it's just because my laptop is windows 10, but I got a VPS Server this morning from VirMach (1$ Ubuntu 16), and set up dns2tcp with the help of this video and this guide.
When I try and connect to it, this comes up on the server.
(I replaced the website record with xxxxxxxx.xxxx.xxx)
This comes up one the client (my laptop).
Here's the dns2tcpd config file.
For some reason I can't find much about dns2tcp or iodine online, so any help would be greatly appreciated.
EDIT: I had my brother who's in America connect to it and it worked for him.
Here's what came up for him.
Also, for some reason, it randomly works for me, but only rarely (like twice so far.)
I'm gonna assume it's something with the router, so can anyone tell me what do I need to do? (I already have access to the MikroTik router, just don't know what to do.)
Hello, I have a problem with dns2tcp. I'm not sure if it's the hotspot router's fault (MikroTik) or if it's just because my laptop is windows 10, but I got a VPS Server this morning from VirMach (1$ Ubuntu 16), and set up dns2tcp with the help of this video and this guide.
When I try and connect to it, this comes up on the server.
(I replaced the website record with xxxxxxxx.xxxx.xxx)
Code:
Debug requests.c:167 Receive query : aaaaam4taa dns_id = 0x10d3 for domain =auth.xxxxxxxx.xxxx.xxx
Creating session id: 0xedf8 address = 74.125.181.11 (compression wanted)
Debug rr.c:204 rr_get_reply_length_encode return 259
Debug requests.c:205 Sending [28205] len = 98 dns id = 0x10d3 +O2aam4tAEQxQVJMODU1MURNNlRTUjI
Debug requests.c:167 Receive query : +o2bgaabadqznzgzn0i4mjy0nkmynjeynta1quyznjjbmue5otberei5mkm0ree dns_id = 0x3344 for domain =auth.xxxxxxxx.xxxx.xxx
Creating session id: 0xdcc2 address = 74.125.73.79 (compression wanted)
Debug rr.c:204 rr_get_reply_length_encode return 179
Debug requests.c:205 Sending [42651] len = 151 dns id = 0x3344 wtybgaabAEpKQzJSQzVaQjBCRjdNMEU
Debug requests.c:167 Receive query : +o24djqbaa dns_id = 0x1eac for domain =resource.xxxxxxxx.xxxx.xxx
Debug rr.c:204 rr_get_reply_length_encode return 253
Debug requests.c:205 Sending [15003] len = 109 dns id = 0x1eac +o24djqbAkF1dGhlbnRpY2F0aW9uIEZhaWxlZA
delete_client 0xedf8 (not authenticated)
delete_client 0xdcc2 (not authenticated)
This comes up one the client (my laptop).
Code:
dns2tcp.exe -z xxxxxxxx.xxxx.xxx 8.8.8.8 -d 3 -k *******
debug level 3
Debug socket.c:233 Create socket for dns : '8.8.8.8'
Debug session.c:46 Request challenge
Debug requests.c:146 Sending dns id = 0xac66
Debug requests.c:97 Query is AAAAAM4TAA.=auth.xxxxxxxx.xxxx.xxx len 34
Debug rr.c:106 rr_decode_next_reply_encode base64 data was = +O2aam4tAEQxQVJMODU1MURNNlRTUjI (reply len = 34)
Debug session.c:53 Challenge = 'D1ARL8551DM6TSR2'
Debug session.c:54 Session created (0xedf8)
Debug session.c:77 Sending response : '437837B82646C2612505AF362A1A990DDB92C4DA' (key = *******)
Debug requests.c:146 Sending dns id = 0xfd07
Debug requests.c:97 Query is +O2BgAABADQzNzgzN0I4MjY0NkMyNjEyNTA1QUYzNjJBMUE5OTBEREI5MkM0REE.=auth.xxxxxxxx.xxxx.xxx len 87
Debug rr.c:106 rr_decode_next_reply_encode base64 data was = wtybgaabAEpKQzJSQzVaQjBCRjdNMEU (reply len = 34)
Debug auth.c:58 Requesting resource
Debug requests.c:146 Sending dns id = 0xc200
Debug requests.c:97 Query is +O24dJQbAA.=resource.xxxxxxxx.xxxx.xxx len 38
Available connection(s) :
Debug rr.c:106 rr_decode_next_reply_encode base64 data was = +o24djqbAkF1dGhlbnRpY2F0aW9uIEZhaWxlZA (reply len = 41)
Authentication Failed
Here's the dns2tcpd config file.
Code:
listen = 0.0.0.0
port = 53
# If you change this value, also change the USER variable in /etc/default/dns2tcpd
user = nobody
chroot = /tmp
domain = xxxxxxxx.xxxx.xxx
key = *******
resources = ssh:127.0.0.1:22 , smtp:127.0.0.1:25
For some reason I can't find much about dns2tcp or iodine online, so any help would be greatly appreciated.
EDIT: I had my brother who's in America connect to it and it worked for him.
Here's what came up for him.
Code:
Debug socket.c:233 Create socket for dns : '8.8.8.8'
Debug session.c:46 Request challenge
Debug requests.c:146 Sending dns id = 0xc06b
Debug requests.c:97 Query is AAAAABgjAA.=auth.xxxxxxxx.xxxx.xxx len 34
Debug rr.c:106 rr_decode_next_reply_encode base64 data was = ipoAABgjAEZUU0RITkY4TTlITzk4U1g (reply len = 34)
Debug session.c:53 Challenge = 'FTSDHNF8M9HO98SX'
Debug session.c:54 Session created (0x9a8a)
Debug session.c:77 Sending response : '17FEFFF1B7899BE87DEFD104EAE6C048FE99C01A' (key = *******)
Debug requests.c:146 Sending dns id = 0xe318
Debug requests.c:97 Query is ipqFgAABADE3RkVGRkYxQjc4OTlCRTg3REVGRDEwNEVBRTZDMDQ4RkU5OUMwMUE.=auth.xxxxxxxx.xxxx.xxx len 87
Debug rr.c:106 rr_decode_next_reply_encode base64 data was = ipqFgAABAA (reply len = 13)
Debug auth.c:58 Requesting resource
Debug requests.c:146 Sending dns id = 0xf102
Debug requests.c:97 Query is iprOBElJAA.=resource.xxxxxxxx.xxxx.xxx len 38
Available connection(s) :
Debug rr.c:106 rr_decode_next_reply_encode base64 data was = g2E2RXt/AHNzaA (reply len = 17)
ssh
Debug rr.c:106 rr_decode_next_reply_encode base64 data was = g2E2RXt/AHNtdHA (reply len = 18)
smtp
Note : Compression SEEMS available !
Also, for some reason, it randomly works for me, but only rarely (like twice so far.)
I'm gonna assume it's something with the router, so can anyone tell me what do I need to do? (I already have access to the MikroTik router, just don't know what to do.)
Last edited by Coolsonickirby,