My setup is as follows:
eth0 Link encap:Ethernet inet addr:XXX.XXX.XXX.XXX eth1 Link encap:Ethernet inet addr:10.10.20.20 lo Link encap:Local Loopback tun0 inet addr:10.8.0.1
I would like to set my webmail to be accessible only when connecting via VPN. Currently, the VirtualHost directive is *:443. I assume I want to replace the * with the eth1 address.
But do I also have to set an iptables route? If so, what/how?