Page 1 of 1

connecting to Internet through VPN without Virtual NAT

Posted: Mon Sep 30, 2024 8:41 am
by Baka5571
Hi all!
How can I establish an Internet connection via VPN without enabling Virtual NAT? I am organizing a local bridge with a physical interface, but the client machine still accesses the Internet through its physical connection. I also tried to organize a local bridge with a virtual interface (tap_vpn) and already set up routing between the physical and virtual interfaces. BUT for some reason, users cannot ping the virtual interface.

Re: connecting to Internet through VPN without Virtual NAT

Posted: Mon Sep 30, 2024 9:07 am
by solo
You can replace "Virtual NAT" with iptables + dnsmasq. As for the ping issue, read "Bridge not working as expected".