Jump to content

man in the middle


mxup

Recommended Posts

Hello,

I'm no network expert at all so excuse me if I ask a silly question :)

I have set up my netflix on my desktop as follows:

- create an ssh tunnel to my server

ssh -D 5000 -N server.com -p 22 -l mylogin -v -4

- setup web browser proxy settings to

-- use localhost:5000 for *.netflix.com

-- connect directly for anything else

I have Nexus Player (android tv) and it turns out to be a PITA to do the same on android. So I wonder, if I hook up a lan turtle using usb otg, could i create a similar setup as described above and if yes, which modules would I use for that

thank you!

Link to comment
Share on other sites

Interesting idea, I don't think you would even need a module for it. You can just use the console and set that up same ssh tunnel. You may be able to edit the autossh connection for that or create your own module for it. I don't think there is a specific module that would meet those requirements besides the autossh connection and I'm not sure what is involved in editing it to add the port forwarding portion or if the attached device would have access to that tunnel (now that i think more on it). But basically the lan turtle is a embedded linux console with two network ports bridged so I'm sure you could configure things to work as you expected it.

I haven't tried or tested it, but I'd be interested to know what you found out or if anyone has more specific ideas they can contribute.

Link to comment
Share on other sites

... if the attached device would have access to that tunnel (now that i think more on it). But basically the lan turtle is a embedded linux console with two network ports bridged so I'm sure you could configure things to work as you expected it...

that's the thing, i'm no network expert :) I guess i would have to use iptables and redsocks or something..

so, in words:

- any incoming traffic except http should pass through

- http traffic: lookup domain for ip or analyse http header to check domain

-- domain does not match *.netflix.com --> pass through

-- domain matches *.netflix.com: socksify connection and redirect to ssh tunnel

any pointers appreciated

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...