docker-openvpn icon indicating copy to clipboard operation
docker-openvpn copied to clipboard

How to deny outgoing traffic?

Open MartinTerp opened this issue 4 years ago • 0 comments

Hi

This is maybe not so much related to this project, than maybe iptables/openvpn, but since I use this image, I thought I would give it a go here.

I use this openvpn server, as a form of reverse proxy. My clients has a webserver running, and when they connect to the vpn server, I than then access the webserver on the client via the IP giving by openvpn server. All that is good, it works fine.

What im hoping to do, is denying clients from accessing the internet via this tunnel, but only allow traffic TO the client, and the response back, I have been trying to figure it out via iptables but no luck.

Ideas on how this can be done?

Thanks in advance.

MartinTerp avatar Feb 17 '21 10:02 MartinTerp