🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.sieci
Article #57217

Re: OpenVPN jak skonfigurować routing

#57217
From: elmer radi radisson
Date: Wed, 06 Dec 2017 10:59
42 lines
2460 bytes
On 2017-12-05 18:28, markpunk wrote:

> przeczytałem, nie zrozumiałem (nadal nie działa)
> 
> gdy dodaję to iroute to w logach jest ze niepoprawny parametr

Czy zrobiles to w wydzielonym konfigu dla konkretnego klienta?

Zgodnie z wczesniej linkowanym opisem "the right place to insert this 
information on the server is in the client config directory."

vide przyklady w konfigu openvpn:

# To assign specific IP addresses to specific
# clients or if a connecting client has a private
# subnet behind it that should also have VPN access,
# use the subdirectory "ccd" for client-specific
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# configuration files (see man page for more info).

# EXAMPLE: Suppose the client
# having the certificate common name "Thelonious"
# also has a small subnet behind his connecting
# machine, such as 192.168.40.128/255.255.255.248.
# First, uncomment out these lines:
;client-config-dir ccd
;route 192.168.40.128 255.255.255.248
# Then create a file ccd/Thelonious with this line:
#   iroute 192.168.40.128 255.255.255.248
# This will allow Thelonious' private subnet to
# access the VPN.  This example will only work
# if you are routing, not bridging, i.e. you are
# using "dev tun" and "server" directives.






-- 

memento lorem ipsum
Technical Details
Message-ID: <p08ijl$fg9$1@portraits.wsisiz.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!.POSTED.nim.omnitec.pl!not-for-mail
References: <d95d999c-baab-46e3-bbcd-ff92f2c6d54c@googlegroups.com> <5a145e13$0$5155$65785112@news.neostrada.pl> <7601eb8e-e800-448a-b5c9-8dddf14f098d@googlegroups.com> <ov6bau$qnr$1@portraits.wsisiz.edu.pl> <5a4d5ac5-6739-4fd7-838e-f6bf272e3778@googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!.POSTED.nim.omnitec.pl!not-for-mail
From: elmer radi radisson <radi@spam-spam-spam-eggs-bacon-and.spam.wireland.org>
Newsgroups: pl.comp.sieci
Subject: Re: OpenVPN jak skonfigurować routing
Date: Wed, 6 Dec 2017 11:59:45 +0100
Organization: InterroR Dezign'tegration Labs.
Message-ID: <p08ijl$fg9$1@portraits.wsisiz.edu.pl>
References: <d95d999c-baab-46e3-bbcd-ff92f2c6d54c@googlegroups.com> <5a145e13$0$5155$65785112@news.neostrada.pl> <7601eb8e-e800-448a-b5c9-8dddf14f098d@googlegroups.com> <ov6bau$qnr$1@portraits.wsisiz.edu.pl> <5a4d5ac5-6739-4fd7-838e-f6bf272e3778@googlegroups.com>
Mime-Version: 1.0
Injection-Date: Wed, 6 Dec 2017 11:00:05 -0000 (UTC)
Injection-Info: portraits.wsisiz.edu.pl; posting-host="nim.omnitec.pl:83.175.175.16"; logging-data="15881"; mail-complaints-to="abuse@wsisiz.edu.pl"
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
In-Reply-To: <5a4d5ac5-6739-4fd7-838e-f6bf272e3778@googlegroups.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit