Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Why is traffic routed to VPN also going to WAN?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Why is traffic routed to VPN also going to WAN? (Read 775 times)
deans20
Newbie
Posts: 4
Karma: 0
Why is traffic routed to VPN also going to WAN?
«
on:
July 14, 2023, 07:39:29 pm »
I've setup WireGuard, and routed traffic via the VPN. But from the Traffic Reports it looks to be also going through WAN. Am I reading this correctly that the traffic is going through both the VPN (dark green) and the WAN (amber)?
Logged
Patrick M. Hausen
Hero Member
Posts: 6839
Karma: 574
Re: Why is traffic routed to VPN also going to WAN?
«
Reply #1 on:
July 14, 2023, 07:42:26 pm »
Of course. The encapsulated traffic inside your VPN tunnel needs to get to this other VPN endpoint
somehow
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
deans20
Newbie
Posts: 4
Karma: 0
Re: Why is traffic routed to VPN also going to WAN?
«
Reply #2 on:
July 14, 2023, 07:52:56 pm »
Ah, yes I guess it does. So, this is normal.
So, the Wireguard traffic (green) is the encapsulated (VPN) traffic going through the WAN (amber). Hence amber being slightly larger in the graphs. Doh.
OK. So, how would one test that the VPN is working? In this case, all data from one docker machine (say on 192.168.1.142) is routed through VPN. How would I test that this is working and there is no other traffic not going through the WAN?
Logged
Patrick M. Hausen
Hero Member
Posts: 6839
Karma: 574
Re: Why is traffic routed to VPN also going to WAN?
«
Reply #3 on:
July 14, 2023, 08:54:30 pm »
Use some "what's my IP" service and look if you see your WAN or your VPN address.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Why is traffic routed to VPN also going to WAN?