Debian 9.5 VPN соединение no ping

Автор x1Debian, 14 февраля 2019, 13:44:34

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

x1Debian

Здравствуйте! Подключаюсь к корпоративной сети по VPN c клиента Debian 9.5. Надо войти на сервер со статическим IP (например, LocalServerIP) в этой сети. Сервер LocalServerIP не пингуется.
$ nmcli --ask con up id GET"
В ответ на это получаю в командной строке
VPN connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/9)
А в логах /var/log/messages/
Feb 14 12:22:42 x1n2 NetworkManager[441]: <info> [1550136162.2049] audit: op="connection-activate" uuid="b7d07e13-ccfb-41c1-9408-a5fc79cbf96f" name="GET" pid=3309 uid=0 result="success"
Feb 14 12:22:42 x1n2 NetworkManager[441]: <info> [1550136162.2269] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",0]: Started the VPN service, PID 3315
Feb 14 12:22:42 x1n2 NetworkManager[441]: <info> [1550136162.2466] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",0]: Saw the service appear; activating connection
Feb 14 12:22:49 x1n2 NetworkManager[441]: <info> [1550136169.8070] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",0]: VPN connection: (ConnectInteractive) reply received
Feb 14 12:22:49 x1n2 NetworkManager[441]: <info> [1550136169.8104] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",0]: VPN plugin: state changed: starting (3)
Feb 14 12:22:49 x1n2 pppd[3320]: Plugin /usr/lib/pppd/2.4.7/nm-pptp-pppd-plugin.so loaded.
Feb 14 12:22:49 x1n2 pppd[3320]: pppd 2.4.7 started by root, uid 0
Feb 14 12:22:49 x1n2 NetworkManager[441]: <info> [1550136169.8214] manager: (ppp0): new Generic device (/org/freedesktop/NetworkManager/Devices/9)
Feb 14 12:22:49 x1n2 pppd[3320]: Using interface ppp0
Feb 14 12:22:49 x1n2 pppd[3320]: Connect: ppp0 <--> /dev/pts/0
Feb 14 12:22:49 x1n2 NetworkManager[441]: <info> [1550136169.8287] devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Feb 14 12:22:49 x1n2 NetworkManager[441]: <info> [1550136169.8288] device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Feb 14 12:22:51 x1n2 pppd[3320]: CHAP authentication succeeded
Feb 14 12:22:51 x1n2 pppd[3320]: MPPE 128-bit stateless compression enabled
Feb 14 12:22:53 x1n2 pppd[3320]: local IP address 192.168.0.115
Feb 14 12:22:53 x1n2 pppd[3320]: remote IP address 192.168.0.194
Feb 14 12:22:53 x1n2 pppd[3320]: primary DNS address 192.168.1.4
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3340] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",0]: VPN connection: (IP4 Config Get) reply received from old-style plugin
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3351] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: Data: VPN Gateway: ServerIP
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3352] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: Data: Tunnel Device: "ppp0"
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3352] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: Data: IPv4 configuration:
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3352] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: Data: Internal Address: 192.168.0.115
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3353] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: Data: Internal Prefix: 32
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3353] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: Data: Internal Point-to-Point Address: 192.168.0.194
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3353] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: Data: Maximum Segment Size (MSS): 0
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3353] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: Data: Forbid Default Route: no
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3354] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: Data: Internal DNS: 192.168.1.4
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3354] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: Data: DNS Domain: '(none)'
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3354] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: Data: No IPv6 configuration
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3355] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: VPN plugin: state changed: started (4)
Feb 14 12:22:53 x1n2 NetworkManager[441]: <info> [1550136173.3421] vpn-connection[0x55a45700a1a0,b7d07e13-ccfb-41c1-9408-a5fc79cbf96f,"GET",9:(ppp0)]: VPN connection: (IP Config Get) complete

где ServerIP адрес VPN сервера в сети Интернет. В какую сторону смотреть?

ihammers

Посмотрите через ip a поднялся ли интерфейс с адресом в VPN. Если да, то пробуйте ping до VPN-сервера (локальный адрес сети), если работает, то скорей всего проблема в настройках сервера.
Debian GNU/Linux Bookworm, LXQt/OpenBox: AMD Ryzen 5 5600G / 64Gb RAM
_______________________________
Debian GNU/Linux Bookworm, без графики: AMD Phenon X4 / 16Gb RAM
_______________________________
Debian GNU/Linux Bookworm, LXQt/OpenBox: Acer Aspire One 722 AMD C60 / 8Gb RAM / ATI HD6290

endru

Цитата: x1Debian от 14 февраля 2019, 13:44:34Data: Internal Prefix: 32
собственно вопрос - каким образом это будет работать, если в сети всего 1 адрес? не хватает конфигов и информации о сети чтобы чем-то помочь