Open inpos opened 3 years ago
I don't understand why destination is [::]:43754
?
Here is tcpdump of tun0:
19:29:08.492200 ip: 10.111.111.1.37227 > 77.88.8.1.53: 4393+ A? ya.ru. (23)
19:29:09.492305 ip: 10.111.111.1.44246 > 77.88.8.1.53: 4393+ A? ya.ru. (23)
19:29:13.493251 ip: 10.111.111.1.41469 > 77.88.8.1.53: 4393+ A? ya.ru. (23)
TCP and ICMP (ping) is working fine.
Here is my config:
[general]
# inet addr/mask
# DEFAULT VALUE: 198.18.0.0/15
# network = 198.18.0.0/15
network = 10.111.111.1/24
# DEFAULT VALUE: 1500
# mtu = 1500
# DEFAULT auto config, This is used for auto set and reset dns server on windows,
# if you have multi interface, the auto config may be not work. eg: eth0, Ethernet0, `Apple USB Ethernet Adapter`.
# interface = Ethernet0
[pprof]
# enabled = false
# prof-host = 127.0.0.1
# prof-port = 6060
[dns]
# dns mode: fake or udp_relay_via_socks5, default fake, fake means google.com -> 10.192.10.126
# dns-mode = udp_relay_via_socks5
#dns-mode = udp_relay_via_socks5
# DEFAULT VALUE: 53
# dns-port = 53
# backend dns
# DEFAULT VALUE: 119.29.29.29:53, 223.5.5.5:53, 8.8.8.8:53
# nameserver = 119.29.29.29:53
# nameserver = 223.5.5.5:53
nameserver = 77.88.8.1:53
# dns-ttl = 600
# dns-packet-size = 4096
# dns-read-timeout = 5
# dns-write-timeout = 5
auto-config-system-dns = true
[route]
# eg: sudo ip route add 91.108.4.0/22 dev tun0
# If you have large route tables, please add it with route batch mode by yourself,
# or it will take a long time.
# batch mode:
# linux -> `ip -batch`
# osx -> @see https://github.com/FlowerWrong/ip2socks/blob/master/scripts/darwin_setup_utun.sh#L14-L16
v = 0.0.0.0/0
#v = 91.108.4.0/22
#v = 91.108.56.0/22
#v = 109.239.140.0/24
#v = 149.154.160.0/20
#v = 149.154.167.0/24
#v = 8.8.8.8
#v = 4.4.4.4
[tcp]
# default 1 minutes
# timeout = 60
[udp]
# Enable udp relay or not, default true
# enabled = true
# default 5 minutes
# timeout = 300
# This proxy is used to relay udp data via socks5, so it must be socks5 with udp support.
# If dns-mode is udp_relay_via_socks5, tun2socks will use this proxy to relay.
# If dns-mode is fake, tun2socks will use the fake domain matched proxy, also || this one.
proxy = A
## socks5://[user:password@]host[:port]
# define a proxy named "A"
[proxy "A"]
url = socks5://192.168.49.1:1080
default = yes
# define a proxy named "B"
#[proxy "B"]
#url = socks5://127.0.0.1:1080
# use this proxy as default
#default = yes
Hi. DNS set to fake mode. When I try to
host ya.ru 127.0.0.1
I get:Full runtime log:
Same error when I try to send UDP-packet by netcat