Questions tagged [tunnel]
226 questions
4
votes
2 answers
Cannot run OpenVPN on port 53 (DNS Stops Working)
So I'm trying to get OpenVPN to work on port 53 - sadly this isn't working.
I used IP tables to map port 53 to port 1194 (standard OpenVPN port)
Here's what I run to do this:
iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-port…

Matthew 'mandatory' Bryant
- 197
- 2
- 7
4
votes
3 answers
Use server's IP via SSH tunnel
Firslty my setup is an Ubuntu laptop and an Ubuntu server.
I have a program on my local laptop which needs to access a certain web-service, (lets call it http://someserver.com/someservice123). Now this service has a firewall which only allows access…

user143278
- 47
- 2
4
votes
1 answer
Forward IP packets to tunnel device
I have created an tunnel device using
ip tuntap add dev tun0 mode tun user 0 group 0
I then assign it an ip address 192.168.0.1/22
ifconfig tun0 192.168.0.1 netmask 255.255.252.0
On my ethernet device eth0, I receive packets from machines in the…

Ashwin
- 41
- 3
3
votes
1 answer
Use IPv4 on IPv6-only machine (through SSH tunnel?)
Our non-IT company uses a IPv4-only webservice which only allows access from our (whitelisted) IPv4 ip. This ip is assigned to one of our VPSes (this VPS also has a IPv6 assigned to it).
We usually SSH tunnel from other IPv4 machines in to this VPS…

Rick
- 53
- 1
- 5
3
votes
1 answer
No ping on IPSec tunnel with Strongswan
I have the following situation.
The home network is on 192.168.1.0/24 and uses a Zyxel USG50 which is able to handle IPSec tunnels.
The remote VPS runs Ubuntu 16.04 and hosts a PPTP server (10.0.0.1) which assigns addresses 10.0.0.100-200 to the…

Michele Scuttari
- 61
- 2
- 10
3
votes
2 answers
IPv6 IPsec between two native IPv6 networks
Assume I have two networks, A and B, on sites either side of the globe. Both have native IPv6 and are using (hypothetically) just IPv6. IPv4 no longer exists. They can both access the internet natively as IPv6 and use IPv6 hosts. Their IPv6…

Matt Hamilton
- 161
- 2
3
votes
2 answers
Windows Server FIrewall (2012) Ipsec tunnel problems
I am new to Ipsec tunnels. I have successfully created a tunnel to a Cisco offsite router using a preshare key at a supplier.
In Endpoints 1 : I have the servers ip address and the remote servers ip address that I intend connecting to.
In Endpoint 2…

Wize
- 91
- 6
3
votes
1 answer
Can I have an alert when a IPSEC is down in Fortigate 80C?
We have a fortigate 80c and 60D with an IPSEC VPN .
Is there a way to use the log (or other tool) to send an email alert when the tunnel is down?
I couldn't see anything on the Log & Report tab

Saariko
- 1,791
- 14
- 45
- 75
3
votes
3 answers
reverse ssh tunnel over stunnel (or just reverse back down the stunnel connection)
I'm creating a security "dropbox" that can be deployed behind nat or any firewall, call out to a controlled publicly accessible server and then initiate control from the server.
I know this is easily done with an ssh -R command, however, I'm looking…

eficker
- 883
- 1
- 7
- 8
3
votes
2 answers
Openvpn forward all routing to a socks port
Is it possible to configure openVPN to route all client connections through a socks port? ie, I want the setup to be:
Client -> openvpn server -> localhost socks5 port -> socks5 port forward -> the internet
machine 1 machine 2 machine 2…

Ramo
- 63
- 2
- 6
3
votes
2 answers
How to set up a 6in4 / 6to4 tunnel server on a Linux gateway?
I have native IPv6 connection (/64 prefix), and I've been trying to set up IPv6 connection behind a OpenWrt router. But I discovered that I was unable to use ebtables to pass through all IPv6 traffic (firmware limitation) or use ndppd to proxy all…

user707854
- 31
- 1
- 2
3
votes
2 answers
Set up a 6in4 tunnel server
I'd like to set up an IPv6-in-IPv4 SIT tunnel server. I've combed through the Ubuntu IPv6 wiki page but everything is geared towards connecting to a tunnel as a client, rather than hosting one. I'd like to use 6in4 as it's quite simple/versatile and…

SimonJGreen
- 3,205
- 5
- 33
- 55
3
votes
2 answers
Correct options for keeping open a reverse SSH-tunnel using autossh
I have a set-up with a LDAP-sever (ldapserver) behind a strict firewall, and a webapplication running on a sever (appserver) outside that firewall that needs to authenticate using that LDAP-sever.
I have successfully used a third server…

mhermans
- 133
- 1
- 4
3
votes
2 answers
stunnel version 4.53 says SSL server needs a certificate on Windows 7
I have been using stunnel previous versions just fine. It didn't apparently have the feature of a certificate in SSL server mode. That's alright but not necessary for us as we're simply running a localhost server to tunnel to the remote…

Wayne
- 428
- 4
- 7
- 15
3
votes
1 answer
Choose any available SSH tunnel
I need to connect to a remote server behind jump hosts.
There are several jump hosts (residing in different regions) that I can tunnel through to reach this remote server.
So I need to connect to this remote server via any available jump host. If…

LKM
- 31
- 1