Michael B. Williams
Glexia, Inc. - An IT Company
USA Direct: +1 978 477 6797
USA Toll Free: +1 800 675 0297 x101
AUS Direct: +61 3 8594 2265
AUS Toll Free: +61 1800 931 724 x101
Fax: +1.815-301-5570
Michael.Williams@glexia.com
https://www.glexia.com/
https://www.glexia.com.au/
Legal Notice:
The information in this electronic mail message is the sender's confidential business and may be legally privileged. It is intended solely for the addressee(s). Access to this internet electronic mail message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful.
_______________________________________________I am trying to route between multiple WG interfaces.On my primary server:wg0.conf:[Interface]Address = 192.168.6.4/24ListenPort = 51820PrivateKey =PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADEPostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE[Peer]PublicKey =AllowedIPs = 192.168.6.1/32, 192.168.1.0/24Endpoint = xy.com:51820wg1.conf:[Interface]Address = 192.168.9.1/24ListenPort = 51821PrivateKey =PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADEPostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE[Peer]PublicKey =AllowedIPs = 192.168.9.3/32---With wg0 I am connecting to an other server (xy.com:51820). On wg1 I am accepting client connections.On this server I can ping everything, so connection is working well.ping 192.168.6.1 - worksping 192.168.1.xxx - worksping 192.168.9.3 - works---Now I am connecting my client to this server (client 192.168.9.3):[Interface]PrivateKey =Address = 192.168.9.3/24DNS = 192.168.9.1[Peer]PublicKey =AllowedIPs = 192.168.9.1/32, 192.168.1.0/24Endpoint = primaryserver:51821I can ping server 192.168.9.1 as expected, but I am unable to ping any of my devices in 192.168.1.0/24.Anyone knows what's the problem here?
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard