1
vote
1answer
80 views

Routing default gateway for 2nd vlan over a tunnel (linux/tinc)

Fixed: It turned out to be a combo of what BatchyX said (missing the 172.16.101.0/24 route on the remote end), and tinc on the remote side failing to run a -up script (the script wasn't executable). ...
0
votes
1answer
364 views

Transparent Ethernet over GRE not forwarding traffic

I am running on Linux 2.6.30.9 and have been trying to setup a transparent ethernet over GRE tunnel. The network topology used is as follows: I want to bridge PC1 and PC2 using Transparent Ethernet ...
0
votes
1answer
95 views

IP/GRE compiled in kernel but gre0 interface doesnt exist

Im trying to create IP over GRE tunnel but i get No such device: ip tunnel add gre0 mode gre remote 192.168.152.22 local 192.168.152.21 ttl 255 ioctl: No such device I have compiled GRE support in ...
0
votes
0answers
155 views

Using public interfaces on a server connected through a GRE tunnel

I'm pretty new to networking so please forgive any terminology mistakes. I have 2 servers connected with a GRE tunnel. Server1 (10.0.0.1) ----> Server2 (10.0.0.2) I want to be able to bind to the ...
0
votes
1answer
309 views

GRE keepalive with Linux and RouterOS

I have a Linux host and couple of routerboadrs. I created a GRE tunnel, but Linux does not answer keepalive packages. Then router mark gre connection as unreachable, so I cant send to Linux host from ...
5
votes
2answers
413 views

How to Configure Secure Connectivity between Multiple Subnets

I have the following setup 2 x linode vps 1 x lab (physical) running 4 vps My goal is to make it so all nodes act as if they are on the same LAN. This will allow me to alter IPTable rules, to allow ...
1
vote
0answers
67 views

GRE tunnel not allowing Internet

I'm starting with GRE tunneling and I got two machines connected between them-self: tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet ...
1
vote
0answers
103 views

GRE Tunneling Routing Issue

I am trying to establish a GRE tunnel on a GW running Linux (V2.6.39.3). The network topology is as following: local: PC_A is connected to a GW PC_A is represented by a dedicated RND (routed ...
0
votes
0answers
38 views

tunnel two windows or linux server with routing packets

I would like to use IPIP eoip tunnel for windows/linux. In addition, It's not necessary to be IPIP, I want to route connection from server 1 to server 2. You can see following flowchart: ...
0
votes
1answer
156 views

Route all internet traffic through SSH tunnel

I currently have set up an Amazon EC2 Virtual Private Cloud. Because of IP limitations I can't provide all the instances in the VPC an elastic IP. I have one public facing server and I have a bunch of ...
4
votes
2answers
411 views

How to link multiple SSH tunnels together in Linux

I have the following situation: A -----|------ B -----|------ Work Work can SSH into B, and A can SSH into B, but apart from that everything is firewalled. What I would like to do is in effect ...
1
vote
1answer
268 views

How do I create an ipip tunnel between two hosts on a LAN?

I have two hosts on a LAN. Both hosts have static IPv4 addresses. Host1: eth0: 112.92.0.1 Host2: eth0: 112.92.0.3 I now want to create an ipip tunnel between these two hosts such that any packet ...
2
votes
2answers
540 views

Ethernet over IP

I need to merge two L2 broadcast domain into single domain and I have to do this over unmanaged by me L3 IP network. All that I could find is vtun utility for linux. Which software&howto you can ...
0
votes
1answer
575 views

pppd PAM use and combining with CHAP/MSCHAP

Managed to successfully configure pppd to use PAM (/etc/pam.d/ppp) for authentication steps (used login option in addition to auth). However, this seems to work only for PAP (require pap, refuse ...
0
votes
3answers
142 views

running a command after the ssh has opened the tunnel

I want to run some process that requires an opened ssh tunnel. How do you run some command AFTER the ssh tunnel is successfully opened? Timers are not good enough as network speed and remote machine ...
0
votes
1answer
599 views

Gre Tunnel Cisco Linux traffic forwarding

I setup a gre tunnel a cisco router and a Linux machine, the tunnel interface in the Linux box named pic. Well i have to forward traffic coming from cisco through the Linux box. the rules i've set in ...
2
votes
1answer
644 views

Making a multi hop SSH tunnel a mysql server (3-4 hops)

I'm trying to get to a mysql server on a remote network, and to get to it I currently have to do several ssh hops, so I can use the mysql command line interface. I'd really like to do a mulit-hop ...
-1
votes
1answer
71 views

how to ssh to the machine behind the firewall? [duplicate]

Possible Duplicates: SSH to a computer that will then SSH to another computer how to ssh to the machine behind the firewall? I have 3 Linux machines A, B and C. I can ssh from A to B; B ...
-1
votes
2answers
239 views

how to ssh to the machine behind the firewall? [duplicate]

Possible Duplicate: SSH to a computer that will then SSH to another computer I have 3 Linux machines A, B and C. I can ssh from A to B; B to C but not from A to C directly because C is ...
1
vote
1answer
923 views

Forward all traffic through an ssh tunnel

I hope someone can follow this and I'll explain as best I can. I'm trying to forward all traffic from port 6999 on x.x.x.224, through an ssh tunnel, and onto port 7000 on x.x.x.218. Here is some ...
2
votes
1answer
330 views

My own IPv6 tunnel

I have a load of IPv6 addresses on my VPS which are not tunneled they are provided by the VPS host. But my ISP at home BT, has no plans yet to allocate IPv6 addresses to even business customers. I ...
1
vote
1answer
354 views

Routing telnet/23 connection thru double SSH tunnel (SSH proxy server)

I have a contractor is using a Windows PC that is outside the corporate network. However, we allow connections via the firewall to certain hosts/ports. Telnet/23 from the contractor's PC to a ...
2
votes
1answer
829 views

tunnel using autossh behaving differently than the exact same command using ssh

I am trying to set up a double-ssh tunnel between two hosts, so I can proxy traffic through it. Using the normal SSH command, I have gotten the following to work: ssh -t -L2000:localhost:2000 ...
0
votes
1answer
508 views

how to setup SSH user with limit permission?

There are some sites provide SSH accounts only for ssh tunnel. I want to know how to make sure these accounts can only have permission to do tunnel, and how to do limit settings. And I also notice ...
1
vote
3answers
1k views

SSH dial home daemon or automatic tunneler?

I know a number of vendors that sell network/server appliances, that have a support button, that once pressed, setup an SSH support tunnel back to the vendors main servers so the support technician ...
1
vote
2answers
2k views

GRE Tunnel over IPsec with Loopback

I'm having a really hard time trying to estabilish a VPN connection using a GRE over IPsec tunnel. The problem is that it involves some sort of "loopback" connection which I don't understand -- let ...
6
votes
1answer
3k views

Cannot Delete GRE Tunnel

I am configuring a GRE tunnel in Linux 2.6.26 and I've been facing a very strange problem for which I could not find any solution. I have created a GRE tunnel called gre0, but no matter what I do, I ...
1
vote
2answers
151 views

Secure, automatic tunnelling dæmon on Linux server?

I've been looking for software to do this for a little while but seem to find only pages that talk about projects that never materialized, or are not capable of running on a Linux system. Does anyone ...
2
votes
2answers
359 views

How to tell if an ssh ControlMaster connection is in use

I'd like to use ssh's ControlMaster feature to share connections for speed increases. I'm trying to script it so that I can start/restart/stop a number of connections to different hosts. How can I ...
0
votes
2answers
46 views

Tunnell network requests with Windows 7

I've Windows 7 64bit Pro client in a private LAN behind a Netgear wgr614v7 router. I've also a remote Debian server machine outside. I'd like to tunnel all (or specified ports/protocols) over this ...
0
votes
1answer
4k views

Linux Teamviewer functionality, but for ssh only

I need to access some Linux server behind NAT (no ports forwarded), so I need to have something like "phone home" like Teamviewer has. There is no GUI, but somebody can log in through SSH and dictate ...
4
votes
5answers
1k views

SSH remote access vpn tunnel

I have two machines both running CentOS linux, one is public facing machine with a real ip address (foo). The other is at a client's site behind a very restrictive firewall and with no real ip and no ...
3
votes
2answers
2k views

Differences between SSH's tunnels and OpenVPN

I discovered that recent OpenSSH has support for tun devices. When it comes to tunnels and VPNs, I always thought the main programme was OpenVPN. Are there any advantages to using SSH tunnels? What ...
1
vote
1answer
899 views

Source nating into GRE tunnel

On a Linux box, I have create a GRE tunnel called gre1 172.17.1 -> 172.17.2. The Linux box IP is 10.10.100.100, the end point IP is 10.10.101.101. I am trying to do a source NAT (NOT destination NAT) ...
2
votes
4answers
1k views

Sending all traffic through a tunnel

I have set up a IPIP tunnel between my workstation and my server. I can add routes manually to have traffic going through the tunnel like this: ip route ad 216.221.35.27 dev foo I'm not sure ...
3
votes
4answers
3k views

P2P VPN: cross between Hamachi and OpenVPN

I recently started using OpenVPN. It is useful because you can securely connect many clients from different networks. However, when two clients communicate, they are not directly connected but they go ...
11
votes
6answers
4k views

How would you send syslog *securely* over the public Internet?

So I've got a few servers which I'd like to log centrally but obviously I don't want to pass the data insecurely over the internet. I've tried syslog-ng but can't make it work in a secure way, a ...
6
votes
5answers
3k views

Tunnel over UDP or TCP

Is there a way to create something similar to an IPIP or GRE tunnel only over UDP or TCP? I have a GRE tunnel between two servers and I noticed that sometimes it starts to drop packets. At the same ...