OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Stunnel and SSH tunneling VPN
« previous next »
  • Print
Pages: [1]

Author Topic: Stunnel and SSH tunneling VPN  (Read 7220 times)

deodion

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
    • View Profile
Stunnel and SSH tunneling VPN
« on: August 16, 2017, 10:38:52 am »
Is there anyway to get around ISP VPN blocking?

I read here: https://www.bestvpn.com/privacy-news/how-to-bypass-vpn-blocks

I'm suspecting my ISP is using Deep Packet Inspection (DPI) technology to control VPN traffic,

Perhaps actually OPNsense is built-in with stunnel or SSH tunneling?

Thank you,
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: Stunnel and SSH tunneling VPN
« Reply #1 on: August 16, 2017, 10:44:33 am »
Mostly SSL VPN (OpenVPN) through 443. Or is that already specifically blocked? There is the XOR patch which we have as well to prevent this detection in site-to-site deployments where you control both sites:

https://tunnelblick.net/cOpenvpn_xorpatch.html

You can also tunnel quite a bit through SSH, which is preinstalled.

We don't have stunnel as a package right now, but you could install that manually as well.


Cheers,
Franco
Logged

deodion

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
    • View Profile
Re: Stunnel and SSH tunneling VPN
« Reply #2 on: August 16, 2017, 11:13:10 am »
Quote from: franco on August 16, 2017, 10:44:33 am
Mostly SSL VPN (OpenVPN) through 443. Or is that already specifically blocked?

You can also tunnel quite a bit through SSH, which is preinstalled.

Cheers,
Franco

I will try to change it to 443 tonight,

And could you help point out how to use SSH tunneling in OPNsense and the client, please?
may be like just follow this link?: https://www.howtogeek.com/168145/how-to-use-ssh-tunneling
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: Stunnel and SSH tunneling VPN
« Reply #3 on: August 16, 2017, 01:41:16 pm »
Sure, if you want to connect to the GUI of a remote OPNsense that you only configured via SSH access from WAN:

# ssh -L 443:localhost:8443 10.0.0.1

In the browser, just open https://localhost:8443 to see the remote GUI.


Cheers,
Franco
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Stunnel and SSH tunneling VPN
« Reply #4 on: August 16, 2017, 04:26:54 pm »
or use -D port (socks proxy of the ssh command)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Stunnel and SSH tunneling VPN
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2