|
Page 3 of 3
7a) If you are working on the VPN client WRT skip to step 7b. On the VPN server WRT copy the following script and paste on the command line. (Check the scipt for comments on the few items than need to be updated to match your environment.) ------------------- Copy starting below this line. ------------------- nvram set rc_firewall=' #!/bin/sh
## ## ##
#copy openvpn binary to myvpn. Otherwise, something will kill the process cp /usr/sbin/openvpn /tmp/myvpn
/tmp/myvpn --mktun --dev tap0 brctl addif br0 tap0 ifconfig tap0 0.0.0.0 promisc up /tmp/myvpn --dev tap0 --secret /jffs/static.key --comp-lzo --port 1194 --proto udp --verb 3 --daemon --ping 30 --ping-restart 120 ' --------------- Stop here when selecting text to copy -------------------------- 7b) On the VPN clien WRT ctopy the following script and paste on the command line. (Check the scipt for comments on the few items than need to be updated to match your environment.) ------------------- Copy starting below this line. -------------------
nvram set rc_firewall=' #!/bin/sh
## ## ##
#copy openvpn binary to myvpn. Otherwise, something will kill the process cp /usr/sbin/openvpn /tmp/myvpn
/tmp/myvpn --mktun --dev tap0 brctl addif br0 tap0 ifconfig tap0 0.0.0.0 promisc up /tmp/myvpn --dev tap0 --secret /jffs/static.key --comp-lzo --port 1194 --proto udp --verb 3 --daemon --remote VPNSERVER.dnsalias.com --ping 30 --ping-restart 120 ' --------------- Stop here when selecting text to copy --------------------------
8) Type nvram commit and hit <enter> 9) Now reboot you routers and attempt to ping hosts accross the VPN tunnel. (You will not be able to ping the WRTs addresses. You have to ping a host on the network other than the WRT.). 10) Remember that both sites need the same internal IP subnets. That should be it and good luck! Only registered users can write comments. Please login or register. Powered by AkoComment!
<< Start < Prev 1 2 3 Next > End >> |