boundless-photographer-22783
12/06/2022, 6:25 AMwin1-wg
to GL-MT1300
was a success but GL-MT1300
set with egress 192.168.8.0/24
failed.ubuntu-server
is the server configured with netclient and set with ingress & egress to 192.169.30.0/24
Was able to successfully connect from win-wg
to any ip address in 192.168.30.0/24
ip r
and it might be missing some route?
root@GL-MT1300:~# ip r
default via 192.168.3.1 dev eth0.2 proto static src 192.168.3.78 metric 10
10.149.240.0/24 dev nm-vpc-net proto kernel scope link src 10.149.240.6
x.x.x.x via 192.168.3.1 dev eth0.2
192.168.3.0/24 dev eth0.2 proto static scope link metric 10
192.168.30.0/24 dev nm-vpc-net scope link
192.168.8.0/24 dev br-lan proto kernel scope link src 192.168.8.1
netclient list
root@GL-MT1300:~# netclient list | jq .
{
"networks": [
{
"name": "vpc-net",
"node_id": "64be95c3",
"current_node": {
"name": "GL-MT1300",
"interface": "nm-vpc-net",
"private_ipv4": "10.149.240.6",
"public_endpoint": "y.y.y.y"
},
"peers": [
{
"public_key": "07jhzFl2c=",
"public_endpoint": "x.x.x.x:51821",
"addresses": [
{
"cidr": "10.149.240.254/32",
"ip": "10.149.240.254"
},
{
"cidr": "10.149.240.4/32",
"ip": "10.149.240.4"
},
{
"cidr": "10.149.240.7/32",
"ip": "10.149.240.7"
},
{
"cidr": "10.149.240.3/32",
"ip": "10.149.240.3"
},
{
"cidr": "10.149.240.5/32",
"ip": "10.149.240.5"
},
{
"cidr": "10.149.240.2/32",
"ip": "10.149.240.2"
}
]
},
{
"public_key": "QHHP75Uk0=",
"public_endpoint": "192.168.30.44:10664",
"addresses": [
{
"cidr": "10.149.240.8/32",
"ip": "10.149.240.8"
}
]
},
{
"public_key": "bUZtF1paCk0=",
"public_endpoint": "192.168.30.4:51821",
"addresses": [
{
"cidr": "10.149.240.1/32",
"ip": "10.149.240.1"
},
{
"cidr": "192.168.30.0/24",
"ip": "192.168.30.0"
}
]
}
]
}
]
}
ip r
of unbuntu server
default via 192.168.30.1 dev enx9096f3493694 proto dhcp metric 101
10.149.240.0/24 dev nm-vpc-net scope link
10.149.240.2 dev nm-vpc-net scope link
10.149.240.3 dev nm-vpc-net scope link
10.149.240.4 dev nm-vpc-net scope link
10.149.240.5 dev nm-vpc-net scope link
10.149.240.6 dev nm-vpc-net scope link
10.149.240.7 dev nm-vpc-net scope link
10.149.240.8 dev nm-vpc-net scope link
10.149.240.254 dev nm-vpc-net scope link
x.x.x.x via 192.168.30.1 dev eno1
169.254.0.0/16 dev eno1 scope link metric 1000
192.168.30.0/24 dev eno1 proto kernel scope link src 192.168.30.200 metric 100
192.168.30.0/24 dev enx9096f3493694 proto kernel scope link src 192.168.30.4 metric 101
192.168.8.0/24 dev nm-vpc-net scope link
bored-island-21407
12/06/2022, 1:07 PMboundless-photographer-22783
12/07/2022, 12:46 AMnetmaker-1
first and then added GL-MT1300
with netclient egressubuntu server
with netclient egressbored-island-21407
12/07/2022, 12:49 AMboundless-photographer-22783
12/07/2022, 12:51 AM192.169.8.0/24
as a part of Allowed IPS along with 192.169.30.0/24
192.169.8.1
but not any other ip address in 192.169.8.0/24
192.168.8.0/24
and 192.168.30.0/24