Search results

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. J

    Need to Solve OpenVPN Client + AiCloud Smart Access at the same time

    Hello, I am still struggling to figure out iptables in order to have both my OpenVPN client, which is selectively routing devices on my NAT, and AICloud Smart Access working over the WAN at the same time. When the VPN Client is down, I can access AICloud Smart Cloud no problem on my...
  2. J

    OpenVPN Server and Client at Same Time?

    Interesting. It probably has something to do with the loop condition never being satisfied when the server comes up. Can you post the results of an "ifconfig" command before the server is up, then comment out the line that calls "up.sh" and then get the server running and post the results...
  3. J

    HOW TO: Open VPN for specific internal IP's only

    Hello, Check this page out: https://github.com/RMerl/asuswrt-merlin/wiki/JFFS Then poke around the wiki. Lots of good information there.
  4. J

    OpenVPN Server and Client at Same Time?

    Correct. just create the file and make sure it is executable by chmod 700 up.sh
  5. J

    Static Route Help - RT-AC66U

    Try "ip route add" http://www.cyberciti.biz/faq/howto-linux-configuring-default-route-with-ipcommand/
  6. J

    OpenVPN Server and Client at Same Time?

    Back to original topic OpenVPN server and Client at Same Time I hijacked this thread, but I really want to get back to the topic of OpenVPN server and Client at the same time. It seems I tried creating a static route to the WAN from my router, but it locked me out of the router from my LAN...
  7. J

    OpenVPN Server and Client at Same Time?

    Yes, ez-ipupdate can update asus. The code is in services.c, but I don't really know how username and password is handled for asus. it seems to use dyndns You can check line 1843 onwards on: https://github.com/RMerl/asuswrt-merlin/blob/master/release/src/router/rc/services.c
  8. J

    Static Route Help - RT-AC66U

    Hello, You may need to put the code in one of the scripts, if the GUI doesn't let you do it.
  9. J

    HOW TO: Open VPN for specific internal IP's only

    Hello, The information is slightly scattered still, however. Here is the basic script: http://forums.smallnetbuilder.com/showpost.php?p=59839&postcount=5 you need to enable JFFS, then you need to figure out WINSCP and use an SCP connection to your router. modify the script above...
  10. J

    OpenVPN Server and Client at Same Time?

    OK, figured it out. This will update your DDNS (example with dyndns) with your VPN IP address In openvpn-event, add the line: sh /jffs/scripts/up.sh & in /jffs/scripts/up.sh: #!/bin/sh #keep looping until all the routing for the VPN tunnel is established while [ ...
  11. J

    Static Route Help - RT-AC66U

    Yes, you can use CIDR notation. Check out: http://ip2cidr.com/
  12. J

    OpenVPN Server and Client at Same Time?

    I removed the -u before user. #!/bin/sh VPNIP=$(wget -qO - http://cfaj.freeshell.org/ipaddr.cgi) sleep 10 ez-ipupdate -S dyndns -u user:pass -h host.dyndns.org -a $VPNIP exit 0
  13. J

    OpenVPN Server and Client at Same Time?

    I haven't found a script that runs late enough after the openvpn connection is established. I tried the openvpn UP script, but it still executed before the tunnel was ready. Maybe you will have better luck.
  14. J

    OpenVPN Server and Client at Same Time?

    Hello, You can try something like this, the only question is where to put it because it needs to run after openvpn starts and I am not sure what script runs after that. #!/bin/sh VPNIP=$(wget -qO - http://cfaj.freeshell.org/ipaddr.cgi) sleep 10 ez-ipupdate -S dyndns -user:pass -h...
  15. J

    Request: Add Lighttpd.conf to custom config files

    Hmm.. That is one solution, but not my preferred. I use private internet access, and they do not have a web based port forward. I want to selectively route machines through the VPN, but I also want to access router-based clients through the WAN. I believe the solution lies in the IPTABLES...
  16. J

    Request: Add Lighttpd.conf to custom config files

    RMerlin, I just saw a post a while back where you mentioned to use the INPUT chain of iptables for traffic terminating at the router. I will see if this is the solution.
  17. J

    Request: Add Lighttpd.conf to custom config files

    lol..I know, I am involved in most of them. They involve selectively routing devices connected to the router, not services on the router. I haven't found anything solving this specific class of problem. Xkz6 has a similar problem with openvpn server and client at the same time. I think if we...
  18. J

    Request: Add Lighttpd.conf to custom config files

    thanks for your reply. I tried routing 192.168.1.1 through the wan and also tcp and udp for ports 443 and 8082 through the wan. Is there anything else I should try? Thanks
  19. J

    Request: Add Lighttpd.conf to custom config files

    RMerlin, I have an RT-AC66U running .372.31. It seems that AICloud smart access cannot be used at the same time as an active OpenVPN client. When I try to log in to AICloud with an active OpenVPN client, it times out. When I turn off my OpenVPN client, I can log in from my mobile network...
  20. J

    VPN with selective routing

    Site specific is somewhat hit or miss. you might be interested in this: http://www.dd-wrt.ca/phpBB2/viewtopic.php?t=161397
Top