Private network config

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
john_es
OpenVPN User
Posts: 28
Joined: Sun Dec 26, 2010 2:02 pm

Private network config

Post by john_es » Fri Jan 07, 2011 1:55 am

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

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Private network config

Post by krzee » Fri Jan 07, 2011 3:28 am

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)

Post Reply