[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.4

Routing issues with OpenVPN on DD-WRT routed tunnel

Asked by ccadsales in Virtual Private Networking (VPN), Network Design & Methodology, Linux Networking

Tags: OpenVPN, Linksys, WRT54GL, Routed VPN tunell

I have been trying to setup a routed vpn tunnel between two sites on a pair of WRT54GL's to replace the OpenVPN software implementation previously in place.
10.0.0.0 is the host network, 192.168.0.0 is the client network, 172.16.8.0 is the tunnel's subnet. The client connects and the entire client network can access the host network, however when I attempt to ping 192.168.0.1 (the client router) from the host router (using ssh) it times out. I can ping 172.16.8.6 (it's address on the tunnel subnet). The old software implementation did not have this problem.
In short:
Host --> Client : Fails
Client --> Host : Works


I've been fighting this thing for nearly two days now, any help would be appreciated.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
My host conf:
---------------------
push "route 10.0.0.0 255.255.255.0"
server 172.16.8.0 255.255.255.0
port 1195
dev tun0
proto udp
 
comp-lzo
client-to-client
keepalive 10 60
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem 
verb 5
-----------------------
 
My Host firewall:
-----------------------
iptables -I INPUT 1 -p tcp --dport 1195 -j ACCEPT
iptables -I INPUT 1 -p udp --dport 1195 -j ACCEPT
iptables -I FORWARD 1 --source 172.16.8.0/24 -j ACCEPT
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o tun0 -j MASQUERADE 
iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
-----------------------
 
Host Route table:
-----------------------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.16.8.2      *               255.255.255.255 UH    0      0        0 tun0
10.0.0.0        *               255.255.255.0   U     0      0        0 br0
192.168.0.0     *               255.255.255.0   U     0      0        0 tun0
172.16.8.0      172.16.8.2      255.255.255.0   UG    0      0        0 tun0
74.219.99.0     *               255.255.255.0   U     0      0        0 vlan1
169.254.0.0     *               255.255.0.0     U     0      0        0 br0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         rrcs-*-*-*- 0.0.0.0         UG    0      0        0 vlan1
-----------------------
 
Client Routing table:
-----------------------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
75.60.191.254   *               255.255.255.255 UH    0      0        0 ppp0
172.16.8.5      *               255.255.255.255 UH    0      0        0 tun0
10.0.0.0        172.16.8.5      255.255.255.0   UG    0      0        0 tun0
192.168.0.0     *               255.255.255.0   U     0      0        0 br0
172.16.8.0      172.16.8.5      255.255.255.0   UG    0      0        0 tun0
169.254.0.0     *               255.255.0.0     U     0      0        0 br0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         adsl-*-*-*- 0.0.0.0         UG    0      0        0 ppp0
-----------------------
[+][-]10/24/08 10:57 PM, ID: 22801841Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Virtual Private Networking (VPN), Network Design & Methodology, Linux Networking
Tags: OpenVPN, Linksys, WRT54GL, Routed VPN tunell
Sign Up Now!
Solution Provided By: Redimido
Participating Experts: 1
Solution Grade: B
 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_2_20070628