1. Post filters have been ramped up due to high spam activity. If your post is marked for moderation, be patient. A moderator will review and release it as soon as possible.
    Dismiss Notice
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

pixelserv - A Better One-pixel Webserver for Adblock

Discussion in 'Asuswrt-Merlin' started by kvic, Jul 28, 2015.

  1. elorimer

    elorimer Senior Member

    Joined:
    Dec 16, 2013
    Messages:
    364
    You can use WinSCP. But, if you are using pixelserv you should go along to AB-Solution too.
     
  2. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    3,722
    Location:
    Switzerland
    Looks like you have AB-Solution installed. It comes with a backup function: bu
    This includes the certificate files.
     
    SMS786 likes this.
  3. snixel

    snixel Occasional Visitor

    Joined:
    Dec 13, 2017
    Messages:
    17
    Ok, thanks alot for your help!
     
  4. DonnyJohnny

    DonnyJohnny Regular Contributor

    Joined:
    Dec 17, 2017
    Messages:
    148
    I have a question. I noticed that pixelserv-tls listen to 443 (default) and 2443 if specified. I would like to use port 443 tcp for my openvpn. Can I make pixelserv-tls to listen to 2443 using the -k switch and will it still work? Other than the -k switch, do I still need to do anything like modifying the iptables or anything?

    Thanks in advance
     
  5. elorimer

    elorimer Senior Member

    Joined:
    Dec 16, 2013
    Messages:
    364
    In the custom config box for your openvpn server, put "local <whatever your ddns address is>" That will cause openvpn to only listen on the wan side, not the lan side. Leave pixelserv on 443 and it will be listening on the lan side.
     
    thelonelycoder, martinr and rromeroa like this.
  6. DonnyJohnny

    DonnyJohnny Regular Contributor

    Joined:
    Dec 17, 2017
    Messages:
    148
    Wow.. that’s easy and it is working.. thanks.
     
  7. rromeroa

    rromeroa Occasional Visitor

    Joined:
    Nov 13, 2015
    Messages:
    41
    Wow, really works without iptables configuration...
    But, openvpn servr doesnt start at boot, it must be started manually because at start time is not able to resolve ddns address, maybe a delay is necessary?
     
  8. DonnyJohnny

    DonnyJohnny Regular Contributor

    Joined:
    Dec 17, 2017
    Messages:
    148
    Hi,

    I also have the same experience. From what I read from the syslog,

    Dec 27 02:48:30 openvpn[1336]: TCP/UDP: Socket bind failed on local address [AF_INET]123.123.123.123:443: Cannot assign requested address
    Dec 27 02:48:30 openvpn[1336]: Exiting due to fatal error

    The 123.123.123.123 is the previous IP address and not the current IP address after reboot. Ddns update only initialised after openVPN service started.

    Not sure how to move it up the ddns update. Please advise. Thanks.
     
  9. elorimer

    elorimer Senior Member

    Joined:
    Dec 16, 2013
    Messages:
    364
    My IP address changes rarely, so I haven't seen this, but ddns_update runs after the vpnserver starts.

    You might try creating a ddns-start script (that runs after the ddns update returns the address) that has the line service restart_vpnserver1. I think that might work.

    Also, it is worth having the second vpn server on 1194. If nothing else you can vpn into it, and restart the other.
     
  10. rromeroa

    rromeroa Occasional Visitor

    Joined:
    Nov 13, 2015
    Messages:
    41
    Thanks @elorimer

    I have tested the ddns-start script, it seems that it works but it has been necessary a "sleep 20" before restart vpnserver.
     
  11. jrmwvu04

    jrmwvu04 Senior Member

    Joined:
    Mar 29, 2016
    Messages:
    274
    Any word on when the new version will hit the entware-ng repo?
     
  12. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    3,722
    Location:
    Switzerland
  13. ryzhov_al

    ryzhov_al Very Senior Member

    Joined:
    Jul 23, 2012
    Messages:
    642
    Location:
    Russia
    Done! Binaries will arrive soon.
     
    jrmwvu04, 8thphloor, XIII and 4 others like this.
  14. DonnyJohnny

    DonnyJohnny Regular Contributor

    Joined:
    Dec 17, 2017
    Messages:
    148
    Updated to 2.01. Nice...
     
    [email protected] likes this.
  15. Protik

    Protik Regular Contributor

    Joined:
    Oct 31, 2017
    Messages:
    81
    If the stable is available from the entware, I would like to know what would be the safest way to revert back to the stable version. Any help regarding this will be appreciated.

    Anyway, just to tinker, I tried opkg update && opkg upgrade and got the following error for lighttpd.

    Code:
    Collected errors:
     * resolve_conffiles: Existing conffile /opt/etc/lighttpd/lighttpd.conf is different from the conffile in the new package. The new conffile will be placed at /opt/etc/lighttpd/lighttpd.conf-opkg.
    
    lighttpd is tied to pixelserv-tls and that error broke pixelserv-tls. I used Ab-Solution to disable and reinstall pixelserv-tls and everything was fine again.
     
  16. DonnyJohnny

    DonnyJohnny Regular Contributor

    Joined:
    Dec 17, 2017
    Messages:
    148
    I too used ab-solution to reset setting and reinstall
     
  17. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    3,722
    Location:
    Switzerland
    I'm seeing a strange behavior with the Entware package update for pixelserv-tls which was released yesterday as pixelserv-tls 2.0.1-1.
    I have posted an issue over at GitHub, we'll see what comes of it:
    https://github.com/Entware-ng/Entware-ng/issues/850

    Until this is resolved hold back on updating pixelserv-tls through AB-Solution.
     
    Makaveli and Protik like this.
  18. M@rco

    [email protected] Regular Contributor

    Joined:
    Dec 23, 2017
    Messages:
    65
    Is pixelserv v35.HZ12.Kk the current version?

    Edit: nevermind, the issue posted by the @thelonelycoder on Github cleared things up.
     
    Last edited: Jan 16, 2018 at 2:08 AM
  19. Protik

    Protik Regular Contributor

    Joined:
    Oct 31, 2017
    Messages:
    81

    I see. I can't help about new installs. Whenever there is something new, I am like.. don't do it... don't do it... don't do it... did it and broke it...
     
  20. M@rco

    [email protected] Regular Contributor

    Joined:
    Dec 23, 2017
    Messages:
    65
    Ooops... guess I was too quick. And that @ 7:50 AM :confused:
     

Share This Page