The tag has no usage guidance.

learn more… | top users | synonyms

14
votes
1answer
12k views

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 ...
9
votes
3answers
5k views

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 ...
5
votes
1answer
7k views

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 ...
4
votes
2answers
5k views

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 ...
4
votes
2answers
2k views

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 ...
3
votes
2answers
3k views

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 ...
3
votes
2answers
2k views

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 ...
3
votes
3answers
2k views

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 ...
3
votes
2answers
2k views

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 throw an SSH tunnel. The goal being to securely connect my web app to the database. ...
3
votes
3answers
842 views

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 ...
3
votes
1answer
1k views

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
3
votes
1answer
235 views

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 ...
3
votes
1answer
967 views

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 ...
3
votes
1answer
109 views

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: ...
3
votes
2answers
585 views

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 ...
2
votes
2answers
2k views

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 ...
2
votes
3answers
2k views

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 ...
2
votes
1answer
987 views

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 ...
2
votes
1answer
3k views

Tunnel apt traffic from private network through public to the internet

I've got 4 Servers under the following config: Servers 1 and 3(Web Server, Mail server respectivelly): NIC1: Public Network, Connected to the Internet NIC2: Private Network, Communication between ...
2
votes
2answers
3k views

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 ...
2
votes
1answer
2k views

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 ...
2
votes
1answer
142 views

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

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 ...
2
votes
1answer
2k views

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 ...
2
votes
1answer
1k views

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 ...
2
votes
1answer
37 views

How to redirect traffic on vpc instance

I'm working with Amazon web services and I have a VPC with two instances one of the instances is running my app and the other one has a VPN connection to a payments system. The VPN tunnel is working ...
2
votes
0answers
83 views

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 ...
2
votes
1answer
644 views

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 ...
2
votes
0answers
2k views

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 ...
2
votes
1answer
582 views

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 ...
2
votes
1answer
3k views

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 ...
2
votes
0answers
169 views

Dynamic VPN tunneling technologies

Ok, so I'm asking a more specific question this time. I'm writing a paper about Cisco's DMVPN and one of the tasks I have is to make the analysis of available network solutions which use dynamic VPN ...
2
votes
0answers
511 views

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 ...
1
vote
2answers
1k views

Connection refused in ssh tunnel to apache forward proxy setup

I am trying to setup a private forward proxy in a small server. I mean to use it during a conference to tunnel my internet access through an ssh tunnel to the proxy server. So I created a virtual ...
1
vote
2answers
1k views

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 ...
1
vote
1answer
424 views

Fail safe SSH tunnel Ubuntu (always up)

I need your advise for a very important technical issue on our project. We need to have a SSH tunnel always up between our two servers. We have a MySQL database replication process going between those ...
1
vote
1answer
936 views

Difference between site-to-site and client-to-site configuration on openVPN server

I am trying to setup a site to site VPN tunnel using openVPN. The server currently is setup to accept client to site connections. When configuring a site to site tunnel (as opposed to the client to ...
1
vote
1answer
1k views

Managing multiple servers behind a firewall with SSH reverse tunnel

I have 10 Ubuntu servers in different locations, behind a firewall each (local_server_1 to 10). All those servers are authorized to SSH into my public server (lets call it master) using ssh keys (in ...
1
vote
1answer
40 views

Switch to Switch Communication with Static Routing

Before I ask any questions, here's a bit of an overview: Simple example of my network topology What I have in the diagram is two networks segregated by a point-to-point LOS system (the "towers") and ...
1
vote
2answers
131 views

SSH tunnel on port other than 22 under OSX

I'm trying to access two different machine's VNC servers located on the same local network from the WAN. As I'd like that traffic to be routed in an SSH tunnel, I'm using ssh admin@xxxxxx.net -N -L ...
1
vote
1answer
55 views

VPN Tunnel Migration

I need to do a VPN tunnel migration from 1 Cisco Asa to another one on 20 remote routers. I wrote a little script that can automaticaly migrate the routers to the new ASA. However, when I run this ...
1
vote
1answer
1k views

WCCP and Squid, and Tunnels

I'm trying to configure WCCP + Squid with the following documentation: http://www.crypt.gen.nz/papers/cisco_squid_wccp.html I have a cisco switch, a test client, and a squid proxy server. I think ...
1
vote
2answers
5k views

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 ...
1
vote
1answer
9k views

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 ...
1
vote
1answer
4k views

How do i route TCP connections via TOR? [closed]

I was reading about torchat which is essentially an anonymous chat program. It sounded cool so i wanted to experiment with making my own. First i wrote a test to grab a webpage using Http. Sicne .NET ...
1
vote
1answer
1k views

Configuring ipv6 over radvd using sixxs, routing not working

So this morning, I have been trying to configure IPv6 upon my network using the guide I found on reddit (of all places) at http://ipv6friday.org/blog/2012/06/ipv6-enabling-training/. Now at first ...
1
vote
0answers
82 views

Ethernet over GRE bridging - Proxmox

I'm trying to install two proxmox on Online.net server's, and I just realized that their RPN feature doesn't work at all like the OVH vRacks. Since I need the different VM's on both hypervisors to be ...
1
vote
0answers
143 views

Build IPv6 over IPv4 tunnel between server and home network

On one side I have an Ubuntu server in a data center that has IPv6 connectivity. The eth0 interface has a public IPv4 and also a public IPv6 /48. From that server I can ping IPv6 addresses OK. On the ...
1
vote
0answers
78 views

Routing IPv6-traffic from client via OpenVPN-server

For playing and learning purpose i set up an OpenVPN-server. Im currently attached to a network without IPv6. Because of that, I would like to route all IPv6-traffic via the VPN. With IPv4 and ...
1
vote
0answers
45 views

How can i use OpenVPN from SoftEther in android devices? [closed]

I want to know is there any chance to connect to OpenVPN that build in SoftEther in android devices using openvpnclient?
1
vote
2answers
81 views

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 ...