Possible to have SSH tunnel as a WAN Interface?



  • Ok here's my situation, I'm outside the US (in Canada) and I want to be able to watch hulu and netflix on certain PCs that are hooked up to my Pfsense. Right now what I do is I just open a SOCKs connection to my VPS via SSH tunnel, that's all fine and dandy since it's easy to do in Windows and I don't need to do anything with my Pfsense in that scenario, but what happens if say I want my Xbox 360 to go through a SSH tunnel so it can use netflix? What would I need to do? Obviously I can't play around with proxy settings in the Xbox.. is there a way to do it in Pfsense so that it pipes all Xbox traffic to my VPS via SSH tunnel?

    thanks!



  • I'm not sure about the gateway being an SSH tunnel on pfsense, but I'm waiting to see what an expert has to say on that.

    In the mean time you may be able to connect your XBox by using an SSH tunnel via another system, as a proxy. Use a spare computer or VM. SSH to your VPS.
    Example: ssh -ND 9999 123.123.123.123 -l usernameForVPS passwordForVPS

    And change your XBox to use the spare computer as a proxy. You may have to setup traffic forwarding so I recommend using ubuntu. I googled around some as well and found some hits for XBox live SSH.



  • oh so I guess you can use proxy settings on the xbox.. but can it be done more elegantly in PFSense, like I described in my OP, without using another VM/proxy computer? (i.e. what if the xbox had no proxy settings?) Or if I had a wii or something that had no proxy settings.

    Thanks!



  • @pookguy88:

    oh so I guess you can use proxy settings on the xbox.. but can it be done more elegantly in PFSense, like I described in my OP, without using another VM/proxy computer? (i.e. what if the xbox had no proxy settings?) Or if I had a wii or something that had no proxy settings.

    Thanks!

    Unfortunately, I don't know the answer to that. Hopefully someone else on the forum does. You may end up having to use another computer. Use a VM, that way you don't have to resource extra hardware.
    My recommendation would be to setup SSH on another system and use your proxy settings. This way you can switch back a forth.



  • There is a way to set up a VPN using SSH, but the pfSense web gui doesn't support this, so you would need to do it manually if you wanted to do that.  It is something that is described somewhere in the OpenSSH documentation.


Log in to reply