Hot answers tagged


Solved using redirect-gateway with the block-local flag, essentially blocking all connections to the local network and routing all traffic through the VPN server to the remote network.


From the reference manual for OpenVPN 2.4: –explicit-exit-notify [n]: In UDP server mode, send RESTART control channel command to connected clients.


iptables -t nat -I PREROUTING -d -j DNAT --to-destination But if I try, on said OpenVPN server itself, telnet 80 This will not work in principle as you are trying another use case. In case you are going directly from openVPN server the proper chain would be iptables -t nat -I OUTPUT, while iptables -t nat -I ...

Only top voted, non community-wiki answers of a minimum length are eligible