Project

General

Profile

Actions

Bug #3682

closed

Openvpn not routing incomming traffic correct when using tap device

Added by Lars Jensen almost 11 years ago. Updated almost 11 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
05/29/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

I have 2 openvpn clients on my server 1 running with tun as device and 1 running with tap as device,

traffic coming from the outside to example port 53 using tun is routed correctly back over the openvpn client,

traffic coming from the outside to example port 53 using tap is routed over the default route and not the interface it is coming from, the only way I have found is to use redirect-gateway def1
this will create a route in the top of the routing table with 0.0.0.0/1 (tap gateway), but that should not be needed as traffic should be routed back over the same interface as it came in on.

Actions

Also available in: Atom PDF