Redirect a port to another one, used to access a computer from behind a firewall.
Questions tagged [forwarding]
524 questions
192
votes
11 answers
ssh-agent forwarding and sudo to another user
If I have a server A into which I can login with my ssh key and I have the ability to "sudo su - otheruser", I lose key forwarding, because the env variables are removed and the socket is only readable by my original user. Is there a way I can…
Florian Schulze
77
votes
11 answers
Why is ssh agent forwarding not working?
In my own computer, running MacOSX, I have this in ~/.ssh/config
Host *
ForwardAgent yes
Host b1
ForwardAgent yes
b1 is a virtual machine running Ubuntu 12.04. I ssh to it like this:
ssh pupeno@b1
and I get logged in without being asked for a…

Pablo Fernandez
- 7,438
- 25
- 71
- 83
52
votes
6 answers
e1000e Reset adapter unexpectedly / Detected Hardware Unit Hang
I have a Dell 1U Server with Intel(R) Xeon(R) CPU L5420 @ 2.50GHz, 8 cores running Ubuntu Server Kernel Version 3.13.0-32-generic on x86_64. It has dual 1000baseT networking cards. I have it set up to forward packets from eth0 to eth1.
I have…

Kyle Coots
- 2,245
- 3
- 17
- 14
37
votes
5 answers
Forward the root domain to the www subdomain using DNS records
I have www.mydomain.com pointed at an Azure Website.
www.mydomain.com --- CNAME --- mydomain.azurewebsites.net
When I visit www.mydomain.com, everything works fine. This is good.
Problem is, mydomain.com doesn't work. Azure only allows the www…

Shaun Luttin
- 727
- 3
- 7
- 11
30
votes
1 answer
Selecting Interface for SSH Port Forwarding
I have a server that we'll call hub-server.tld with three IP addresses 100.200.130.121, 100.200.130.122, and 100.200.130.123. I have three different machines that are behind a firewall, but I want to use SSH to port forward one machine to each IP…

Eric Pruitt
- 413
- 1
- 4
- 10
24
votes
4 answers
How to properly configure BIND forward zone for an internal DNS server?
I have:
internal DNS server ns1.internal with IP 192.168.0.4.
external DNS server with an external TLD mydns.example.com and internal IP 192.168.0.5. It's accessible both from the Internet (via a static NAT rule) and from the local network.
I'm…

vadipp
- 479
- 2
- 4
- 12
20
votes
4 answers
How to setup ssh tunnel to forward ssh?
I have computer with Ubuntu behind router that I can't configure. However I want to have ssh access to that computer. I think it is possible with ssh tunneling, but I don't know how to do it. I have another server to which I would like to setup…

klew
- 723
- 2
- 11
- 16
19
votes
4 answers
When an email is forwarded, does it lose its original headers?
I am wondering if when an email is forward does it lose its original headers?

Steven
- 301
- 1
- 2
- 6
13
votes
1 answer
In BIND, forward DNS query for specific domain to specific nameserver
Windows Server 2003 has this feature where you can forward queries for domain "example.com" to specific nameserver (not the default DNS server).
How do i set this up in BIND? For example, i want to set up forwarding for local TLD to specific local…

Janis Veinbergs
- 1,585
- 4
- 23
- 34
12
votes
1 answer
Proxy mail to different smtp server with Postfix
How can I forward (or proxy) mail to different smtp servers depending on the To address?
I've got one machine with an SMTP (postfix) server listening on port 25. I want to use Lamson (http://lamsonproject.org/) to handle some incoming mail and some…

Mattias
- 285
- 1
- 2
- 6
11
votes
2 answers
mosh-like port forwarding
This is on linux, connecting to linux servers:
I love mosh, but it doesn't support port forwarding, and likely won't for a while since it's been almost a year now and it hasn't happened yet.
port forwarding over ssh is great, but because my laptop…

Marc Merlin
- 241
- 2
- 6
11
votes
4 answers
Difference between routing and forwarding table
What is the difference between forwarding and routing tables?

jokerrnej
- 121
- 1
- 1
- 4
10
votes
2 answers
Forwarding traffic from TUN device (C++ backend) to the default gateway
The following problem is just a piece of the bigger solution I have a problem with. All other elements seem working so far, so I'll try to describe very small piece which I have problem with.
I've got a linux machine, with tun0 (tunneling interface)…

Marcin Górski
- 101
- 1
- 5
9
votes
2 answers
Setting up a forwarding-only email server
All I want to do is install postfix, and forward emails. I don't need anything to stay on my server. This is giving me hell. I tried the best I could, but postfix is denying all relays.
What I want is this. Say my server is at example.com. I want…

Sei Satzparad
- 221
- 1
- 4
9
votes
3 answers
Forward mDns from one subnet to another?
Is there an ipfw rule that can easily forward mDns packets from one subnet to another? I have a Snow Leopard Server machine serving as the gateway between the two subnets and would like for machines in each subnet to see the services available in…

user37278
- 91
- 1
- 1
- 3