[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
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
 
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 10.8.0.1"
keepalive 10 120
tls-auth ta.key 0 # This file is secret
comp-lzo
max-clients 4
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
log-append  openvpn.log
verb 4