[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

[Openvpn-users] OpenVPN and iptables

  • Subject: [Openvpn-users] OpenVPN and iptables
  • From: "Britain Crooker" <britainc@xxxxxxxxxxxxxx>
  • Date: Wed, 14 Nov 2007 18:12:04 -0500

We have Subversion running on the same server that has OpenVPN on it.  I would like to come up with some way to say "only allow clients to connect to Subversion if they are connected via the VPN".
Our configuration file is:
port 1194
proto udp
dev tap
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS"
keepalive 10 120
tls-auth ta.key 0 # This file is secret
max-clients 4
user nobody
group nobody
status openvpn-status.log
log-append  openvpn.log
verb 4