loopback between tun and eth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I have a QNAP NAS which I have setup as a OpenVPN server. The NAS is
behind a modem/router which is also the gateway to the internet.

I have a routed OpenVPN connection to the QNAP NAS.

The QNAP subnet is 10.1.1.0
The OpenVPN subnet is 10.8.0.0
My LAN (client) is 192.168.150.0

In the router on the VPN server LAN I have a static route for 10.8.0.0
to 10.1.1.2 (QNAP NAS IP and also OpenVPN IP) - so there is a return
path so to speak for clients on the remote lan when accessed by VPN
clients.

The strange issue is that when I connect to the remote LAN I can
connect to all remote clients using the remote LAN subnet addresses
(10.1.1.0) *except* for the QNAP iteself (10.1.1.2).

Apparently this behavious is due to no loopback connection between the
tun and eth (someone suggested QNAP did this by design, but I dont
know why).

Anyway, the question is - is there a way using iptables I can fix this
loopback problem so I can access the QNAP/OpenVPN server on its remote
LAN IP? (10.1.1.2)

Cheers



--
"Beat it punk!"
- Clint Eastwood
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux