Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Internet a sítě => Téma založeno: luky-c 28 Června 2009, 19:47:15

Název: Nastaveni VPN
Přispěvatel: luky-c 28 Června 2009, 19:47:15
Ahoj,

na pocitaci za routrem mam nainstalovan ubuntu server 9.04. Na serveru mam PPTP, zvenci se na nej s winXP klientem pripojim autentizace probehne, ale klient vidi pouze server, nikoliv dalsi pocitace v siti. Server bez problemu na okoli vidi.

Subnet vnitrni site je 123.123.123.xxx, pro VPN jsem pouzil 123.123.124.xxx.

Dekuji reakci.
Název: Re: Nastaveni VPN
Přispěvatel: luky-c 29 Června 2009, 09:30:27
Vypada to jako kdyz nefunguje routovani mezi tim pripojenim a ethernetem. Kdyz se pripoji dva klienti vypada to takto:

Kód: [Vybrat]
root@Server02:/etc# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:08:a1:57:51:40
          inet addr:123.123.123.67  Bcast:123.123.123.255  Mask:255.255.255.0
          inet6 addr: fe80::208:a1ff:fe57:5140/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:689548 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1185020 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:52475436 (52.4 MB)  TX bytes:1680664564 (1.6 GB)
          Interrupt:18 Base address:0xb800

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:424 errors:0 dropped:0 overruns:0 frame:0
          TX packets:424 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:25440 (25.4 KB)  TX bytes:25440 (25.4 KB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:123.123.123.67  P-t-P:123.123.124.80  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1396  Metric:1
          RX packets:1297 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:78683 (78.6 KB)  TX bytes:92 (92.0 B)

ppp1      Link encap:Point-to-Point Protocol
          inet addr:123.123.123.67  P-t-P:123.123.124.81  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1496  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1602 (1.6 KB)  TX bytes:116 (116.0 B)

root@Server02:/etc# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
123.123.124.80  *               255.255.255.255 UH    0      0        0 ppp0
123.123.124.81  *               255.255.255.255 UH    0      0        0 ppp1
123.123.123.0   *               255.255.255.0   U     0      0        0 eth0
default         123.123.123.1   0.0.0.0         UG    100    0        0 eth0

Any idea?
Název: Re: Nastaveni VPN
Přispěvatel: Martin Kiklhorn 02 Července 2009, 04:34:38
traceroute říká co?
a zagooglete ip_forward