[SOLVED] How cat I make an http proxy from ssh?

Hi.
I can tunnel to ssh server using this:
ssh -N -D $myport $user@$serverip
It's working good. I tunneled to the server.
But I have a problem!
the created proxy is a Socks v5 proxy. I want to create a http proxy how can i do it?
Thanks! I waiting for your answers...
Last edited by ojZim (2013-05-26 17:55:36)

Gusar wrote:
You can't. What you can do is run a local http proxy that uses the ssh-created Socks5 as parent. Example config for polipo:
daemonise=true
proxyAddress=127.0.0.1
proxyName=localhost
allowedClients=127.0.0.1
socksParentProxy=localhost:7777
socksProxyType=socks5
7777 is an example, use $myport there. The default polipo port is 8123, meaning apps should be configured to use localhost:8123 as proxy.
Thanks for your help! It's worked very good and my problem is solved.
For installing and configuration polipo, other users can read this:
https://wiki.archlinux.org/index.php/Polipo
Last edited by ojZim (2013-05-26 17:56:39)

Similar Messages

  • How do I create a Https Proxy server

    hi,
    I am writing a Proxy server in java. But my pogram do not support https protocol.Could you please tell me how can I implement a https proxy server.some sample code is more helpful.
    This is very URGENT for me.
    Thanks
    Sujith Varghese

    Hi Varghese,
    Reading the thread I am able to make out u r facing the same problem as I do.
    current scenario#1:
    Machine#1 client (using URLConnection("https://...") ----> Machine#2 (Server https port)
    what I want scenario#2
    Machine#3 client (using URLConnection("https://...") ---> Machine#1 (Proxy for https)----> Machine#2 (Server https port)
    In scenario#1
    - I have a Client machine at Location#1 which can connect to on Location#2
    - I only have SSH connection to machine at Location#1
    now this scenario#2 is what I would like to run so that
    - I am able to connect to mc#2 at loc#2 from a machine at loc#3 with mc#3
    - effectively starting a https proxy at location number mc#1 at loc#1.
    Hope that clears the problem domain.
    any help will be greatly appreciated.
    regards-
    _Jagsir                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to make a http request from a pl/sql procedure(URGENT)

    I need to make a http request from a pl/sql procedure, can any one tell me which built-in package and which procedure/function we serve my need?
    Thanks in advance.
    Ram Prasad.

    You should use UTL_HTTP package, but before it install the JVM into DB

  • How can i make a still frame from imovie 11 using mpeg streamline clip

    How can I make a still frame from iMovie using mpeg stream clip?

    See my User Tip here.
    https://discussions.apple.com/docs/DOC-3231

  • How do I make a phone call from my mac with yosemite?

    How do I make a phone call from my MacBook Pro on the Yosemite operating system?

    The following quotation is from Connect your iPhone, iPad, iPod touch, and Mac using Continuity
    There is more information in the link, including supported hardware and that you must have Settings > FaceTime > iPhone Cellular Calls set to on on the iPhone.
    Phone calls
    With Continuity, you can make and receive cellular phone calls from your iPad, iPod touch, or Mac when your iPhone is on the same Wi-Fi network.
    To make and receive phone calls, here's what you need:
    Sign in to the same iCloud account on all your devices, including your Mac.
    Your iPhone and your iPad or iPod touch need to use iOS 8 or later. Your Mac needs to use OS X Yosemite.
    All devices must be on the same Wi-Fi network.
    All devices must be signed in to FaceTime using the same iCloud account. This means any device that shares your Apple ID will get your phone calls. Look below for instructions on how to turn off iPhone cellular calls.
    Wi-Fi Calling needs to be off. Go to Settings > Phone. If you see Wi-Fi Calling, turn it off.
    Make a call
    To make a phone call on your Mac, iPad or iPod touch tap or click a phone number in Contacts, Calendar, or Safari.

  • How can I make a still photo from imovie

    How can I make a still photo from imovie?

    Let's assume you have iMovie 11 (Version 9). (If you have a different version, let me know. The instructions will be different.)
    First, get an app called MPEG Streamclip, which is free. (google MPEG Streamclip from Squared 5)
    Open MPEG Streamclip.
    In iMovie, select the clip you need. Then, right-click/Reveal in Finder.
    Drag this clip into MPEG Streamclip
    In MPEG Streamclip, move the playhead to the frame you want.
    In MPEG Streamclip, click FILE/EXPORT FRAME.
    Choose JPEG, TIFF, or PNG and give it a name.
    You can then drag this photo into iPhoto.
    I have created a short video Tutorial on how to do this. There is one error in the Tutorial, where it says that Command-click is the same as right-click. I should have said Control-click instead.

  • How can I make an audiobook purchased from another source show up in iTunes as an audiobook and not as music?

    How can I make an audiobook purchased from another source show up in iTunes as an audiobook and not as music?
    They chapters are mp3 files. Changing the genre to "audiobook" or "audiobooks" does help.
    I am sure this question will come up a lot, since the book in question is "Harry Potter and the Deathly Hallows," purchased from Pottermore.com.

    The one thing I would add to the instructions above is that the "Media Kind" menu is on the "Option" pane in the "Get Info" Window. This procedure has allowed me not only to make imported audiobooks show up as audiobooks, but imported podcasts show up as podcasts.

  • How cat I speed up video "Share" from iMovie library in to .mov file?

    How cat I speed up video "Share" from iMovie library in to .mov file?
    I am converting ONLY 18 sec. long video, and it says 88 min. till its completeion. ???
    I have over 1TB of free space and my mac specs are:
    Processor  2.2 GHz Intel Core 2 Duo
    Memory  4 GB 667 MHz DDR2 SDRAM
    Graphics  NVIDIA GeForce 8600M GT 128 MB

    Using iMovie Version 10.0.2 (Mavericks) and importing HD 1920x1080 since I am not interested in any smaller quality.
    in other words, I would like to be able to import videos from my camera (highest available quality) which could be played on QuickTime.
    Is there any way I can avoidaving my videos saving in " iMovie Library.imovielibrary" ???
    I am interested in having my videos as (1920x1080 .mov) file and no other.

  • How can I make a PDF file from each folders with layers, where each page is a each folder?

    How can I make a PDF file from each folders with layers, where each page is a each folder?

    I found an answer to my own question. A work around of sorts.
    Download Photoshop Elements 6 for Macintosh. With PSE6 I made a slide show with 550 images 1920x1200, without thumbs. I ran into one problem making the slide show. My images contained 4 images which had not ben created by Photoshop and could not be included in the slide show. Opening the images in Photoshop CS4 and re-saving them still did not make then acceptable. Not a big deal. I probably could have fixed the four images by stripping all EXIF data before opening them in Photoshop. BTW, PSE6 made the slide show in demo mode.
    I hope the bug in Photoshop CS4 will be fixed in Photoshop CS5.

  • How Do I Make My Name Disappear From Menu Bar?

    I use Mavericks OS X 10.9.3.  How do I make my name disappear from the Menu Bar?

    Or select to show the icon instead of your name in case you want to keep the ability to use FUS while gaining precious menu bar space.

  • (SOLVED)How do I make a system snapshot?

    Hi,
    The latests udev scare has shown me two things: you can rely on the community to fix this (thanks Tobias!) and a good backup/snapshot is worth its wheight in gold.
    What manual do I read/study/understand to make a system snapshot before upgrading? I rely on the fallback now, but... the current system (the one that does not work that well) will become the ... fallback after update and that's not a good prospect...unless I'm mistaken!
    Thank you, I hope my question does not raise any storms.
    Thor
    Last edited by Thor@Flanders (2011-01-27 14:12:25)

    Hi everyone,
    @karol : indeed, this is the "painful spot" - it seems to be solved, so an update is in order of course...just want to keep the "furniture safe" so to speak
    @ tomk : no offense taken, but, I stil consider myself a newbe (but I am a newbe that IS willing to learn...), so the question is "what to learn and what to learn first?", okay, so there are some things you mentionned I need to learn, but Linux is NOT just a hobby for me. I do not have any other system (like Mac or windows) - there just is ... Linux.
    @ ngoonee : I dont know yet what the fallback is, but there's just one word for it right now : lifesaver! Arch is great, there IS a fallback
    Edit : Okay, some options have come up...in the answers posted...including one post elswhere from one Enlightened Spirit - who also has my profound gratitude.
    I have understood (from the stuff I read) that the fallback is "merely" (using this word cautiously) an all-in-one package while the standard kernel is a fine tuned set. Hence, since there is "just what is needed", there is nothing to "fall back" on...the difference in size (1.4Mb - 7.9Mb) tells tales.
    I looked into rsync too, okay, that, in combo with a weekly cron job and one to be run before updates, should be all I need to be secure...
    I can safely say that this thread can be closed...and marked as solved as requested in this thread https://bbs.archlinux.org/viewtopic.php?id=50161...
    Editting the subject line next time round!
    Closing edit : marking this thread as solved with gratitude to all that helped, and showed me what to learn next!
    Last edited by Thor@Flanders (2011-01-27 14:12:08)

  • How do I change the http proxy?

    the options tabs no longer seem to have the button for connection settings. I would like to change the http proxy.

    See:
    * http://kb.mozillazine.org/Preferences_not_saved
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How can I convert a https proxy to socks5?

    Hi. I have a https proxy and want to convert it to socks v5.
    I found polipo but it have two problems:
    1- It's convert socks v5 to http proxy. I want to convert https proxy to socks5.
    2- It not support authentication. My https proxy is protected and needs username and password.
    Thanks.
    I wait for your answers.

    progandy wrote:You can create a socks proxy with dante, you can redirect your applications to a socks proxy with socksify (in the dante package).
    AFAIK, the danted proxy can forward traffic to another socks proxy or a http 1.0 proxy.
    Edit: Just found http://proxychains.sourceforge.net/
    https://aur.archlinux.org/packages.php?ID=41765
    Sorry, my English is very bad and I can't read dante configuration arcides.
    How can I configure it? Can you say it in simple English language? :-?

  • How can I make an HTTP redirect in Apache on Mac?

    In IIS on Windows, I was making a redirect that when I went to localhost, it would go to localhost/IndigoUnlimited for my site. Now, I am using Apache, and to get to my site on my Mac, I need to type in localhost/~myuser. How can I make a redirect so when I go to localhost it will redirect me to localhost/~myuser?

    You'd do this by editing your hosts file. That's actually what was happening when using IIS to set up the redirect. It just had a fancy interface.
    A really nice link with in-depth walkthrough, explanation, AND video!
    http://osxdaily.com/2012/08/07/edit-hosts-file-mac-os-x/
    You can redirect websites locally using the same logic, perfect for setting up test domains

  • How can I remove a write proxy from calendar delegate

    I am trying to remove a read/write proxy delegation from a calendar.
    The delegation was setup using the terminal utilty calendarserver_manage_principals to a server group.
    There are great examples of how to add the proxies, but I can't find examples of how to remove a read or a write proxy from a calendar delegate setup this way.
    Thanks in advance for any and all assistance.

     Hi,
    As I know, iStartSurf is a browser hijacker, which is promoted via other free downloads, Here're some suggestions about how to move iStartSurf, would like to share it with you.
    http://malwaretips.com/blogs/remove-istartsurf-virus/
    It's recommended not install any software from untrusted source. 
    Turn on Windows Defender or other anti-virus software to ensure the safety.
    Turn UAC on, it will notify you when some apps make changes to your Windows settings. (control panel\user account\Change User Account Control settings)
    NOTE
    This response contains
    a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft does not control these sites and
    has not tested any software or information found on these sites.
    Yolanda Zhu
    TechNet Community Support

Maybe you are looking for

  • New AppleScript command in KN4 - woohoo!

    It's only one addition, but it makes all the difference. You can now set the body text of a slide via AppleScript. It doesn't sound like much, but it means we can now create 'complete' presentations via scripting, making my attempts at an Aperture to

  • DW CS5 with PHP - page 247

    Why not include the email address in the $data array that gets inserted into the database? Is that covered later in the book?

  • We're sorry. We are experiencing a temporary problem .!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    This retarded message keeps appearing: We're sorry.  We are experiencing a temporary problem and can't continue your order at this time. Just like others, it will not go away, I need to change some of my services and I'm not able to do so.  It's been

  • 10.9 will not sleep with apps open

    SO frustrating. I have to close all my apps to get the Mac Pro tower to remain in sleep mode. Otherwise it will just pop back on again. I have read and tried some of the less technical work arounds but it still does this. Suggestions? Besides going b

  • Image Capture does not recognize RAW files from Panasonic Lumix G1

    I'm in the process of buying a Lumix G1 camera, but while uploading images from the camera in the store via Image Capture, said app did not recognize its RAW files, only the JPEGs. It works fine with other new cameras such as Nikon D5000, etc. Any id