Reputation
3,801
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
13 37
Impact
~772k people reached

May
20
comment local development LAMP server: routing external requests through SOCKS proxy
thanks for the advice. unfortunately my problem is a lot more complicated than I originally thought it was. In addition to url and packet filtering China also uses DNS filtering. This is a problem because DNS lookups are UDP requests and only TCP requests get sent through the ssh tunnel (not a problem with firefox or chromium because they have options to route dns through the proxy--doubt apache has such). There is a solution (see hekate.homeip.net/tag/tsocks) using the program socat to convert the lookups to/from UDP on either end of the tunnel but I can't get it to work correctly.
May
16
comment How does one recreate a custom application launcher that takes command line syntax and even perhaps parameters?
On second thought, definitely follow the directions in the answer below. Editing the files in /usr/share/applications/ directly is not a good idea for a number of reasons (unless you a)specifically want the custom launchers to be the default for all users on your machine, and b) backed up the files first.)
May
15
comment local development LAMP server: routing external requests through SOCKS proxy
see this question for example, which suggests a socks global proxy is impossible with Xubuntu: askubuntu.com/questions/77509/…
May
15
revised local development LAMP server: routing external requests through SOCKS proxy
clarified section 2.
May
15
comment local development LAMP server: routing external requests through SOCKS proxy
thanks for your response. Your right, I wasn't very clear about this. I have no problem making the SSH tunnel itself, it's just configuring it as the global socks proxy that is giving me trouble. Xubuntu doesn't come with ubuntu's Network Proxy GUI, and all of the solutions I found via googling were only for http and ftp proxies and suggested it is impossible to set a global socks proxy (which I don't believe). They suggested using tsocks, but I'm unsure how to/if I can use tsocks with apache5 without breaking it.
May
15
awarded  Editor
May
15
revised local development LAMP server: routing external requests through SOCKS proxy
edited title
May
15
answered How does one recreate a custom application launcher that takes command line syntax and even perhaps parameters?
May
15
asked local development LAMP server: routing external requests through SOCKS proxy