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

[Openvpn-users] Listen statement


  • Subject: [Openvpn-users] Listen statement
  • From: Per-Olov Sjöholm <pos@xxxxxxxxxx>
  • Date: Wed, 1 Mar 2006 14:20:17 +0100

Hi

How can I make OpenVPN 2.0.5 listen on just a specific address and not being 
greedy and bind to all IP:s in the server? I have searched the archives 
without success...

This a an example config I want to change to bind to a single machine IP....

--snip--
daemon openvpn
port 443
proto tcp
dev tun2
server 192.168.210.0 255.255.255.0
log-append /var/log/openvpnd-tcp.log
status /var/log/openvpnd-status-tcp.log 10
dh /etc/ssl/dh2048.pem
ca /etc/ssl/CA_cert.pem
cert /etc/ssl/certs/CVPNgw3.pem
key /etc/ssl/keys/KVPNgw3.pem
crl-verify /etc/ssl/crl/crl.pem
max-clients 50
keepalive 10 60
user openvpn
group openvpn
persist-key
persist-tun
push "route 192.168.12.0 255.255.252.0"
push "dhcp-option DNS 192.168.13.12"
push "dhcp-option DNS 192.168.13.13"
push "dhcp-option WINS 192.168.13.15"
push "dhcp-option WINS 192.168.13.14"
push "dhcp-option NBT 8"
tls-auth /etc/openvpn/TCP/ta.key 0
comp-lzo
verb 4
mute 20
--snip--


Thanks
Per-Olov Sjöholm
-- 
GPG keyID: 4DB283CE
GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-03/msg00003.html on line 222

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-03/msg00003.html on line 222