derkadinal
New Member
Hello,
I have the following setup:
Machine A: (wireguard VPN server )
Interfaces: wg0, eth0
Addresses: wg0 10.1.0.1
eth0 10.2.0.10
Machine B: (connects to VPN server)
Interfaces: wg0, wth0
Adresses: wg0 10.1.0.2
eth0 10.2.0.20
These pings work:
Machine B -> A: (pinging 10.1.0.1 and 10.2.0.10)
Machine A -> B (only 10.1.0.2)
This doesn't work:
Machine A -> B when pinging 10.2.0.20
This is the routing tabe:
What I have noticed is that, when pining 10.2.0.20 the arp request only goes to eth0 and never to wg0.
I have tried to add a rule for the specifc IP adress 10.2.0.20 but it didn't help.
What am I missing?
BR
I have the following setup:
Machine A: (wireguard VPN server )
Interfaces: wg0, eth0
Addresses: wg0 10.1.0.1
eth0 10.2.0.10
Machine B: (connects to VPN server)
Interfaces: wg0, wth0
Adresses: wg0 10.1.0.2
eth0 10.2.0.20
These pings work:
Machine B -> A: (pinging 10.1.0.1 and 10.2.0.10)
Machine A -> B (only 10.1.0.2)
This doesn't work:
Machine A -> B when pinging 10.2.0.20
This is the routing tabe:
Destination | Gateway | Genmask | Flags | Metric | Ref | Use | Iface |
default | 10.2.0.1 | 0.0.0.0 | UG | 0 | 0 | 0 | eth0 |
10.1.0.0 | * | 255.255.0.0 | U | 0 | 0 | 0 | wg0 |
10.2.0.0 | * | 255.255.0.0 | U | 0 | 0 | 0 | eth0 |
What I have noticed is that, when pining 10.2.0.20 the arp request only goes to eth0 and never to wg0.
I have tried to add a rule for the specifc IP adress 10.2.0.20 but it didn't help.
What am I missing?
BR