PDA

View Full Version : Use openvpn on WL500g



deenm
16-11-2004, 16:55
Someone have tested "open vpn" on wl500g ?
http://openvpn.sourceforge.net
If yes and working, how to please.
Thanks

tomilius
11-04-2005, 06:27
I'm not taking credit for this--I didn't do it--but it's there in the Unslung repository, and it works. It's a bit tedious to configure if you don't already know how, but it does work. You need to get tun.o for the WL-500g and do this:

mkdir -p /dev/net
mknod /dev/net/tun c 10 200
insmod /opt/drivers/tun.o

... assuming you put tun.o in /opt/drivers. It works! It requires openvpn, though--not "automatically compatible" or built-in to Windows XP, though openvpn is available for XP.

You can get tun.o here: http://puma.spojovaci.net/~jaha2x/wl500/modules/drivers/net/tun.o

And I've "mirrored" it here:
http://nochances.net/files/wl-500g/tun.o

So yeah. There's an OpenVPN 2.0 HOWTO out there to help you with stuff, and you'll need the OpenVPN source to get the easy-rsa folder or whatever it's called. You'll also need to modify the scripts which use "test" because they don't work...

For example, build-key has this:
if test $# -ne 1; then

Change it to this:
if [ "$#" -ne 1 ]; then

And this:
if test $KEY_DIR; then

Change it to this:
if [ "$KEY_DIR" ]; then

If somebody else interested could post all of the other simple modifications which anyone with basic script knowledge could make it would be great, but I don't really have time to explain all of the modifications right now. I... think anyone knowledgeable to care about VPNs will be able to get this going anyway.

Don't forget to allow all traffic on the port you choose with iptables... That's very important.

Thanks, whoever put this package up!

Oleg
11-04-2005, 10:06
I hope, that test, as well as tun.o would be included in the next firmware. ;)

