Hallo zusammen,
ihr kennt mit Sicherheit aus der Vergangenheit das Script split-vpn von peacey auf GitHub? Ich habe folgendes Problem:
Tunnel lässt sich ohne Probleme öffnen, jedoch haperts bei mir mit dem DNS. Der DNS Server darf ja laut Anweisung nicht mehr in die wg0.conf geschrieben werden und muss dafür in die vpn.conf. Egal welchen DNS Server (1.1.1.1 oder adaptiert aus meinen Windoofs Client: 10.13.13.1) der Browser/Console möchte ums verrecken nicht den Host auflösen. Ping auf pub IP funktioniert!.
Wireguard Clienten starten:
Code: wg-quick up ./wg0.conf
benlue@Dream-Machine-Special-Edition:/etc/split-vpn/wireguard/ivpn$ sudo wg-quick up ./wg0.conf
Warning: `/data/split-vpn/wireguard/ivpn/wg0.conf' is world accessible
wg-quick: `wg0' is not a WireGuard interface
Warning: `/data/split-vpn/wireguard/ivpn/wg0.conf' is world accessible
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.13.13.4/32 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] ip -6 route add ::/1 dev wg0
[#] ip -6 route add 8000::/1 dev wg0
[#] ip -4 route add 128.0.0.0/1 dev wg0
[#] ip -4 route add 0.0.0.0/1 dev wg0
[#] sh /etc/split-vpn/vpn/updown.sh wg0 up
[Fri Dec 16 11:29:26 CET 2022] split-vpn: wg0 up: Loading configuration from /data/split-vpn/wireguard/ivpn/vpn.conf.
Alles anzeigen
Ping (UDM-SE-EU) auf 8.8.8.8:
Code: ping 8.8.8.8
benlue@Dream-Machine-Special-Edition:/etc/split-vpn/wireguard/ivpn$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=113 time=86.3 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=113 time=81.1 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=113 time=85.4 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=113 time=74.5 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=113 time=90.8 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=113 time=80.2 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=113 time=73.7 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=113 time=81.7 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=113 time=81.1 ms
^C
--- 8.8.8.8 ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8010ms
rtt min/avg/max/mdev = 73.743/81.664/90.845/5.121 ms
Alles anzeigen
Code: curl ifconfig.me
benlue@Dream-Machine-Special-Edition:/etc/split-vpn/wireguard/ivpn$ curl ifconfig.me
curl: (6) Could not resolve host: ifconfig.me
Ping (DESKTOP-SOM2LB5) auf 8.8.8.8
Code: ping 8.8.8.8
C:\Users\benja>ping 8.8.8.8
Ping wird ausgeführt für 8.8.8.8 mit 32 Bytes Daten:
Zeitüberschreitung der Anforderung.
Zeitüberschreitung der Anforderung.
Zeitüberschreitung der Anforderung.
Ping-Statistik für 8.8.8.8:
Pakete: Gesendet = 3, Empfangen = 0, Verloren = 3
(100% Verlust),
Irgendwie wermurkst split-vpn mein ganzes WAN bzw eth9. Hat jmd einen Rat was falsch sein könnte?