Browsing articles tagged with "tunneling - Admins Goodies"
Jan 4, 2013
tom

SSH tunnel over multi hops using putty

I have a situation where I want to connect to a Linux machine running VNC (lets call it VNCServer) which is behind two consecutive Linux machines i.e., to ssh into the VNCServer, I have to ssh into Gateway1 from my laptop, then from Gateway1 shell I ssh into the Gateway2 and then from that shell I finally ssh into VNCServer. I cannot change the network design and access flow Laptop–>Gateway1–>Gateway2–>Server. I have no root privileges [...]

Continue Reading »
Jun 20, 2012
tom

Info on SSH tunelling etc in certain context

Im an electronics engineer, with very little knowledge of networking and assoc. terminology I recently got a Lantronix XPort Pro for use in a project I am working on but have little to no knowledge of the concepts involve in setting this up for use. Have been able to muddle through getting it connected to my laptop but I need to be able to set it up to connect to it by SSH and send [...]

Continue Reading »
Apr 20, 2012
tom

Keeping an SSH Tunnel open, and running a remote command

A computer behind a firewall (at a remote location) connects to my server to open a tunnel… the intention is that from the server I can connect to the computer over SSH. The computer makes the connection with: while true; do PORT=$(((RANDOM %= 1000) + 2000)); ssh -R $PORT:localhost:22 -o ServerAliveInterval=30 “server” “record_port.sh ‘$PORT’;”; sleep 5; done The “record_port.sh” shell script on the server contains: echo “$PORT” > “/tmp/tunnel.port”; while true; do sleep 300; done [...]

Continue Reading »
Apr 13, 2012
tom

VPN, Tunneling to hide ‘real IP’ through my proxy server while showing the client IP on ‘real’ server side

I would like to hide my ‘main server‘ behind the load balancer, call it ‘proxy server‘ Although I use some closed-source software on ‘main server‘ and it needs the client IP address to operate well. When I’m setting up some VPN connection, in that software it displays the IP address of my ‘proxy server’. Is there any option to set up such tunneling or vpn to: not reveal IP of ‘main server‘ show the IP [...]

Continue Reading »
Mar 28, 2012
tom

SSH port forwarding through Windows machine

is it possible to connect to an SSH server only accessible from inside a network, using a Windows machine without SSH as a gateway?. Let me clarify my question with a sketch: Me (Linux machine)—> WIN (Windows without SSHD)—>LIN (Linux with SSHD). Machine Me, is the PC I’m using to connect to LIN through WIN. WIN is accessible from the outside, it has an RDESKTOP port open, and LIN is only accessible from inside the [...]

Continue Reading »
Mar 23, 2012
tom

Securely connect to mainframe from cloud

I will preface this by saying that I am a solution architect, and I have a client who wishes to host an appintel the cloud. The app needs to access information from SAP and other systems. What is the best way to securely connect from a cloud machine to an erp system in a corporate network? I would like to do this without altering the firewall. Ideally I would like to have some kind of [...]

Continue Reading »
Feb 10, 2012
tom

What’s the difference between GRE and IPIP tunnel?

And which one is better for connecting two linux machines? Asked by Antonio See http://www.linuxfoundation.org/collaborate/workgroups/networking/tunneling#IPIP_tunnels and the paragraph below. Basically it’s that IPIP can handle only IPv4 unicast, no multicast traffic and only one tunnel for unique tunnel endpoints pair. GRE is more generic, with up to 64k tunnels between two unique endpoints plus multicast traffic which is important when tunneling routing protocols. Answered by AndreasM Check more discussion of this question. Bookmark on Delicious [...]

Continue Reading »
Jan 14, 2012
tom

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 sent to the tunnel interface on one host is automatically forwarded to the tunnel interface on the other host. I am working on RHL. Check out OpenVPN or some IPsec implementations like Openswan. Check more discussion of this question. Bookmark [...]

Continue Reading »
Jan 9, 2012
tom

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 chap). When switching to require chap/mschap the PAM method no longer works. I just get an error in the log: “User X cannot authenticate with CHAP”. Any way to make it work? Because how I understand it, PAP is clear text while (MS)CHAP implementations support [...]

Continue Reading »
Dec 21, 2011
tom

Renting a IPv4 address block

I am building a lab network with about 10 virtual routers and 20 host machines (also virtualized) as a part of a school project. The aim is to demonstrate a wide range of IPv6 routing, deployment and transition mechanisms. However, there is a problem… I am only entitled to very limited network resources – max. 10 IPs with individually opened ports/protocols. For such a dual-stack netowork, I would require at least a /25 of IPv4 [...]

Continue Reading »
Pages:12345»