tomilius
12-04-2005, 06:02
I hope ethertap.o (http://puma.spojovaci.net/~jaha2x/wl500/modules/drivers/net/ethertap.o) is included as well for those of us who want VPN clients to be able to join the network as it is (cool!)

mctiew
12-04-2005, 06:45
I hope ethertap.o (http://puma.spojovaci.net/~jaha2x/wl500/modules/drivers/net/ethertap.o) is included as well for those of us who want VPN clients to be able to join the network as it is (cool!)

Ethertap.o is an old driver. The tun.o alone is able to provide tun and tap devices. For the purpose of openvpn and other applications, ethertap.o is not necessary.

Cheers.

tomilius
12-04-2005, 06:56
Thank you very much for that response... I was just scratching my head for an hour or so wondering why it didn't work. I'm new to all of this VPN stuff.

UPDATE: Got it working. Yay. Thanks to OpenVPN, remote users can log on to the network as though they were "right there," on the same subnet (with bridging configuration and such).

Pirat
02-05-2005, 12:10
Hi!

I've installet and configured openVPN and can connect from PC to ROUTER.
BUT: ping, telnet, ftp, ... work from Router->PC but not from PC->Router.
I testet from different clients, but same result.
All test are "internal" (LAN+WLAN).

Any ideas, tips, ...?
PS: I post the startscript lather, cause now I'm @work an WL is @home.

tomilius
02-05-2005, 18:04
Configure iptables for the tun/tap interface. Give it the same rules as br0 (ALLOW for INPUT, FORWARD, OUTPUT, or whatever you choose).

Pirat
02-05-2005, 18:37
Here is the "VPN-Part" of my startscript:

#------openVPN------
echo `date` "openVPN" >> /tmp/harddisk/log/start_hdd_prg.log
echo `date` "--erstelle VPN-Device" >> /tmp/harddisk/log/start_hdd_prg.log
mkdir -p /dev/net
mknod /dev/net/tun c 10 200
insmod /opt/drivers/tun.o

echo `date` "--starte openVPN für PCKIG54" >> /tmp/harddisk/log/start_hdd_prg.log
/opt/sbin/openvpn --config /opt/etc/openvpn/PCKIG54.conf &
echo `date` "--starte openVPN für Neubauer" >> /tmp/harddisk/log/start_hdd_prg.log
/opt/sbin/openvpn --config /opt/etc/openvpn/neubauer.conf &

echo `date` "--öffne Firewall für PCKIG54" >> /tmp/harddisk/log/start_hdd_prg.log
iptables -A INPUT -p udp --sport 5253 -j ACCEPT
iptables -A OUTPUT -p udp --dport 5253 -j ACCEPT
echo `date` "--öffne Firewall für Neubauer" >> /tmp/harddisk/log/start_hdd_prg.log
iptables -A INPUT -p udp --sport 5252 -j ACCEPT
iptables -A OUTPUT -p udp --dport 5252 -j ACCEPT


I use UDP-Port 5253+5252

tomilius
02-05-2005, 18:47
There's still a problem. See, tun (tun0) is an interface in itself. You've allowed all traffic on the VPN port so that such a connection may be established, but from there it's treated as though the devices are all connected via the tun0 interface, for which you've set no specific rules. You probably have iptables generically set up so all RELATED and ESTABLISHED connections are allowed and so that all OUTPUT is allowed. That explains why you can ping from the router to tun0's devices (VPN). However, you still must set rules for the tun0 interface, like this to allow all:


iptables -A INPUT -i tun0 -j ACCEPT
iptables -A FORWARD -i tun0 -j ACCEPT
iptables -A FORWARD -o tun0 -j ACCEPT
iptables -A OUTPUT -o tun0 -j ACCEPT

Whether or not you want the forward rules depends (extra parameters are required to give the VPN access to the internal LAN anyway unless you put it on the same subnet and use tap, I believe) and the OUTPUT rule seems unnecessary for your setup.

Pirat
02-05-2005, 19:12
HI!

I've tryed this:
1. start like script (see prev. post)
2. iptables like yor post
3. connect vpn
4. ping from router to pc -> work
5. ping from pc to router -> didn't work

tomilius
02-05-2005, 19:16
And you're sure you're using the correct tun0 IP address for the router when pinging (check ifconfig tun0; VPNsubnet.1)? Also, try the rules with -I instead of -A, just in case. Make sure tun0 is actually the interface you should be using, too, by just typing "ifconfig."

Pirat
03-05-2005, 17:28
-I works!!!!!!!! Thx!!!!
putting iptables ..... in post-firewall and it works also after reboot!!

tomilius
03-05-2005, 19:52
Yay! :D Congrats.

Pirat
03-05-2005, 20:22
Yay! :D Congrats.
congrats to YOU!!!!! Thx very much!

gwl
30-10-2005, 00:56
I tried to install openvpn, but got this error:

[admin@wl500g root]$ ipkg install openvpn
Installing openvpn (2.0.2-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/openvpn_2.0.2-1_mipsel.ipk
Nothing to be done
An error ocurred, return value: 1.
Collected errors:
ERROR: Cannot satisfy the following dependencies for openvpn:
kernel-module-tun

...
I had previously done:
mkdir -p /dev/net
mknod /dev/net/tun c 10 200
insmod tun.o

so, the kernel module was active...

Can I force the install with :
ipkg install -nodeps openvpn

will it work?

thanks,
:rolleyes:

suitrevor
30-10-2005, 15:50
I think you can try
#ipkg install -force-depends openvpn

and try to follow steps at this thread
http://wl500g.info/showthread.php?t=2128&highlight=openvpn

that work for me

P.S And pls make sure to use the correct path for the tun.o driver.

gwl
30-10-2005, 18:55
I installed it with --nodeps, and it seems to work.
I can use open vpn in my laptop (client), and ping the router(Server), in a secure channel, but I can't use the router as client to link to a server in the internet.... I think it's the firewall beween my wl500g and the internet.... :(

suitrevor
31-10-2005, 10:11
Do you mean to using the wl500g as a openvpn client and connect to another openvpn server? I just don't understand. Can you ping the vpn server(the internet one) in tun0. Can you pls describe the situation more precisely. Thank you.

gwl
02-11-2005, 01:33
test 1:
wl500g=openvpn server ; laptop=client
result ok:I can ping the router from the laptop.

test 2:
wl500g=openvpn client ; RemotePC(online) =openvpn server
result: from a shell inside the router, I can't ping the remote pc.
(on the remote pc, some requests are seen, but I don't get any replyes)

pfugl
15-11-2005, 14:06
Has anyone had succes configuring an OPENVPN server in bridge mode on the WL500G? I am using Oleg's firmware latest release.
My problem is that the tap device is not found when I try to add it to the BR0 bridge.
I have done a INSMOD TUN before that. Is there anything else I need to do?
/Peter

pfugl
16-11-2005, 08:47
Found it myself on: http://openvpn.net/bridge.html#linuxscript :

openvpn --mktun --dev tap0

kfaessen
13-12-2005, 23:56
I would like to implement one of those 2 on my router within the flash is that possible and if so can someone make a step-by-step guide for it?

The reason is that I want to get into my network from school with my own laptop.

I've oleg's latest (1.9.2.7-6c) firmware. I've already searched the forum for help but al the information is so much spreaded that I couldn't find out how to start.

I don't want to have it on my usb harddrive because I want to take it with me sometimes so the router will have a problem then.

Is this possible?

HanseHouse
14-12-2005, 13:50
Hi,

you can buy a cheap USB stick and store /opt/ in it so you don't need a hard drive.
I store the whole filesystem on the USB stick - this has many opportunities: If you misconfigure anything and the router doesn't respond any more you can simply remove the USB drive and the router uses the internal flash. Or you can edit files on the USB stick with your PC running Linux.
http://oleg.wl500g.info/ "Root file system on the external USB drive"

Matthias

seanboc
03-04-2006, 12:37
Firmware Used: 1.9.2.7-7c
Unit: WL500g
OpenVpn Version being used: openvpn_2.0.2-1_mipsel.ipk from unslung
Bridge Configuration: Wireless link and LAN connections (eth0 and eth2)
Firewall Configuration: Accept All
Description of Problem:

Have installed Openvpn successfully and it works fine for Tap0 based upon the out-of-the-box TLS configuration. My problem is related to using the Tap0 connection in the br0 bridge. If the tap0 network connection is added into br0 using brctl addif br0 tap0, no traffic passes through the tap0, although I do see the ARP request/responses. There is no firewall up, iptables is configured to accept all traffic as the default policy. If I remove tap0 out of the br, bridge, all traffic flows from the Wl500g and my wireless connected laptop (vice versa) over the OpenVPN negotiated connection. The problem is the same for LAN connected boxes, if tap0 is added to br0 so ti is not specific to the wireless conection.

I have cecked br0 on its own using tap0, when openvpn is not running and traffic flows between tap0 and br0 successfully so it is not a firewall problem. the output from route looks fine also i.e. all my VPN traffic is roited on the Wl500g via tap0. The problem occurrs when openvpn is brought online and tap0 is put in the bridge, br0. Any help on this one, much appreciated as I have banging my head on a virtual wall for a few days. It appears to be an issue with bridging and OpenVPN.

I have also tested my OpenVPN connection on Mandrake with same settings, etc and it works fine. Much appreciated on ideas?

Sean

wfleck
04-04-2006, 16:34
Did you already try to restart OpenVPN *after* you added tap0 to the bridge?
At least for me this works.

seanboc
05-04-2006, 10:17
Yep I tried restarting openvpn after the tap0 device is added to br0 but that does not make any differeence. When I delete tap0 from br0, it works fine. The settings for br0 are standard out of the box firmware settings. It is something specifically related to openvpn and br0. Could you share your server and client VPN settings, (obviously without keys and specific IP settings0 so I can do a comparsion on what I am doing. Cheers

wfleck
05-04-2006, 11:04
Here comes my configuration:

The interfaces:


[admin@(none) /tmp]$ ifconfig
br0 Link encap:Ethernet HWaddr 00:0E:A6:B7:DB:6B
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::20e:a6ff:feb7:db6b/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:91929 errors:0 dropped:0 overruns:0 frame:0
TX packets:6775 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2954039 (2.8 MiB) TX bytes:5991009 (5.7 MiB)

br1 Link encap:Ethernet HWaddr 00:0E:A6:B7:DB:6B
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20e:a6ff:feb7:db6b/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1473565 errors:0 dropped:0 overruns:0 frame:0
TX packets:1633100 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:566525409 (540.2 MiB) TX bytes:1170141654 (1.0 GiB)

eth0 Link encap:Ethernet HWaddr 00:0E:A6:B7:DB:6B
inet6 addr: fe80::20e:a6ff:feb7:db6b/10 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:1473628 errors:0 dropped:0 overruns:0 frame:0
TX packets:1653938 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:593055204 (565.5 MiB) TX bytes:1171392947 (1.0 GiB)
Interrupt:3 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 00:0E:A6:B7:DB:6B
inet6 addr: fe80::20e:a6ff:feb7:db6b/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1638815 errors:2 dropped:0 overruns:0 frame:1
TX packets:1479407 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1196221196 (1.1 GiB) TX bytes:592413341 (564.9 MiB)
Interrupt:4 Base address:0x8000

eth2 Link encap:Ethernet HWaddr 00:0E:A6:B7:DB:6B
inet6 addr: fe80::20e:a6ff:feb7:db6b/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:91902 errors:0 dropped:0 overruns:0 frame:18589
TX packets:133040 errors:17 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4238047 (4.0 MiB) TX bytes:12787514 (12.1 MiB)
Interrupt:6 Base address:0x2000

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 MULTICAST MTU:16436 Metric:1
RX packets:54674 errors:0 dropped:0 overruns:0 frame:0
TX packets:54674 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5272540 (5.0 MiB) TX bytes:5272540 (5.0 MiB)

ppp0 Link encap:Point-Point Protocol
inet addr:217.191.169.42 P-t-P:213.20.95.16 Mask:255.255.255.255
UP POINTOPOINT RUNNING MULTICAST MTU:1492 Metric:1
RX packets:1634259 errors:0 dropped:0 overruns:0 frame:0
TX packets:1474867 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1153438866 (1.0 GiB) TX bytes:559828399 (533.8 MiB)

tap0 Link encap:Ethernet HWaddr 00:FF:28:23:EB:A7
inet6 addr: fe80::2ff:28ff:fe23:eba7/10 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:518 errors:0 dropped:30453 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:28139 (27.4 KiB)

wds0.4915 Link encap:Ethernet HWaddr 00:0E:A6:B7:DB:6B
inet6 addr: fe80::20e:a6ff:feb7:db6b/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


Bridge #0 (WLAN):


[admin@(none) /tmp]$ brctl showbr br0
br0
bridge id 8000.000ea6b7db6b
designated root 8000.000ea6b7db6b
root port 0 path cost 0
max age 20.00 bridge max age 20.00
hello time 2.00 bridge hello time 2.00
forward delay 0.00 bridge forward delay 0.00
ageing time 42.30 gc interval 4.00
hello timer 0.52 tcn timer 0.00
topology change timer 0.00 gc timer 2.53
flags


eth2 (2)
port id 8002 state forwarding
designated root 8000.000ea6b7db6b path cost 100
designated bridge 8000.000ea6b7db6b message age timer 0.00
designated port 8002 forward delay timer 0.00
designated cost 0 hold timer 0.52
flags

wds0.49153 (3)
port id 8003 state forwarding
designated root 8000.000ea6b7db6b path cost 100
designated bridge 8000.000ea6b7db6b message age timer 0.00
designated port 8003 forward delay timer 0.00
designated cost 0 hold timer 0.52
flags


Bridge #1 (LAN):


[admin@(none) /tmp]$ brctl showbr br1
br1
bridge id 8000.000ea6b7db6b
designated root 8000.000ea6b7db6b
root port 0 path cost 0
max age 20.00 bridge max age 20.00
hello time 2.00 bridge hello time 2.00
forward delay 15.00 bridge forward delay 15.00
ageing time 42.30 gc interval 4.00
hello timer 1.84 tcn timer 0.00
topology change timer 0.00 gc timer 3.86
flags


eth0 (1)
port id 8001 state forwarding
designated root 8000.000ea6b7db6b path cost 100
designated bridge 8000.000ea6b7db6b message age timer 0.00
designated port 8001 forward delay timer 0.00
designated cost 0 hold timer 0.00
flags

tap0 (2)
port id 8002 state forwarding
designated root 8000.000ea6b7db6b path cost 100
designated bridge 8000.000ea6b7db6b message age timer 0.00
designated port 8002 forward delay timer 0.00
designated cost 0 hold timer 0.00
flags


OpenVPN config:


[admin@(none) openvpn]$ cat openvpn.conf|grep -v ^#|grep -v '^;'|grep -v '^ *$'
port 1194
proto udp
dev tap0
ca flexoft-cacert.crt
cert wl-500g-cert.crt
key wl-500g-key.pem
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.1.1 255.255.255.0 192.168.1.64 192.168.1.127
push "route 192.168.1.0 255.255.255.0"
keepalive 10 120
comp-lzo


Bridge start script:


[admin@(none) openvpn]$ cat bridge-start
#!/bin/sh

#################################
# Set up Ethernet bridge on Linux
# Requires: bridge-utils
#################################

PATH=/opt/sbin:/opt/bin:$PATH
export PATH

# Define Bridge Interface
br="br1"

# Define list of TAP interfaces to be bridged,
# for example tap="tap0 tap1 tap2".
tap="tap0"

# Define physical ethernet interface to be bridged
# with TAP interface(s) above.
eth="eth0"
eth_ip="192.168.1.1"
eth_netmask="255.255.255.0"
eth_broadcast="192.168.1.255"

for t in $tap; do
openvpn --mktun --dev $t
done

brctl addbr $br
brctl addif $br $eth

for t in $tap; do
brctl addif $br $t
done

for t in $tap; do
ifconfig $t 0.0.0.0 promisc up
done

ifconfig $eth 0.0.0.0 promisc up

ifconfig $br $eth_ip netmask $eth_netmask broadcast $eth_broadcast


This is what I have in my firewall script:


ifconfig br0 0.0.0.0
brctl delif br0 eth0
ifconfig br0 192.168.2.1
ifconfig eth0 192.168.1.1


Hope this helps!

seanboc
07-04-2006, 16:34
Br0 is a bridge between eth2 and eth1 into whcih I also add tap0. When Tap0 is added into the bridge I cannot send any traffic on the VPN connection. I have no problem establishing the VPN connection but bridging is not working. I have also tried adding in a new bridge on its own between eth0 and tap0 (as in your example) but the same behaviour is found. What version of the Oleg WL500g firmware and openvpn package are you using? I am using the latets from unslung and similar firmware. Cheers

wfleck
07-04-2006, 23:19
I'm using firmware 1.9.2.7-6c-pre5 and my openvpn is



[admin@(none) /proc]$ ipkg status openvpn
Package: openvpn
Version: 2.0_rc17-3
Depends: openssl, lzo, kernel-module-tun
Status: install user installed
Architecture: mipsel

[admin@(none) /proc]$ ipkg status openssl
Package: openssl
Version: 0.9.7d-4
Status: install user installed
Section: libs
Architecture: mipsel
maintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com>
MD5Sum: 688c2dbadad18c1bc6bae109bd6aac93
Size: 946871
Filename: openssl_0.9.7d-4_mipsel.ipk
Source: http://www.openssl.org/source/openssl-0.9.7d.tar.gz
Description: Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and libraries.

[admin@(none) /proc]$ ipkg status lzo
Package: lzo
Version: 1.08-2
Status: install user installed
Section: lib
Architecture: mipsel
maintainer: Inge Arnesen <inge.arnesen@gmail.com>
MD5Sum: ab7fe86f9fc106884106b1a21b9de053
Size: 103649
Filename: lzo_1.08-2_mipsel.ipk
Source: http://www.oberhumer.com/opensource/lzo/download//lzo-1.08.tar.gz
Description: Compression library


kernel-module-tun is not installed

once
27-11-2006, 08:54
Openvpn along with openssl takes about 5M space.But the wl500g has only about 2M free.That means i have to use USB to mount a free space to use openvpn.Is there anyway to build a VLAN without demanding any other space except for the 2M free space inside.Can freeswan be added into wl500g?

max2950
29-11-2006, 12:56
I guess there is no way to do it without external storage. Small flash drives are now very cheap :rolleyes: ;)

limpo
04-12-2006, 19:46
Hey,

I set up openvpn according to http://www.sprayfly.com/wiki/OpenVPN. And I am able to connect from a windows client to the router and assigned the ip 10.8.0.6.
But the problem is I can only ping local windows machine 10.8.0.6 not the router 10.8.0.1.
On the router I can ping both 10.8.0.6 and 10.8.0.1.
When the openvpn client is disconnected(10.8.0.6) then I can ping 10.8.0.1 from the client.
All I wanted was to try getting this vpn to work from my lan clients to the local router, and also see other shares on lan clients.
Some help would be much appriciated.:)


LAN 192.168.1.0/24

[VPN client 10.8.0.6]-------------------------------------------------------------------------------[WL500g openvpn router 10.8.0.1]


/Limpo

limpo
05-12-2006, 19:34
Hey,

I tried somemore and found out that I can ping and reach shares on clients connected trough the vpn. But I can still not ping(10.8.0.1) or access shares(samba) on the LAN vpn server(asus wl500g).
The settings on both the client and server config, is set to client-to-client. Maybe it neds to be client-to-server? But then I probably cant access lan clients.:mad:

Later,
/Limpo

jrosado
18-06-2007, 15:58
Hi:

Is there anyway to create a vpn server on the asus wl-500gp?

Besides openvpn, is there any other package?

maradamc
11-07-2007, 06:02
I'm with you. Has anyone come up with a way to work this out?

I have been struggling with this for 14 hours now... I started with this Wiki (http://sprayfly.com/wiki/OpenVPN) and tried to modify the directions to only use flash memory. I couldn't do anything with the /opt directory in flash memory due to "Read-only file system" error. So I did:

makedir /usr/local/opt
mount /usr/local/opt /opt
While I could get ipkg update and installs to work, I eventually came close to running out of space and everytime I rebooted the mount would disappear even if I put it (I think) in post-boot.

It seems this thread (http://wl500g.info/showthread.php?t=7551&highlight=openvpn) yields some results but only for wl700g users.

Has anyone figured out how to do this on a wl500gp without an external drive? Can anyone suggest anything else to try? I'm not a linux user normally so I'm struggling with some of the concepts.

Any suggestions would be very helpful. Thanks in advance.

maradamc
11-07-2007, 16:28
I'm going on 2 days with this issue, trying to get OpenVPN installed on Oleg's 1.9.2.7-7g firmware on my wl500gP. I don't have any USB device connected to and would like to know where I can install packages. I started with this Wiki (http://sprayfly.com/wiki/OpenVPN) (http://sprayfly.com/wiki/OpenVPN) and tried to modify the directions to only use flash memory. I couldn't do anything with the /opt directory in flash memory due to "Read-only file system" error. So I tried using a different path:
Quote:

makedir /usr/local/opt
mount /usr/local/opt /opt
I got ipkg update and installs to work, but I came close to maxing out memory and everytime I rebooted the mount would disappear even if I put it (I think) in post-boot.

This thread (http://wl500g.info/showthread.php?t=7551&highlight=openvpn) (http://wl500g.info/showthread.php?t=7551&highlight=openvpn) has some answers but only for wl700g users.

Has anyone figured out how to do this on a wl500gp without an external drive? Can anyone suggest anything else to try? I'm not a linux user normally so I'm struggling with some of the concepts.

Any suggestions would be very helpful. Thanks in advance.

bowmore
14-07-2007, 19:57
Hi:

Is there anyway to create a vpn server on the asus wl-500gp?

Besides openvpn, is there any other package?

I've got openvpn working on my wl-500gp with an external drive.
basically followed http://sprayfly.com/wiki/OpenVPN

piezomotor
07-02-2008, 21:21
made bridge-start.sh shown below

PROBLEM - when I start it my router hangs...

./bridge-start.sh
Thu Feb 7 15:54:58 2008 TUN/TAP device tap0 opened
Thu Feb 7 15:54:58 2008 Persist state set to: ON...

Any idea?

wfleck
08-02-2008, 07:45
Sorry, can't help you since I'm not using the WL500g anymore