OpenVPN - UFW - Allow all connection over OpenVPN Client

Scripts with setup, destroy, and modify routing tables and firewall rulesets for client connections.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
csskevin
OpenVpn Newbie
Posts: 1
Joined: Tue Aug 30, 2016 4:09 pm

OpenVPN - UFW - Allow all connection over OpenVPN Client

Post by csskevin » Tue Aug 30, 2016 4:11 pm

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

Post Reply