Page 1 of 1

Hide Real IP port:80

Posted: Tue Nov 22, 2011 10:11 am
by SnuggleToes
Hi thanks for a great forum,

Now to my question...

I have installed OpenVPN on my webserver. It runs on Xampp and windows 7
in httpd.conf i have put in the VPN IP (OpenVpn) xxx.xxx.xxx.xxx:80 and the server runs perfect.

But i can login to the site with the computers (real ip) from outside.
For example if someone knows this IP from before they can use it to locate server.
So my question is how can i hide this IP så you only can connect to the server from the VPN IP (OpenVpn).

Is there any possibility to fix this?

Greatful for some help in this.

Best regards

/ SnuggleToes

Re: Hide Real IP port:80

Posted: Tue Nov 22, 2011 9:48 pm
by janjust
if the webserver runs only on the VPN IP port 80 then it is accessible only on that port.
You can check this using

Code: Select all

netstat -an | grep :80
this sounds more like an apache config issue then an OpenVPN issue.

Re: Hide Real IP port:80

Posted: Wed Nov 23, 2011 7:06 am
by Mimiko
Or you can use firewall to block access to web server thru real IP.