networking - SSH through VPN Chromebook - Ask Ubuntu


so, issue have chromebook crouton running on it. i've been using browser extension connect pre-set vpn avoid network's filters. but, 2 things happening i'm not sure how around/handle.

  1. the extension tunnels traffic browser, , not external applications/processes.
  2. if enable extension on chrome in chromeos environment, works in environment not ubuntu one, , vice-versa (so each environment has own separate instance).

my main issue first point because want use ssh connect vps because can't on network use lot (and don't want use mobile hotspot.) included second point because i'm not sure environment should let handle network settings vpn tunneling or if conflict @ all.

overall, want find way around network filters connect via ssh vps. can through desktop client or custom configurations, prefer not set own vpn server. i'd able along same lines using pre-set 1 in chrome extension. have ubuntu 14.04 unity desktop environment installed.

update: have included output of nmap -p 22 -st vps.example (the vps.example line hide actual vps server. i'm not typing vps.example.) :

nmap scan report jp.jp (vps.example) host (0.0036s latency). port    state    service 22/tcp  filtered ssh  nmap done: 1 ip address (1 host up) scanned in 0.26 seconds 

i achieved result looking changing ssh port 443 (ssl port.) most, if not all, networks have port unblocked. this, edit /etc/ssh/sshd_config root. change line says

port 22

to

port 443

and finally, restart ssh service doing

sudo service ssh restart

to connect ssh server new port, add -p argument , specify 443

ssh -p 443 user@example.com

some tips david foerster

if don't want type -p 443 server time establish ssh connection command-line, can add entry ~/.ssh/config host like so. user entry optional save entering username well. can specify things dynamic , static port forwarding.

warning: keep in mind if have web server running, ssl unable connect port, don't if need keep web server running.

more ssl , port 443


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User