OpenVPN - nekomunikuji mezi sebou klienti

Milan Kocián milon na wq.cz
Pondělí Říjen 24 22:11:40 CEST 2005


On Mon, 2005-10-24 at 20:57 +0200, Damir Špoljarič wrote:
> Zdravim. bezi mi openvpn na jednom stroji jako server a jsou k nemu 
> pripojeni 4 klienti. Komunikace serveru s klientem probiha ok, ale 
> komunikace mezi klienty nefunguje :( .. uz si fakt nevim rady. Podobny 
> problem sem nikde nenasel.
> 
> Prikladam configy serveru i klienta:
> ###################################SERVER################################3
> mode server
> tls-server
> dev tap0
> ifconfig 192.168.100.1 255.255.255.0
> ifconfig-pool 192.168.100.2 192.168.100.100 255.255.255.0
> duplicate-cn
> ca ca.crt
> cert server.crt
> key server.key
> dh dh1024.pem
> log-append /var/log/openvpn
> status /var/run/openvpn/vpn.status 10
> persist-key
> persist-tun
> user openvpn
> group openvpn
> keepalive 10 120
> comp-lzo
> verb 3
> ####################
> ###############################KLIENT#######################################
> remote server.iczf.net 1194
> tls-client
> client
> dev tap
> ca ca.crt
> cert client1.crt
> key client1.key
> resolv-retry infinite
> nobind
> comp-lzo
> verb 3
> persist-key
> persist-tun
> 
> 
> 
> 
> 
> 
> Diky moc za kazdou radu..
> 
> Damir SPoljaric
> 
> 

Dobry den,

co direktiva 'client-to-client' nepomuze? Tedy pokud je to verze openvpn
2.x. Verze 1.x to myslim nemela.

viz.
# Uncomment this directive to allow different
# clients to be able to "see" each other.
# By default, clients will only see the server.
# To force clients to only see the server, you
# will also need to appropriately firewall the
# server's TUN/TAP interface.
client-to-client

S pozdravem Milan Kocian




Další informace o konferenci Linux