Page 1 of 1

OpenVPN - UFW - Allow all connection over OpenVPN Client

Posted: Tue Aug 30, 2016 4:11 pm
by csskevin
Hello Community,

I have following problem: I have installed an OpenVPN server on Ubuntu 14.04. I configured it successfully and when I am connecting to a website I get the external IP from the VPN Server. (I checked it with http://whatsmyip.org). As well as good.

But: I have installed on the same server an Apache Server. When I am connecting on it, I get my "real" external IP and not the external IP from the Server. I excepted that I get the internal IP, which I received from the VPN Server, which should be 10.8.0.6.

My goal is, that I block all connection on port 80 via UFW excepted VPN Clients. But I can't figure these out.

Has anyone an idea?

Thanks in advance,

csskevin