Hello,
I did search in the great forum, but I didn't find answer or advice, so I hope someone can give me a little help. You need to know I'm very new to linux and this stuff. So maybe my question is easy to answer - I search a lot in Inet but ...
Ok I get the Inet via WLAN and my provider use openVPN for Auth.
So I thought good idea to run at the WRT54g an openVPN Client, so no need to start this on the client PC.
The config file of the client (given from the ISP) look that way:
client
dev tap
proto udp
remote udgate1.xxx.zzz 1194
remote udgate2.xxx.zzz 1194
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ca keys/ca.crt
ns-cert-type server
verb 3
auth-user-pass
floatI put it at the WRT54g.
Before I start the openVPN Client route look so:
~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 br0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth1Than I start the openVPN client:
/jffs # openvpn --config client.ovpn
Wed Dec 7 19:39:29 2005 OpenVPN 2.0.5 mipsel-unknown-linux [SSL] [LZO] [EPOLL]
built on Dec 6 2005
Enter Auth Username:7565
Enter Auth Password:
....
....
Wed Dec 7 19:39:39 2005 Initialization Sequence CompletedSo the client is connected, nslookup and ping work fine from the WRT console
But now the now route look that way
~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
212.117.87.146 192.168.2.1 255.255.255.255 UGH 0 0 0 eth1
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 br0
85.197.31.0 * 255.255.255.0 U 0 0 0 tap0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 85.197.31.1 128.0.0.0 UG 0 0 0 tap0
128.0.0.0 85.197.31.1 128.0.0.0 UG 0 0 0 tap0
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth1And no way that a client at the LAN port can reach the Inet.
I really don't know how I can change this, or is there no way to make it work?
If you need more informations to give me help, please let me know (best with the command I've to use, because 100% new to linux & Co.)
Thx a lot
Walter
