Page 1 of 1

Private network config

Posted: Fri Jan 07, 2011 1:55 am
by john_es
I have openvpn setup and running just fine... my machine can remote into the server, grab an IP address, etc.

What I am wondering is, if I want to change my webmail from being publicly accessible to being accessible to just the private subnet, is this purely an apache config issue, or do I need to modify openvpn/iptables?

If there's a tutorial out there, let me know and I'll go read that before I ask further questions.

John

Re: Private network config

Posted: Fri Jan 07, 2011 3:28 am
by krzee
apache config / OS config
just tell it to serve the website on only your vpn server IP (apache config)
make sure the vpn server starts before the apache server (OS stuff)