Questions tagged [tunnel]
210 questions
40
votes
1 answer
ssh tunnel - bind: Cannot assign requested address
Trying to create a socks (-D) ssh tunnel - Linux box to Linux box (both centos):
sshd running on remote side ok.
From local machine we do / see this:
ssh -D 1080 user@8.8.8.8.
user@8.8.8.8's password:
bind: Cannot assign requested address
(where…
JosephK
- 603
- 1
- 6
- 8
16
votes
4 answers
Copy data through SSH tunnel over multiple hops
We have two main environments in question:
Development and QA
Each environment has two servers:
Jump Box
Application server
In order to connect to the application server, you must connect to the jump box first, and then SSH to the Application…
Barry Chapman
- 400
- 1
- 4
- 15
11
votes
3 answers
Helo command rejected: Host not found - Setup postfix to accept sending mails from my home server through my public server
I would like to receive system emails from my home server. So I'm trying to configure postfix to do that through my public server. My public server has a fixed IP, while my home server is in a private network with a messed up hostname due to my…
The Quantum Physicist
- 656
- 2
- 11
- 25
9
votes
4 answers
SSH tunnel doesn't work
I am trying to use my server as a "proxy" with ssh.
However, setting up tunneling with
ssh -D localhost:8000 user@myserver
does not work.
I tested this on various machines with ssh and putty - It connects just fine, but when I set my browser…
s1ck
- 145
- 1
- 2
- 8
8
votes
2 answers
SSH tunnel (port forwarding) slow down a lot my mysql queries
I'm currently testing some configurations with vagrant (virtual box) to connect 2 servers (VM currently) together through an SSH tunnel. The goal being to securely connect my web app to the database.
The issue is that when I query the database…
Nicolas BADIA
- 356
- 1
- 6
- 15
8
votes
2 answers
Tunneling a public IP to a remote machine
I have a Linux server A with a block of 5 public IP addresses, 8.8.8.122/29.
Currently, 8.8.8.122 is assigned to eth0, and 8.8.8.123 is assigned to eth0:1.
I have another Linux machine B in a remote location, behind NAT. I would like to set up an…
Jim Paris
- 276
- 2
- 3
- 8
6
votes
0 answers
Run openvpn inside docker and use as gateway for internet for other networked devices
I am trying to run tunnel all my network traffic on my LAN via an OpenVPN client running inside a docker container.
My router and default gateway is running on 10.10.10.1
I have OpenVPN running on in a docker container with its own IP and all ports…
mrwooster
- 233
- 3
- 7
6
votes
1 answer
Connecting to MYSQL over SSH tunnel
I can ssh onto the remote server and login without a problem.
I'm trying to connect to a remote mysql db over a ssh tunnel and running into issues. I've created the tunnel successfully (verified by telnet). When I try to login with the…
Scott W
- 165
- 1
- 1
- 4
5
votes
3 answers
Replace DNS on Openvpn client without redirect-gateway
I am trying to push DNS to the client with OpenVPN server with config:
push "dhcp-option DNS 192.168.x.x"
It is working well, but what I really need is that during the VPN connection I do not want to use my primary resolvers, clients should use…
Gabor Vincze
- 554
- 1
- 4
- 11
5
votes
4 answers
How do I know if an openVPN tunnel is established?
How do you know if a site to site VPN tunnel is established in OpenVPN?
Apart from pinging the other side, is there a command or something that shows the status of the tunnel?
Lock
- 1,557
- 6
- 25
- 33
5
votes
1 answer
selective routing through a VPN tunnel
The problem: after establishing an IPsec VPN tunnel all traffic is routed to the remote endpoint, while I only need to route the packets destined to that internal network and still be able to access the internet on my local machine. Currently, when…
BBK
- 51
- 2
5
votes
1 answer
Unsupported address method 'v4tunnel'
I'm trying to create a tunnel to HE.net to get an IPv6 address on my (cloud) server.
When I created the tunnel and put this in /etc/network/interfaces:
auto he-ipv6
iface he-ipv6 inet6 v4tunnel
address
netmask 64
…
KumaTea
- 153
- 4
4
votes
3 answers
How can I route traffic over IPSec tunnel?
I have two sites: MAIN (local subnet 192.168.0.0/24, external IP: M.M.M.M) and CLIENT (10.0.0.0/24, external IP: C.C.C.C). I created an IPSec tunnel between the sites and both sites can ping computers in both subnets. So far so good.
# ipsec…
Michal B.
- 97
- 1
- 10
4
votes
1 answer
How to forward traffic from tunnel interface to eth0
Network topology:
Internet
|
|
(eth0) IP: 202.xxx.xxx.xxx/255.255.255.0
A: Remote_Server(Debian)
(tun0) IP: 10.10.1.1/255.255.255.0
|
|
(utun0) IP: 10.10.1.2/255.255.255.0
B: iOS_Device ( iOS 9 )
Device A:
a TCP…
David W.
- 51
- 1
- 5
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
- 187
- 2
- 7