[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
 

Problemer med openvpn og routing



Hej

Jeg har sat openvpn op mellem 2 server: foldingbro og holleskov, begge
server har 3 ip'er: intern, extern og en virtuel til openvpn.
Her er konfigurationen:

Foldingbro:
eth0(intern): 192.168.1.252
eth1(extern): xxx.xxx.xxx.xxx
tun1(openvpn): 192.168.1.200

Holleskov:
eth0(intern): 192.168.1.18
eth1(extern): xxx.xxx.xxx.xxx
tun1(openvpn): 192.168.1.201

Mine routing tabeller ser således ud:
Foldingbro:
Kernel IP routing table
Destination   Gateway         Genmask         Flags Metric Ref Use Iface
192.168.1.18  192.168.1.200   255.255.255.255 UGH   0      0     0 tun1
192.168.1.10  *               255.255.255.255 UH    0      0     0 eth0
192.168.1.201 *               255.255.255.255 UH    0      0     0 tun1
xx.xx.xx.xxx  *               255.255.255.240 U     0      0     0 eth1
192.168.1.0   *               255.255.255.0   U     0      0     0 eth0
default       0x535b16d1.lo1. 0.0.0.0         UG    0      0     0 eth1


Holleskov:
holleskov:~# route
Kernel IP routing table
Destination   Gateway         Genmask         Flags Metric Ref Use Iface
192.168.1.252 192.168.1.201   255.255.255.255 UGH   0      0     0 tun1
192.168.1.10  192.168.1.201   255.255.255.255 UGH   0      0     0 tun1
192.168.1.200 *               255.255.255.255 UH    0      0     0 tun1
xx.xx.xxx.xxx *               255.255.255.240 U     0      0     0 eth1
default       0x535c9b91.lo1. 0.0.0.0         UG    0      0     0 eth1

Jeg har slået ip-forwarding til på begge maskiner:
holleskov:~# cat /proc/sys/net/ipv4/ip_forward
1

foldingbro:~# cat /proc/sys/net/ipv4/ip_forward
1

Jeg har slået firewalls fra for ikke at have det som en fejlkilde:
foldingbro:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination



holleskov:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination


Jeg kan fra holleskov pinge beggge ip'er i foldingbro, altså
192.168.1.252 og 192.168.1.200
og jeg kan fra foldingbro pinge begge ip'er i holleskov, altså
192.168.1.18 og 192.168.1.201
jeg kan fra foldingbro pinge en anden maskine på lokal netværket med ip
192.168.1.10 men når jeg forsøger at pinge den fra holleskov får jeg en
timeout.
Nogle ider til en løsning eller bare en metode til at fejl finde??

MVH
Allan W. Nielsen




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-09-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] *