Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173261 > unrolled thread

need help on pptp config

Started byLi Wei <rootof3@yahoo.com>
First post2016-10-07 03:20 +0200
Last post2016-10-08 11:40 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  need help on pptp config Li Wei <rootof3@yahoo.com> - 2016-10-07 03:20 +0200
    Re: need help on pptp config Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-10-07 21:20 +0200
    Re: need help on pptp config Eero Volotinen <eero.volotinen@iki.fi> - 2016-10-08 11:40 +0200

#173261 — need help on pptp config

FromLi Wei <rootof3@yahoo.com>
Date2016-10-07 03:20 +0200
Subjectneed help on pptp config
Message-ID<sprZo-Id-17@gated-at.bofh.it>
I want to use vpn to bypass censor.
In XP, it's OK
In Linux I have installed and run pptp-linux:

Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
CHAP authentication succeeded
MPPE 128-bit stateless compression enabled
local  IP address 192.168.115.34
remote IP address 192.168.115.1

though I can visit sites not blocked by censor in Iceweasel
I still can't visit sites blocked by censor 

below is by the Linux route command:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         www.routerlogin 0.0.0.0         UG    0      0        0 eth
0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth
0

I think sth. is wrong. Below is by Windows XP route command:
(Note that I have changed the real IP to 103.72.6.116.)

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 19 21 d1 80 74 ...... Realtek RTL8139 Family PCI Fast Ethernet NIC
0x20004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.1.1     192.168.1.3	  21
          0.0.0.0          0.0.0.0   192.168.115.34  192.168.115.34	  1
     103.72.6.116  255.255.255.255      192.168.1.1     192.168.1.3	  20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1	  1
      192.168.1.0    255.255.255.0      192.168.1.3     192.168.1.3	  20
      192.168.1.3  255.255.255.255        127.0.0.1       127.0.0.1	  20
    192.168.1.255  255.255.255.255      192.168.1.3     192.168.1.3	  20
   192.168.115.34  255.255.255.255        127.0.0.1       127.0.0.1	  50
  192.168.115.255  255.255.255.255   192.168.115.34  192.168.115.34	  50
        224.0.0.0        240.0.0.0      192.168.1.3     192.168.1.3	  20
        224.0.0.0        240.0.0.0   192.168.115.34  192.168.115.34	  1
  255.255.255.255  255.255.255.255      192.168.1.3     192.168.1.3	  1
  255.255.255.255  255.255.255.255   192.168.115.34  192.168.115.34	  1
Default Gateway:    192.168.115.34
===========================================================================
Persistent Routes:
  None



What should I do to get iceweasel working?
Thanks in advance!

[toc] | [next] | [standalone]


#173286

FromPascal Hambourg <pascal@plouf.fr.eu.org>
Date2016-10-07 21:20 +0200
Message-ID<spIQx-4RZ-1@gated-at.bofh.it>
In reply to#173261
Le 07/10/2016 à 03:04, Li Wei a écrit :
> I want to use vpn to bypass censor.
> In XP, it's OK
> In Linux I have installed and run pptp-linux:

Why PPTP ? Didn't you just write you wanted a VPN ?

> Using interface ppp0
> Connect: ppp0 <--> /dev/pts/1
> CHAP authentication succeeded
> MPPE 128-bit stateless compression enabled
> local  IP address 192.168.115.34
> remote IP address 192.168.115.1
>
> though I can visit sites not blocked by censor in Iceweasel
> I still can't visit sites blocked by censor
>
> below is by the Linux route command:
>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> default         www.routerlogin 0.0.0.0         UG    0      0        0 eth0
> 192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
>
> I think sth. is wrong.

Obviously. There should be at least a route to the remote IP 
192.168.115.1 on interface ppp0.

How do you connect the VPN ?
What is the output of "ifconfig -a" or "ip addr" ?

> (Note that I have changed the real IP to 103.72.6.116.)

Please use addresses in the 192.0.2.0/24 range reserved for examples and 
documentation so it is obvious they are not real addresses. Don't pick 
any real assigned address.

[toc] | [prev] | [next] | [standalone]


#173314

FromEero Volotinen <eero.volotinen@iki.fi>
Date2016-10-08 11:40 +0200
Message-ID<spWgO-5hp-15@gated-at.bofh.it>
In reply to#173261

[Multipart message — attachments visible in raw view] — view raw

How about using graphical pptp client, like network manager?

Eero

2016-10-07 4:04 GMT+03:00 Li Wei <rootof3@yahoo.com>:

> I want to use vpn to bypass censor.
> In XP, it's OK
> In Linux I have installed and run pptp-linux:
>
> Using interface ppp0
> Connect: ppp0 <--> /dev/pts/1
> CHAP authentication succeeded
> MPPE 128-bit stateless compression enabled
> local  IP address 192.168.115.34
> remote IP address 192.168.115.1
>
> though I can visit sites not blocked by censor in Iceweasel
> I still can't visit sites blocked by censor
>
> below is by the Linux route command:
>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> default         www.routerlogin 0.0.0.0         UG    0      0        0
> eth0
> 192.168.1.0     *               255.255.255.0   U     0      0        0
> eth0
>
> I think sth. is wrong. Below is by Windows XP route command:
> (Note that I have changed the real IP to 103.72.6.116.)
>
> ============================================================
> ===============
> Interface List
> 0x1 ........................... MS TCP Loopback interface
> 0x10003 ...00 19 21 d1 80 74 ...... Realtek RTL8139 Family PCI Fast
> Ethernet NIC
> 0x20004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
> ============================================================
> ===============
> ============================================================
> ===============
> Active Routes:
> Network Destination        Netmask          Gateway       Interface  Metric
>           0.0.0.0          0.0.0.0      192.168.1.1     192.168.1.3
>  21
>           0.0.0.0          0.0.0.0   192.168.115.34  192.168.115.34       1
>      103.72.6.116  255.255.255.255      192.168.1.1     192.168.1.3
>  20
>         127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
>       192.168.1.0    255.255.255.0      192.168.1.3     192.168.1.3
>  20
>       192.168.1.3  255.255.255.255        127.0.0.1       127.0.0.1
>  20
>     192.168.1.255  255.255.255.255      192.168.1.3     192.168.1.3
>  20
>    192.168.115.34  255.255.255.255        127.0.0.1       127.0.0.1
>  50
>   192.168.115.255  255.255.255.255   192.168.115.34  192.168.115.34
>  50
>         224.0.0.0        240.0.0.0      192.168.1.3     192.168.1.3
>  20
>         224.0.0.0        240.0.0.0   192.168.115.34  192.168.115.34       1
>   255.255.255.255  255.255.255.255      192.168.1.3     192.168.1.3       1
>   255.255.255.255  255.255.255.255   192.168.115.34  192.168.115.34       1
> Default Gateway:    192.168.115.34
> ============================================================
> ===============
> Persistent Routes:
>   None
>
>
>
> What should I do to get iceweasel working?
> Thanks in advance!
>
>
>
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web