1
20.7 Legacy Series / Re: Route a VLAN to the Internet through WireGuard tunnel
« on: December 07, 2020, 02:52:56 pm »
Hi,
I tried to do this over the weekend and I am sorry to say it did not work. The handshakes happen. If I ping the remote IP on the tunnel, no response. The dashboard shows the tunnel gateway as offline. The VLAN network is 192.168.26.0/24 (on VLAN 26). Not clear what is wrong. Let me detail the particulars. If you can suggest something that would be great.
[VPN Wireguard Local]
Enabled = ticked
Name = Chand
Instance = 1
Public Key = something
Private Key = something
Listen Port = 61920
DNS Server = 1.1.1.1, 192.168.0.8
Tunnel Address = 10.26.0.4/24
Peer = ChandRaspberry
Disable Routes = ticked
[VPN Wireguard Endpoint]
Enabled = ticked
Name = ChandRaspberry
Public Key = something
Shared Secret = empty
Allowed IPs = 0.0.0.0/0
Endpoint Address = something
Endpoint Port = 61920
Keepalive = 27
[Gateway GW_ChandVpn]
Disabled = not ticked
Name = GW_ChandVpn
Description = empty
Interface = ChandVpn
Address Family = IPv4
IP Address = 10.26.0.1
Upstream Gateway = not ticked
Far Gateway = ticked
Disable Gateway Monitoring = not ticked
Monitor IP = empty
Mark Gateway as down = not ticked
Priority = 255
Advanced = defaults
[Interface ChandVpn]
enabled = ticked
lock = ticked
Device = wg1
Block Private Networks = not ticked
Block Bogon Networks = not ticked
IPv4 configuration type = Static IPv4
IPv6 configuration type = None
Mac Address, MTU, MSS not set
Dynamic Gateway policy = not ticked
Static IPv4 configuration = 10.26.0.4
IPv4 Upstream Gateway = GW_ChandVpn - 10.26.0.1
[Firewall NAT Outbound]
Automatic Rules are there for WAN1, ChandVpn for LAN, VLAN network, Loopback network, 127.0.0.0/8
Manual Rule
-----------
Disabled = not ticked
Do Not NAT = not ticked
Interface = ChandVpn
TCP/IP Version = IPv4
Protocol = any
Source Invert = not ticked
Source Address = any
Source Port = any
Destination Invert = not ticked
Destination Address = any
Destination Port = any
Translation Target = unset
Log = not ticked
Translation / Port = unset
Static Port = not ticked
Pool Options = Default
Remaining options not set
No Firewall Rules defined for Interface ChandVpn
Thanks.
I tried to do this over the weekend and I am sorry to say it did not work. The handshakes happen. If I ping the remote IP on the tunnel, no response. The dashboard shows the tunnel gateway as offline. The VLAN network is 192.168.26.0/24 (on VLAN 26). Not clear what is wrong. Let me detail the particulars. If you can suggest something that would be great.
[VPN Wireguard Local]
Enabled = ticked
Name = Chand
Instance = 1
Public Key = something
Private Key = something
Listen Port = 61920
DNS Server = 1.1.1.1, 192.168.0.8
Tunnel Address = 10.26.0.4/24
Peer = ChandRaspberry
Disable Routes = ticked
[VPN Wireguard Endpoint]
Enabled = ticked
Name = ChandRaspberry
Public Key = something
Shared Secret = empty
Allowed IPs = 0.0.0.0/0
Endpoint Address = something
Endpoint Port = 61920
Keepalive = 27
[Gateway GW_ChandVpn]
Disabled = not ticked
Name = GW_ChandVpn
Description = empty
Interface = ChandVpn
Address Family = IPv4
IP Address = 10.26.0.1
Upstream Gateway = not ticked
Far Gateway = ticked
Disable Gateway Monitoring = not ticked
Monitor IP = empty
Mark Gateway as down = not ticked
Priority = 255
Advanced = defaults
[Interface ChandVpn]
enabled = ticked
lock = ticked
Device = wg1
Block Private Networks = not ticked
Block Bogon Networks = not ticked
IPv4 configuration type = Static IPv4
IPv6 configuration type = None
Mac Address, MTU, MSS not set
Dynamic Gateway policy = not ticked
Static IPv4 configuration = 10.26.0.4
IPv4 Upstream Gateway = GW_ChandVpn - 10.26.0.1
[Firewall NAT Outbound]
Automatic Rules are there for WAN1, ChandVpn for LAN, VLAN network, Loopback network, 127.0.0.0/8
Manual Rule
-----------
Disabled = not ticked
Do Not NAT = not ticked
Interface = ChandVpn
TCP/IP Version = IPv4
Protocol = any
Source Invert = not ticked
Source Address = any
Source Port = any
Destination Invert = not ticked
Destination Address = any
Destination Port = any
Translation Target = unset
Log = not ticked
Translation / Port = unset
Static Port = not ticked
Pool Options = Default
Remaining options not set
No Firewall Rules defined for Interface ChandVpn
Thanks.