Hi,

On Mon, Jul 31, 2023 at 06:40:45AM +0000, Jason Long via Openvpn-users wrote:
> I want to connect my Windows VM to my OpenVNP server so that it can see my 
> internal network. For example, my Windows VM can "ping 172.20.1.18".


IP communication (ping) always requires two directions - sender to 
receipient, and then *answer* from receipient back to sender.

Your setup sounds like "OpenVPN clients to internal network should
work fine" (unless iptables block it, your setup is way too complicated
here for a start), but "the internal network does not know where to
send reply packets".

So you either need to add a NAT rule for outgoing packets towards
"internal network", or the hosts there need a route *back* for 
the OpenVPN clients "to the OpenVPN router".

As I said - get a textbook on TCP/IP + basic routing, before trying
complex setups with multiple servers, multiple layers of iptables, and
much added complexity that we're not going to debug for you.

>gert




Hi Gert,
Thank you so much.
the problem is that I must enable the IP forwarding. In this mailing list and 
other places on the Internet, I read that the IP Forwarding must be disabled. I 
enabled it and ping worked, but I can't ping the targets by their names.
Any idea?


-- 
"If was one thing all people took for granted, was conviction that if you 
feed honest figures into a computer, honest figures come out. Never doubted 
it myself till I met a computer with a sense of humor."
                            Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                            g...@greenie.muc.de



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to