Setup OPENVPN with the client having only port 80 access

Home Page Forums Network Management ZeroShell Setup OPENVPN with the client having only port 80 access

This topic contains 2 replies, has 0 voices, and was last updated by  vadimka 9 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41750

    vadimka
    Member

    Hello.
    I have been running zeroshell for almost a month now, with great results, but I got stuck at this problem:

    I have a person that only has outbound ports 80 and 433 open.

    I want so setup a VPN tunnel through OPENVPN, so that the client will use the router with zeroshell as the gateway but i cannot use the default port 1194. The client has only ports 433(https) and 80(http)open to outside.

    How do I do it?

    The solution I thought would be running open vpn server on port 80, and changing http server port to 8080(http alternate) but, i don’t know how to do it and whether it will work…

    And of course there may be other solution, but i don’t know any yet

    Any help will be greatly appreciated… saving a man from the cruelty of ISP dictatorship!

    #48326

    vadimka
    Member

    …Well, it seems the best help is still from myself ..

    I found the solution. Basically, you have httpd.conf where you change the listen port from 80 to whatever you want, restart the web server with “./apachectl -k restart”, and then happily start openvpn server on port 80. Still, on reboot this configuration is lost, it seems that httpd.conf is rewritten on reboot. I have found a workaround on this also, but i’ll wirite it only if you’re interested…
    ..But I guess you’re not.

    #48327

    JC
    Member

    i dont know how to help w/ your main issue, but to get ur own config to stay, simply save ur httpd.conf in the /Database folder then in Startup/cron on the setup page simply type [scripting editor/post boot script/post boot]

    mount –bind /Database/httpd.conf [where ever the original file is located]

    that should survive any restarts and save u having to relink ur httpd.conf, i use it for my own blacklist.html

    hope it helps

    JC

    #48328

    vadimka
    Member

    surely does . thx

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.