need help with vpn
Tofloor
poster avatar
hadikamel
deepin
2019-01-02 08:55
Author
i am new here after 3 years
i want to mirigate from windows 10 to Deepin for my office.

i have a vpn account that all of our company's works are doing with it...
in windows, after connecting to vpn , i use this command and i have internet with vpn :

the command in windows is:

  1. route add 192.168.0.0/16 192.168.38.0

  2. route add 192.168.0.0/16 192.168.39.0
Copy the Code


but now, in Deepin 15.8, i setted up my company's vpn, but  only my company's sites are working and i have not access to internet with my connected vpn.

please help me for solving this.


this is some information of my PC :

route , without vpn:
  1. qayenshatel@qayenshatel-PC:~$ route
  2. Kernel IP routing table
  3. Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  4. default         Delsa.DEL1312   0.0.0.0         UG    100    0        0 enp3s0
  5. 85-15-7-7.shate Delsa.DEL1312   255.255.255.255 UGH   0      0        0 enp3s0
  6. 192.168.7.0     0.0.0.0         255.255.255.0   U     100    0        0 enp3s0
Copy the Code


route, with connected vpn:

  1. qayenshatel@qayenshatel-PC:~$ route
  2. Kernel IP routing table
  3. Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  4. default         0.0.0.0         0.0.0.0         U     50     0        0 ppp0
  5. default         192.168.7.1     0.0.0.0         UG    100    0        0 enp3s0
  6. 85-15-7-7.shate 192.168.7.1     255.255.255.255 UGH   0      0        0 enp3s0
  7. 85-15-7-7.shate 192.168.7.1     255.255.255.255 UGH   100    0        0 enp3s0
  8. 192.168.7.0     0.0.0.0         255.255.255.0   U     100    0        0 enp3s0
  9. 192.168.7.1     0.0.0.0         255.255.255.255 UH    100    0        0 enp3s0
  10. 192.168.36.1    0.0.0.0         255.255.255.255 UH    50     0        0 ppp0
Copy the Code


  1. qayenshatel@qayenshatel-PC:~$ ip route show
  2. default dev ppp0 proto static scope link metric 50
  3. default via 192.168.7.1 dev enp3s0 proto dhcp metric 100
  4. 85.15.7.7 via 192.168.7.1 dev enp3s0 src 192.168.7.38
  5. 85.15.7.7 via 192.168.7.1 dev enp3s0 proto static metric 100
  6. 192.168.7.0/24 dev enp3s0 proto kernel scope link src 192.168.7.38 metric 100
  7. 192.168.7.1 dev enp3s0 proto static scope link metric 100
  8. 192.168.36.1 dev ppp0 proto kernel scope link src 192.168.38.66 metric 50
Copy the Code

  1. qayenshatel@qayenshatel-PC:~$ sudo tcpdump -n -i ppp0
  2. [sudo] password for qayenshatel:
  3. tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
  4. listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
  5. 20:22:03.123372 IP 192.168.38.66.39070 > 66.102.1.189.443: Flags [S], seq 890230256, win 27200, options [mss 1360,sackOK,TS val 2148588851 ecr 0,nop,wscale 7], length 0
  6. 20:22:04.147385 IP 192.168.38.66.37236 > 216.58.206.174.443: Flags [S], seq 2594721192, win 27200, options [mss 1360,sackOK,TS val 4056378354 ecr 0,nop,wscale 7], length 0
  7. 20:22:04.147417 IP 192.168.38.66.39072 > 66.102.1.189.443: Flags [S], seq 3292761615, win 27200, options [mss 1360,sackOK,TS val 2148589875 ecr 0,nop,wscale 7], length 0
  8. 20:22:04.403384 IP 192.168.38.66.37240 > 216.58.206.174.443: Flags [S], seq 2101911726, win 27200, options [mss 1360,sackOK,TS val 4056378610 ecr 0,nop,wscale 7], length 0
  9. 20:22:04.403410 IP 192.168.38.66.37238 > 216.58.206.174.443: Flags [S], seq 1578506516, win 27200, options [mss 1360,sackOK,TS val 4056378610 ecr 0,nop,wscale 7], length 0
  10. 20:22:05.171384 IP 192.168.38.66.39080 > 66.102.1.189.443: Flags [S], seq 107607576, win 27200, options [mss 1360,sackOK,TS val 2148590899 ecr 0,nop,wscale 7], length 0
  11. 20:22:08.706739 IP 192.168.38.66.34272 > 239.255.255.250.1900: UDP, length 171
  12. 20:22:09.707530 IP 192.168.38.66.34272 > 239.255.255.250.1900: UDP, length 171
Copy the Code

  1. qayenshatel@qayenshatel-PC:~$ ifconfig
  2. enp3s0: flags=4163  mtu 1500
  3.         inet 192.168.7.38  netmask 255.255.255.0  broadcast 192.168.7.255
  4.         inet6 fe80::bc3c:dff2:98c0:d273  prefixlen 64  scopeid 0x20
  5.         ether 30:0e:d5:18:a2:a6  txqueuelen 1000  (Ethernet)
  6.         RX packets 50463  bytes 39811591 (37.9 MiB)
  7.         RX errors 0  dropped 0  overruns 0  frame 0
  8.         TX packets 30537  bytes 4988480 (4.7 MiB)
  9.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  10. eth0: flags=4099  mtu 1500
  11.         ether 00:e0:4c:53:44:58  txqueuelen 1000  (Ethernet)
  12.         RX packets 0  bytes 0 (0.0 B)
  13.         RX errors 0  dropped 0  overruns 0  frame 0
  14.         TX packets 0  bytes 0 (0.0 B)
  15.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  16. lo: flags=73  mtu 65536
  17.         inet 127.0.0.1  netmask 255.0.0.0
  18.         inet6 ::1  prefixlen 128  scopeid 0x10
  19.         loop  txqueuelen 1000  (Local Loopback)
  20.         RX packets 0  bytes 0 (0.0 B)
  21.         RX errors 0  dropped 0  overruns 0  frame 0
  22.         TX packets 0  bytes 0 (0.0 B)
  23.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  24. ppp0: flags=4305  mtu 1400
  25.         inet 192.168.38.66  netmask 255.255.255.255  destination 192.168.36.1
  26.         ppp  txqueuelen 3  (Point-to-Point Protocol)
  27.         RX packets 36  bytes 2743 (2.6 KiB)
  28.         RX errors 0  dropped 0  overruns 0  frame 0
  29.         TX packets 324  bytes 20171 (19.6 KiB)
  30.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Copy the Code




thank you all

Reply Favorite View the author
All Replies
s***[email protected]
deepin
2019-01-04 17:14
#1
best free vpn for google chrome and chromium based browser is Uvpn. It free and Easy.
Reply View the author
Comments
olu
2019-01-07 03:15
nice one