Skip to main content

Questions tagged [tunnel]

A tunnel is the medium that provide tunnelling, also known as "port forwarding".

Filter by
Sorted by
Tagged with
1 vote
1 answer
63 views

How do I delete tunnels on the localhost (lo0) interface?

How do I delete tunnels on the localhost (lo0) interface? I have tunnels on my machine, but no active VPNs, so it seems like they shouldn’t be there. How do I delete these tunnel interfaces and routes?...
Patrick Dark's user avatar
0 votes
0 answers
163 views

How to create and configure a utun device from the terminal?

I want to create and configure a tun interface (utun device) using the command line that I can use with ssh -w. I tried ssh -w 0 and got "Tunnel device open failed. Could not request tunnel ...
Trevor Dixon's user avatar
0 votes
0 answers
294 views

Has something changed in Ventura/recent version of MacOS with respect to ssh tunnels? Can't tunnel VNC nor SMB despite SSH working as expected

I connect ssh like this: % ssh -L 1445:127.0.0.1:445 -L 15900:127.0.0.1:5900 -p 2216 -v myhost Excerpt from the verbose log when connecting: debug1: Local connections to LOCALHOST:1445 forwarded to ...
d-b's user avatar
  • 1
0 votes
0 answers
212 views

Connecting to SMB server from WAN not working

I have a new Mac set up as a home server. I can use the Finder's Go | Connect to Server... from local Macs to connect with smb://my-new-server.local, but can't connect from outside my LAN. I've tried ...
Rob Lewis's user avatar
  • 235
1 vote
1 answer
1k views

ssh issue after updating mac os 13 [duplicate]

Im Using ssh tunnel its was working before update, But after update im not able to do ssh on 2nd host.It keep asking me password. Even key is same, first jump host its working. So i don't think issue ...
ankuj's user avatar
  • 11
0 votes
0 answers
168 views

Connect a MacBook to the company network through VPN of second MacBook

I need to connect a new MacBook Pro to the company network and then log in once to get the account running. Unfortunately, I live very far away from the company, so it would be great if I could do it ...
Daniel Brown's user avatar
0 votes
0 answers
29 views

Create a HTTPS Tunnel to avoid network hard limitations

Here is my problem : At work, if I don't want to use my phone for everything I use the provided connection to the internet, that goes through a network that has strict restrictions : basically all ...
LMT-PhD's user avatar
  • 131
0 votes
0 answers
228 views

Open in local browser URL from remote SSH computer

Situation is like this: From my home I connect over SSH to remote router with static IP. ssh routeruser@static_router_ip Than from router console over SSH, I connect to mac-mini. ssh macuser@...
Sasha Milic's user avatar
1 vote
0 answers
329 views

Unable to receive packets onto utun interface?

I'm using the NetworkExtension framework to create a virtual utun interface. My application receives packets from a client and the application writes the packet into the utun interface. Since I have ...
SunflowerNetworks's user avatar
2 votes
3 answers
354 views

How to setup remote access on a Mac

I need to work remotely and connect to a company network from my Mac over the internet. How do I set this up? I've looked at different software such as OpenVPN and Tunnelblick. I'm not sure how to set ...
user840930's user avatar
2 votes
1 answer
3k views

Can Safari (iPad iOS 12.4.2) be configured to utilize SSH-Tunnel / Port Forwarding?

Goal: from WAN, SSH-tunnel to home router (outfitted with SSH) and access remote LAN devices with iPad's web browser. As I understand it, a SSH-tunnel (connection) must be established first, which I ...
gatorback's user avatar
  • 3,081
10 votes
2 answers
19k views

I'm using the f5 software connect to VPN, but errors out with TunnelServer already launched

I'm using the BIG-IP f5 vpn client on my MacBookPro. Most of the time it works fine. Sometimes when my VPN does not exit cleanly I can no longer connect to the VPN. No matter how many times I try ...
Michael C. Chen's user avatar
1 vote
1 answer
7k views

SSH tunneling with Safari [duplicate]

I am transition from Windows to OS X: Can one configure the Safari browser with a socks to tunnel through a SSH tunnel (Putty in MS-Windows). Can a SSH tunnel be configured from the command line and ...
gatorback's user avatar
  • 3,081
11 votes
0 answers
3k views

Configuring an SSH tunnel with Transmit

Is there any way to configure Transmit so that it connects to an SFTP server through some SSH tunnel? (without having to launch the SSH tunnel via command line) E.g., with WinSCP on Microsoft Windows,...
Franck Dernoncourt's user avatar
2 votes
0 answers
4k views

Configuring an SSH tunnel with Forklift

Is there any way to configure ForkLift so that it connects to an SFTP server through some SSH tunnel? (without having to launch the SSH tunnel via command line) E.g., with WinSCP on Microsoft Windows,...
Franck Dernoncourt's user avatar
2 votes
1 answer
614 views

Disable DNS assignment with Airport Extreme IPv6 tunnel

I've got an IPv6 tunnel from Hurricane Electric, configured into one of my Apple Airport Extremes (which is otherwise setup in bridge mode). That's all fine, except that in the IPv6 Route ...
Alnitak's user avatar
  • 101
1 vote
1 answer
1k views

SFTP - how to tunnel to private AWS server behind AWS NAT

