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. bluechris

    Qos on Wan

    Thx for the suggestion but the real wan1 is on a wndr3700 with DDwrt and the qos in that is not so good thats why i digged in asuswrt. But maybe the solution for me is to put the router with the asuswrt in the source where the internet comes and get in home the wndr3700
  2. bluechris

    Qos on Wan

    I have a small network config problem. I enabled qos and is working fine with limit 24/1 but my wan connection goes with ubnt unifi ap's to my other home that has the router/modem and some other devices including my nas. I am doing nat and thats why i get this line in wan port of the router in...
  3. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    M8 except the pc_delete problem that is working with a null replacement which is not biggy, you found the reason why the $BIND_IP variable in your script receives back the gateway ip and not the wan0 ip? In my case the config of wan0 is IP: 192.168.4.22 GW: 192.168.4.1 Your script works fine...
  4. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    The replace did the trick and here is what i get .. i need to get 192.168.4.22 which is the wan0 ip but instead i get 192.168.4.1 which is the gateway Mar 21 23:33:01 custom script: Running /jffs/scripts/openvpnclient1.postconf (args: /etc/openvpn/client1/config.ovpn) Mar 21 23:33:01...
  5. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    Netgear r7000 :) and i was in 380.65 but i rolled back to 380.62_1 because sip nat helper has problem and my voip phones wasn't connecting to my freepbx server Sent using tapatalk
  6. bluechris

    Issue with SIP NAT passthrough disabled

    M8 at start thx for your work. You found why its broken in 380.65 but works ok in 380.62_1? Sent using tapatalk
  7. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    I thank you m8... to do this kind of scripting is pretty good ability that you have. Maybe you can put the vlan id? I saw in log vlan2 is wan0 and vlan3 is wan1...just a thought Sent using tapatalk
  8. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    It doesnt have delete but you can replace with a null? #!/bin/sh # Asuswrt-Merlin helper functions # For use with Postconf scripts (and others) _quote() { echo $1 | sed 's/[]\/()$*.^|[]/\\&/g' } # This function looks for a string, and inserts a specified string after it inside a...
  9. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    I get this now Mar 21 22:49:27 kernel: tun: Universal TUN/TAP device driver, 1.6 Mar 21 22:49:27 kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> Mar 21 22:49:27 custom script: Running /jffs/scripts/openvpnclient1.postconf (args: /etc/openvpn/client1/config.ovpn) Mar 21 22:49:27...
  10. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    Oh there is something more in log Mar 21 21:57:09 (openvpnclient1.postconf): 1182 Started..... [/etc/openvpn/client1/config.ovpn] Mar 21 21:57:09 (openvpnclient1.postconf): 1182 VPN Client will BIND to 192.168.4.1 via interface 'vlan2' Mar 21 21:57:09 (openvpnclient1.postconf): 1182 Complete...
  11. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    Im ok now. I recreated the file from winscp and runned but here is the result Mar 21 21:57:05 custom script: Running /jffs/scripts/openvpnclient1.postconf (args: /etc/openvpn/client1/config.ovpn) Mar 21 21:57:05 (openvpnclient1.postconf): 690 Started..... [/etc/openvpn/client1/config.ovpn] Mar...
  12. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    doesnt work neither from putty and the file is correct.. idont get the problem really... i get this when i run it ./openvpnclient1.postconf: line 1: ο»Ώ#!/bin/sh: not found
  13. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    Oh well... i copy it from the spoiler .. im using chrome and i paste it in putty after i create the file with nano.. i always do that but the lines are bracking now .. let me fix it I paste it also in notepad++ and the lines are fine... when i copy from chrome or notepad++ and paste in putty i...
  14. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    Wife and kid left so i went for it. i puted in custom configuration local wan0 I get this.. i suppose it doesnt delete the nobind correctly Mar 21 20:49:09 kernel: tun: Universal TUN/TAP device driver, 1.6 Mar 21 20:49:09 kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> Mar 21...
  15. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    Wow great work m8. Im in home now and i don't dare to touch the internet or the wife will kill me plus my 4 years old son jumps on me lol but later on i will for sure. Thx for your great work. Btw the correct chmod for a script is 644 or 755 to be able to run fine? Sent using tapatalk
  16. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    M8 i found why the script wasnt working... the script needed to be readable either way i maked it 777 and now it runs succsesfully and i got bound in syslog Mar 21 18:20:05 openvpn[713]: UDPv4 link local (bound): [AF_INET]192.168.4.22:1194 When i tried with wan0 i got error so the wan0 or wan1...
  17. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    My 2 wan are both 2 other routers that do Nat so the ip is static from them and it will never changed. (both wan interfaces are coming from 2 Ubiquity AC19 Ap's) In syslog i dont find any bound line at all really (i see the general log in the web interface) i found this info Mar 21 17:29:44...
  18. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    Ohh when you said RTFM i thought the generic openvpn manual .. now i got you thx. I tried what you said so i created the file /jffs/scripts/openvpnclient1.postconf with this inside #!/bin/sh CONFIG=$1 source /usr/sbin/helper.sh pc_replace "nobind" "local 192.168.4.22" $CONFIG and appears...
  19. bluechris

    [Solved] Dual Wan with 1 OpenVpn Client and ability to choose from which to wan to go out.

    Thx for the suggestion.. i read all the options in openvpn and the --local directive was suppose to do the trick but there is a problem now and openvpn client dont start. I had set this directive in 1st openvpn client local 192.168.4.22 #wan0 ip address But i get this error in log Mar 21...
Top