• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Can anyone explain how they did it with openvpn

Scheduled Pinned Locked Moved Forum Feedback
1 Posts 1 Posters 1.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    manh
    last edited by manh Feb 18, 2021, 4:55 AM Feb 18, 2021, 4:29 AM

    client
    dev tun
    proto tcp
    http-proxy 171...: 3128
    remote 171.
    .. : 1194
    resolv-retry infinite
    http-proxy-option VERSION 1.1
    http-proxy-option CUSTOM-HEADER ""
    http-proxy-option CUSTOM-HEADER "GET http://xxxx.xx HTTP/1.1"
    http-proxy-option CUSTOM-HEADER Host xxxx.xx
    http-proxy-option CUSTOM-HEADER X-Forward-Host xxxx.xx
    http-proxy-option CUSTOM-HEADER X-Forwarded-For xxx.xxxx
    http-proxy-option CUSTOM-HEADER Referrer xxxx.xx
    nobind
    persist-key
    persist-tun
    remote-cert-tls server
    auth SHA512
    cipher AES-256-CBC
    ignore-unknown-option block-outside-dns
    block-outside-dns
    verb 3

    Where I live they configure the openvpn file as above and it works miraculously, I don't know how they installed the openvpn server with the http proxy to make it work.
    I set up openvpn + proxy on ubuntu and tried to connect using wifi but it only works if two lines are skipped: http-proxy-option CUSTOM-HEADER "" http-proxy-option CUSTOM-HEADER " GET http: // xxxx .xx HTTP / 1.1"

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received