keisatsu

  • 3 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • keisatsutonetworking@sh.itjust.worksIs my proxy setup safe?
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    2 months ago

    I would be hesitant to put a squid proxy directly on the Internet as there is a history of vulnerabilities in that software and afaik a bunch of them are yet to be fixed.

    First of all I would advise against trying to bypass the security controls your school implemented, but if I hypothetically would attempt to do what you’re trying I would probably set up a haproxy on a dedicated piece of hardware, such as a raspberry pi, and expose 443 to the Internet. I would configure a simple static website to serve as default, and add a ssh backend like in this guide: https://www.haproxy.com/blog/route-ssh-connections-with-haproxy

    Now you can SSH to your backend by wrapping the connection with openssl s_client. From here you can do a dynamic port forwarding, which essentially acts as a socks proxy and finally connect to that with firefox

    edit: slap a tls cert on that too for good measure. Helps with hiding the ssh traffic















  • Hey,

    I’ve been to Japan twice, 2012 and 2017. It’s a bit difficult to estimate a budget as prices vary alot depending on what you are thinking of doing. Food for example can be decently cheap (ramen, sushi, convenience stores) but also expensive (Michelin-level dining). Back then I paid on average maybe 10-15 USD for dinner (2017). I dont remember too well and considering the global economy it might have become more expensive in general. I remember having katsudon in Akihabara for maybe 4-5 USD back in 2012 thinking it was insanely cheap for such a great meal.

    Have you decided on which cities you are going to visit? I can mostly recommend places in and around Tokyo, Kyoto, Nagasaki and Hiroshima. If you are going to Okinawa I can give you a few suggestions as well.

    Trains are excellent in Japan and if you are travelling between cities you should get a Rail pass. I’ve also travelled by night bus between Tokyo and Kyoto, but I would not pick them over the trains unless you opt out from getting a Rail pass. Note that you need to buy the pass before arrival in Japan!

    The importance of speaking Japanese varies on the places you visist. If you mostly stay in Tokyo you will probably be fine speaking only English, but you will regularly run into people that can’t understand you. Alot of street signs have romanized text on them so you can get by decently well, but knowing Japanese helps immensely. If you travel outside Tokyo and if you visit smaller cities and villages in particular you will likely struggle without understanding Japanese.