Sida 1 av 1

Problem med VPN i terminalen

Postat: 06 sep 2009, 10:57
av elefantungen
Tjena alla go o glada..
Har en VPN-tjänst(PPTP) hos flashback som inte vill funka hela vägen.

Jag kan ansluta, men får ingen trafik att gå på den anslutningen.
Har kommit fram till att man ska routa trafiken med 'route', men får inte detta att fungera.
Visar här hur mitt table ser ut.

Kod: Markera allt

eth0      Link encap:Ethernet  HWaddr 00:1c:c0:8c:c2:7e  
          inet addr:192.168.0.111  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:c0ff:fe8c:c27e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10559867 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5490107 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1853328266 (1.8 GB)  TX bytes:3591138256 (3.5 GB)
          Interrupt:252 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12791 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12791 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2629221 (2.6 MB)  TX bytes:2629221 (2.6 MB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:93.182.168.70  P-t-P:93.182.168.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1496  Metric:1
          RX packets:58 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:3431 (3.4 KB)  TX bytes:66 (66.0 B)

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
93.182.168.2    192.168.0.1     255.255.255.255 UGH       0 0          0 eth0
93.182.168.2    *               255.255.255.255 UH        0 0          0 ppp0
192.168.0.0     *               255.255.255.0   U         0 0          0 eth0
link-local      *               255.255.0.0     U         0 0          0 eth0
default         192.168.0.1     0.0.0.0         UG        0 0          0 eth0

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
93.182.168.2    192.168.0.1     255.255.255.255 UGH   0      0        0 eth0
93.182.168.2    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

Har försökt få detta att fungera under en längre tid men nu kommer jag inte längre, hjälp uppskattas :)