[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NETVAERK] VPN og routetable



søn, 04 06 2006 kl. 12:25 +0200, skrev Lars Brandi Jensen:
> Har du ip_forward slået til på din openvpn server? Sættes med :
> 
> echo 1 > /proc/sys/net/ipv4/ip_forward

Den er også være god nok...

Jeg ved ikke om det er mig der gætter forkert, men jeg har en ide om at
det virker, hvilket jeg mener pga. ping tider. Dog havde jeg lavet en
bøf, så 192.168.0.5 skulle være 192.168.1.5. Det er rettet alle steder,
men giver ikke noget.

Hvis jeg pinger 192.168.1.5 tager det 0.0XX ms, hvilket er ret kort tid,
så jeg mener det er en local ip. Hvis jeg pinger 10.0.0.254 tager det
over 15 ms, hvilket jeg tolker som at det er en ekstern ip.

På server siden virker det lige omvendt :)

Samtidig, hvis jeg starter en webserver på min client, så kan jeg komme
ind på den via wget fra routeren. MEN, jeg kan ikke komme ind på den via
en anden maskine bag denne router. Men det kan vel også skyldes noget
med route tabellen på routeren?

/christoffer

På clienten:

sslug@sslug:~$ ifconfig tun0
tun0      Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
          inet addr:192.168.1.5  P-t-P:10.0.0.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1312 (1.2 KiB)  TX bytes:1816 (1.7 KiB)

sslug@sslug:~$ ping 192.168.1.5
PING 192.168.1.5 (192.168.1.5) 56(84) bytes of data.
64 bytes from 192.168.1.5: icmp_seq=1 ttl=64 time=0.040 ms
64 bytes from 192.168.1.5: icmp_seq=2 ttl=64 time=0.039 ms
64 bytes from 192.168.1.5: icmp_seq=3 ttl=64 time=0.040 ms

--- 192.168.0.5 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.039/0.039/0.040/0.007 ms
sslug@sslug:~$ ping 10.0.0.254
PING 10.0.0.254 (10.0.0.254) 56(84) bytes of data.
64 bytes from 10.0.0.254: icmp_seq=1 ttl=64 time=28.1 ms
64 bytes from 10.0.0.254: icmp_seq=2 ttl=64 time=16.4 ms
64 bytes from 10.0.0.254: icmp_seq=3 ttl=64 time=18.6 ms

--- 10.0.0.254 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 16.473/21.069/28.134/5.070 ms

> 
> Lars Brandi Jensen



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-07-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *