Skip to content

Edgerouter connected to NordVPN through wireguard - mail issue. #143

@avsiman

Description

@avsiman

Package version

1.0.20220627-1

Firmware version

v2.0.9-hotfix.5

Device

EdgeRouter 4 / 6P / 12 - e300

Issue description

I'm using Edgerouter 4 to connect to NordVPN using wireguard. The connection works and I'm able to route traffic, use the internet and run speed test to ensure that everything is working. However on both my computer and iphone the mail apps timeout and won't connect to the gmail and icloud server. On the iphone I'm using the standard mail app and on the windows machine I'm using the built in mail app. I have also tested on SurfShark and have the same result.

When I complete the same setup using using OpenVPN to the NordVPN servers I have no issue and the mail programs work as expected.

With a slightly different setup I can use the wireguard app on my iphone to connect to the edgerouter. I then have this interface routed to the NordVPN server using wireguard and the mail apps work fine.

Has anyone experienced any issues with this?

Configuration and log output

set interfaces wireguard wg6 address *.*.*.*/32 
set interfaces wireguard wg6 description 'NordVPN WireGuard Can - Tunnel'

set interfaces wireguard wg6 listen-port 52523
set interfaces wireguard wg6 route-allowed-ips false

set interfaces wireguard wg6 private-key C***********=

set interfaces wireguard wg6 peer x**********= description nordvpn_Can_server

set interfaces wireguard wg6 peer x********= endpoint 176.*.*.*:51820
set interfaces wireguard wg6 peer x********= persistent-keepalive 25
set interfaces wireguard wg6 peer x********= allowed-ips 0.0.0.0/0
commit

set service nat rule 5004 description 'IDVpnCan'
set service nat rule 5004 log disable
set service nat rule 5004 outbound-interface wg6
set service nat rule 5004 source address 10.0.81.0/24
set service nat rule 5004 type masquerade
commit
set protocols static table 2 interface-route 0.0.0.0/0 next-hop-interface wg6
set firewall modify SOURCE_ROUTE_CAN rule 10 description 'traffic from 10.0.81.0/24 to wg6'
set firewall modify SOURCE_ROUTE_CAN rule 10 source address 10.0.81.0/24
set firewall modify SOURCE_ROUTE_CAN rule 10 modify table 2
set interfaces ethernet eth1 vif 81 firewall in modify SOURCE_ROUTE_CAN
commit

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/possibleA possible bug that has not yet been confirmed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions