From: Vladimir Karpinsky <vkarpinsky@mail.ru> To: sysadmins@lists.altlinux.org Subject: [Sysadmins] Настройка OpenVPN Date: Sun, 06 Apr 2014 16:58:04 +0400 Message-ID: <53414F5C.8010902@mail.ru> (raw) Здравствуйте! Есть OpenVPN сервер, есть сеть (10.8.0.1/24), в которую входят клиенты. Тут всё работает: сервер видит всех, клиенты видят сервер и друг друга --- полная идиллия. Но один из клиентов является GSM-роутером и за ним есть ещё сеть. На роутере поднят OpenVPN-клиент на роутер и его сеть (192.168.50.16/28). В этой сети стоит компьютер (192.168.50.20), который видит OVPN-сервер, сервер видит его, но другие клиенты этот компьютер не видят, и он других клиентов тоже не видит. Конфиги: Сервер port 1194 proto udp dev tun ca /etc/openvpn/keys/ca-root.pem cert /etc/openvpn/keys/openvpn-server.cert key /etc/openvpn/keys/openvpn-server.key dh /etc/openvpn/keys/dh1024.pem server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt client-config-dir /etc/openvpn/ccd route 192.168.50.16 255.255.255.240 push "dhcp-option DOMAIN pul" client-to-client keepalive 10 120 comp-lzo persist-key persist-tun status openvpn-status.log verb 3 management localhost 7505 Клиент client dev tun proto udp remote xxx.xxx.xxx.xxx 1194 resolv-retry infinite ca /var/openvpn/ca.pem cert /var/openvpn/cert.pem key /var/openvpn/key.pem persist-key persist-tun keepalive 10 120 comp-lzo verb 5 # cat /var/lib/openvpn/etc/openvpn/ccd/ruh2b ifconfig-push 10.8.0.86 10.8.0.85 iroute 192.168.50.16 255.255.255.240 У других клиентов в соответствующем файле второй строки нет. Кому и что надо сказать ещё? -- С уважением, Владимир.
next reply other threads:[~2014-04-06 12:58 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-04-06 12:58 Vladimir Karpinsky [this message] 2014-04-06 14:38 ` Vladimir Karpinsky 2014-04-06 16:09 ` Anton Gorlov 2014-04-06 16:19 ` Vladimir Karpinsky 2014-04-06 17:15 ` Vladimir Karpinsky 2014-04-07 23:10 ` Vladimir Karpinsky 2014-04-08 7:42 ` Anton Gorlov 2014-04-08 9:44 ` Vladimir Karpinsky 2014-04-08 10:42 ` Dmitriy L. Kruglikov 2014-04-08 11:58 ` Anton Farygin 2014-04-08 12:11 ` Dmitriy L. Kruglikov 2014-04-08 12:34 ` Anton Gorlov 2014-04-08 18:51 ` Vladimir Karpinsky
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=53414F5C.8010902@mail.ru \ --to=vkarpinsky@mail.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