I have Intel NUC with WireGuard client. It works fine. I want to connect another machine via NUC by Ethernet and WireGuard.
(Router) <----> NUC (Ubuntu + VPN client) <----> Another Linux machine
Router is locked and can't be configured.
Another machine locked too. Only ip addr
, ping
, traceroute
works. No root rights.
I used bridge. Netplan config:
network:
version: 2
renderer: networkd
ethernets:
eno1:
dhcp4: no
enx00e04c6800e7: {}
bridges:
br0:
dhcp4: yes
interfaces: [eno1, enx00e04c6800e7]
ifconfig:
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.224.100 netmask 255.255.255.0 broadcast 192.168.224.255
inet6 fe80::ac74:3aff:fe86:6ed7 prefixlen 64 scopeid 0x20<link>
ether ae:74:3a:86:6e:d7 txqueuelen 1000 (Ethernet)
RX packets 33417265 bytes 59466147139 (59.4 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14561573 bytes 2387790464 (2.3 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 88:ae:dd:06:8e:06 txqueuelen 1000 (Ethernet)
RX packets 41317436 bytes 60632532073 (60.6 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15156227 bytes 2501249461 (2.5 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0x96300000-96320000
enx00e04c6800e7: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:e0:4c:68:00:e7 txqueuelen 1000 (Ethernet)
RX packets 45500 bytes 10929230 (10.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 62244 bytes 28137126 (28.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 6767 bytes 689214 (689.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6767 bytes 689214 (689.2 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wg0-client-nuc: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1420
inet 10.66.66.5 netmask 255.255.255.255 destination 10.66.66.5
inet6 fd42:42:42::5 prefixlen 128 scopeid 0x0<global>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 6859621 bytes 9944312168 (9.9 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2510468 bytes 232449360 (232.4 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Now I have VPN on NUC but another machine don't use it. What I'm doing wrong?