ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Nikolay A. Fetisov" <naf@naf.net.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] OpenVPN и статическая раздача адресов
Date: Sat, 10 Feb 2007 18:45:20 +0300
Message-ID: <20070210184520.4c245446@naf177.naf.net.ru> (raw)
In-Reply-To: <45CDA34F.90101@gmail.com>

On Sat, 10 Feb 2007 22:49:51 +1200
Alexey Borovskoy wrote:
> ...
> А можно пример статической конфигугации?
> 
> Я в файле ccd/user пишу так:
> ifconfig 10.0.0.6 10.0.0.5

Здесь нужен ifconfig-push, а не ifconfig.


Кусок рабочей конфигурации:

/etc/openvpn/openvpn.conf: 
....
server 192.168.242.0 255.255.255.0
client-config-dir /etc/openvpn/ccd-nnr
....

# cat /var/lib/openvpn/etc/openvpn/ccd-nnr/naf-m 
ifconfig-push 192.168.242.101 192.168.242.102

-- 
С уважением,
Николай Фетисов


  reply	other threads:[~2007-02-10 15:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-15 12:52 Alexey Borovskoy
2007-01-15 15:34 ` Nikolay A. Fetisov
2007-02-10 10:49   ` Alexey Borovskoy
2007-02-10 15:45     ` Nikolay A. Fetisov [this message]
2007-01-15 16:00 ` Andrei Bulava
2007-01-15 19:36   ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070210184520.4c245446@naf177.naf.net.ru \
    --to=naf@naf.net.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git