Questions tagged [tunnel]

226 questions
2
votes
1 answer

How do I set up an ssh -w tunnel VPN between AWS VPC and a Linode?

I'm probably not going to use this for the long term, but I still want to know why this isn't working. I've set up a simple ssh tunnel from my Linode instance to one AWS EC2 instance within my VPC. I have three running instances, one has a public…
Jim Dennis
  • 807
  • 1
  • 10
  • 22
2
votes
1 answer

GRE Tunnel in CentOS

How to create a GRE Tunnel in CentOS pointing all connections to server A for the server B? I have a public server with DDoS protection and need to use this as a firewall to filter acess to the other server. Example: users -> server A(DDoS…
Guest
  • 21
  • 2
2
votes
1 answer

How to get the list of SSH tunnels connected with the username used?

The connection is established from Desktop(D) to Server(S) with ssh -D PORT username@Server. From the Server, the list of ssh users connected can be obtained with who, but the ssh tunnels are not listed in who or w. Also, with netstat -lnpt | grep…
randunel
  • 125
  • 1
  • 5
2
votes
0 answers

Route public subnet to client location

Due to the fact that my ISP introduced CGN/DSLite and I still need public IPv4 addresses, I was thinking about tunneling an unused /29 that I own from my server to my local Linux box. After doing some research, I can't figure out to make that work,…
Reallumpi
  • 21
  • 1
2
votes
1 answer

How to provide access to lan mysql DB from a remote server?

Consider the below network configuration: A client connects with its workstation to the application server on the Web. The application is full HTML, so only browsing through HTTPS is enough to launch an application. On the other hand, the…
Dom
  • 21
  • 2
2
votes
1 answer

Connect two mac computers/servers using a tunnel or private VPN?

I've got software I need to run on two computers on two separate networks (one behind a nat). The software requires both sides to have a static ip address that doesnt change. I assume some sort of tunnel or vpn would be a neat way to solve this,…
Jay
  • 121
  • 4
2
votes
1 answer

L2TP/IPsec through HTTP Port 80

i got an VPN (L2TP/IPsec) Tunnel running on my synology nas. my router is configured for vpn passthrough. so everything is fine. furthermore i got an webservice running on port 80. now i got the problem, that i spend most of my time in an…
Alex Tape
  • 138
  • 1
  • 5
2
votes
2 answers

What do transmit errors on Linux IPsec virtual tunnel interfaces indicate?

Our monitoring system is indicating transmit errors on the IPsec VTIs on our Vyatta Core routers when they are under high load. They only appear fairly occasionally, and don't appear to seriously impact performance (we're getting pretty close to…
Paul Gear
  • 4,367
  • 19
  • 38
2
votes
2 answers

AWS VPN Tunnel going down without traffic

I managed to setup a site-to-site VPN connection from Amazon VPC to a company's network, and after a lot of configuration it was working fine, but now i realized that the VPN tunnel is DOWN every time there's no traffic going trough for a couple…
2
votes
1 answer

SSH connection refused on an unusual port

Using AWS EC2 Reverse SSH tunnel initiated from a remote machine to AWS: /usr/bin/autossh -M 0 -N -R 19999:localhost:22 ec2-user@ec2.aws.com -v -i cloud.pem Added port 19999 in AWS security groups. Checked if I can connect with telnet to…
Tony Sepia
  • 187
  • 6
2
votes
1 answer

Routing traffic through IPSec with NAT and IP Alias in pfSense

I have a pfSense firewall and I need to connect to a remote site (form my client). I'm running into several issues, and don't see traffic flowing in any way. Here's my setup: LAN is 192.168.0.0/16 I have a WAN interface as the default gateway. I…
pgb
  • 455
  • 1
  • 6
  • 18
2
votes
0 answers

Site-to-site VPN between Azure Virtual Network and a Cisco RV016

I'm attempting to configure a Cisco RV016 router to connect to an Azure Virtual Network to create a site-to-site VPN, but it's not working. I'm aware that a Cisco RV016 is not in the list of officially supported devices, however it does appear to…
BG100
  • 169
  • 1
  • 14
2
votes
1 answer

Redirect SSH traffic through GRE tunnel

I'm trying to redirect all local connections with destination matchs port 22 to specified tunnel using iptables MARK, but, something is going wrong. 1.1.1.1 my public address 2.2.2.2 tunnel public address 1.2.3.4 my local tunnel address Here the…
user158720
  • 43
  • 4
2
votes
1 answer

How to force certain traffic through GRE tunnel?

Here's what I do. Server (public internet is 222.x.x.x): echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf sysctl -p iptunnel add gre1 mode gre local 222.x.x.x remote 115.x.x.x ttl 255 ip add add 192.168.168.1/30 dev gre1 ip link set gre1…
wew
  • 21
  • 1
  • 3
2
votes
1 answer

Tunnel only one program (UDP & TCP) through another server

I have a windows machine at home and a server with debian installed. I want to tunnel the UDP traffic from one (any only this) program on my windows machine through my server. For tcp traffic this was easy using putty as a socks5 proxy and then…
user136036
  • 141
  • 4