Open VPN Remote Access Client as IP Forwarder (Gateway)
I need some support by building a Open VPN Remote Access 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 (PFSENSE). (tcpdump at PFSENSE 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 PFSENSE (tcpdump at PFSENSE shows NO packet)
OpenVPN Server (PFSENSE):
Server Mode: Remote Access
Device Mode: TUNNEL
IPv4 Tunnel Network: 10.10.10.0/24
IPv6 Tunnel Network: dead:beef:ffff:fd00::/64
working as IP forwarder.
As I told, Forwarding is working. But Only one Way and when i do a NAT and use the tun0 IP of the VPN Client as Source.
It is also not possible to build a reverse way to reach clients behind OpenVPN Client from the PFSENSE.
Is this just not possible or do I miss something?
I know my Scenario is working with Peer-to-Peer Server Mode but I need to get it work with RAS Clients.
thanks in advance for your help
Ok, I found a solution for Remote Access Clients.
- Openvpn Client: IP Forwarding configured (Borderrelay)
- PFSENSE: Client Specific Override for CN of the Borderrelay configured (Remote Networks added)
- PFSENSE: Borderrelay VPN IP as Gateway configured
- PFSENSE: OpenVPN Service restart
Now I am able to reach the Configured networks behind the Borderrelay from PFSENSE and also the PFSENSE Networks from the Client behind the Borderrelay.