Disable NAT through OpenVPN Server
Budget: $10 – $30 USD
OpenVPN Server: on openWRT Router
OpenWRT Router has a lan subnet: 192.168.5.0/24
OpenVPN Subnet passed to clients: 192.168.8.0/24
When I (client) connect to the OpenVPN Server:
- I get assigned an IP for example 192.168.8.2
- with a gateway IP: 192.168.8.1
Avahi is running to forward mdns packets through to the OpenVPN which works.
Problem:
- All mdns traffic source is the gateway ip, 192.168.8.1. I want it to come from the original device IP from the LAN.
See attached pictures.
OpenWRT Router has a lan subnet: 192.168.5.0/24
OpenVPN Subnet passed to clients: 192.168.8.0/24
When I (client) connect to the OpenVPN Server:
- I get assigned an IP for example 192.168.8.2
- with a gateway IP: 192.168.8.1
Avahi is running to forward mdns packets through to the OpenVPN which works.
Problem:
- All mdns traffic source is the gateway ip, 192.168.8.1. I want it to come from the original device IP from the LAN.
See attached pictures.