I need to SFTP connect to a AWS server behind a NAT server in a private subnet. Login to both the NAT server and the private subnet server is done using private SSH keys. In windows, there is WinSCP ...
StackNeophyte's user avatar
1 vote
1 answer
584 views

Tunneling ssh via ssh with foxyproxy

I'm tunneling over ssh with this command (under El Captain) ssh -D port_number -N -C [email protected] and enable foxyproxy on the browser. Everything seems to work just fine on the browser. ...
Bob's user avatar
  • 123
5 votes
1 answer
2k views

How do I keep an ssh tunnel alive using launchd?

I would like to keep an ssh tunnel alive. Below is my launch agent plist file but it only keeps the tunnel up for a day or two at the most. I'm using OS X 10.10.3. <?xml version="1.0" encoding="...
wkmor1's user avatar
  • 153
0 votes
1 answer
160 views

Using Airport Express pair as 'audio tunnel'?

I'm looking to do something that I think is fairly basic, but I'm not aware of whether Airport Express hardware supports this scenario. Basically, I just want to tunnel audio via IP packets / my home ...
Capt.Hogthrob's user avatar
5 votes
3 answers
2k views

iMessage / iCloud via SSH Port forward to get through firewall

What ports does iCloud and iMessage use and is it possible to use SSH port forwarding via a proxy to use them on a network that blocks the services?
Jeef's user avatar
  • 535
1 vote
1 answer
4k views

importing .vpl files (vpn tunnels) on mac

Is there any way I can import a .vpl file? This is the only way of connecting I have and for now I can only do it on Windows (with FortiClient 4.x.x) because 5 doesn't support importing .vpl anymore.
ab1428x's user avatar
  • 111
1 vote
0 answers
1k views

Can't access Screen Sharing using a ssh tunnel "open failed: administratively prohibited: open failed"

I am halfway through a 6 months trip away from my Mac at home. Until yesterday I have been able to remote control this Mac using Screen Sharing over a ssh tunnel but suddenly I can't connect anymore. ...
d-b's user avatar
  • 1
1 vote
2 answers
830 views

Is there a way to force ssh tunneling to be required for Screen Sharing

I have enabled Remote Management on a mac. Everything works fine when I connect from another mac using Apple's Remote Desktop app. However, I also want to have a client on a windows machine. In that ...
MightyMouse's user avatar
3 votes
3 answers
5k views

How to socksify apps in mac os

Is there an analog on mac os for http://linux.die.net/man/1/socksify ? So that i can use it like on linux: socksify mongo ....
breedish's user avatar
  • 207
2 votes
1 answer
10k views

How to setup a ssh tunnel that works with P2P and filtered http from OS X to a linux machine over SSH?

I do have a linux machine (Ubuntu) which has no filters and a client machine which is behind a firewall that have even web traffic filtering. I can properly establish SSH connections from the client ...
sorin's user avatar
  • 30.2k
4 votes
1 answer
2k views

Reverse SSH tunnel on the iPad

Is is possible to set up a reverse SSH tunnel on an iPad? I'd like to be to do basic nmap TCP scans and use some other tools that the iPad doesn't have on remote networks. So my idea is after I've ...
user avatar
0 votes
2 answers
1k views

How to use SSL tunnelling on OS X to give full internet access to some applications while you are on a restricted corporate network?

How to use SSL tunnelling on OS X to give full internet access to some applications while you are on a restrictive corporate network? Details: you want to be able to access some restricted ...
sorin's user avatar
  • 30.2k
6 votes
1 answer
4k views

How does Back To My Mac work without UPnP or NAT-PMP?

Back To My Mac (BTMM) used to require UPnP or NAT-PMP on your router to work, but at some point this changed and it can work (albeit slowly) without those. BTMM (usually?) works by setting up an ...
drfrogsplat's user avatar
  • 8,620
17 votes
2 answers
9k views

How to ensure that all traffic goes through VPN connection once it has been started?

I connect to the internet through a VPN provider along with other precautions in order to ensure privacy (against traffic analysis by agencies of a repressive government). I currently use Tunnelblick ...
citizenkt's user avatar
  • 171
21 votes
2 answers
31k views

How to manage tunnels as background processes from a shell script?

I need to set up a couple of ssh-tunnels from a shell script. I've tried running them as bg tasks using: #!/bin/sh ssh -L 3000:server1:5029 me@server2 & ssh -L 3001:server3:3306 me@server2 & ...
sprugman's user avatar
  • 669
3 votes
1 answer
1k views

Sparrow over a SSH-tunnel

Is it possible to use Sparrow over a SSH-tunnel since the imap and ssl ports are blocked at my work?
dotcrash's user avatar
83 votes
15 answers
157k views

What's a good SSH tunneling client for OS X?

I've been using SSH Tunnel manager to easily set up and stop port tunneling over SSH to various servers at my company. That saved me the pain of opening up a new terminal window which will hang out ...
Boaz's user avatar
  • 1,073
11 votes
7 answers
8k views

Is X11 still used today?

I have had X11 installed on my Mac for quite some time (as long as I have owned it I think) and have never used it. Do applications still use X11 or is out outdated at this point? Should I "learn" how ...
styfle's user avatar
  • 1,727