sokosko
Hi Folks,
I need some support by building a Open VPN Client as IP Forwarder.
My Problem is, that only traffic, which is masquaraded by VPN Clients Tunnel IP
will be delivered to the open VPN Server. (tcpdump at server shows packet)
If I using some other IP, than VPN adapter IP as Source, the traffic is routed to the tunnel but will not be delivered to the OpenVPN Server (tcpdump at server shows NO packet)
My Setup:
OpenVPN Server:
Server Mode: Remote Access
Device Mode: TUNNEL
IPv4 Tunnel Network: 10.10.10.0/24
IPv6 Tunnel Network: dead:beef:ffff:fd00::/64
OpenVPN Client:
working as IP forwarder.
As I told, Forwarding is working. But Only when i do a NAT and use the tun0 IP of the VPN Client as Source.
Why is it not possible to use a source IP from the same Subnet like the VPN adapter IP.
Do you have an Idea what is missing?
thanks in advance for your help
sokosko
Hi, thanks for the answer.
As I sad forwarding is working but only one way and with NAT. Client LAN to Server LAN.
So if I do a forwarding with a source Address of my Cleint LAN (so without NAT)
the VPN Client routes the Paket into the Tunnel but it will never Apaer at the OpenVPN Servers (PFSENSE) VPN Interface.
If I do a Masquarade (NAT VPN IP) with the same Paket, I see it is routed into the tunnel but arrive the PFSENSE Interface.
Even if my routing at pfense is faulty I should see that first paket with TCPDUMP. But all Pakets from not-VPN Adapter IP Addresses disapear even they are routed into the tunnel by cleint side.