Redirect a port to another one, used to access a computer from behind a firewall.

learn more… | top users | synonyms

93
votes
10answers
39k views

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

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

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

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

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

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://...
8
votes
1answer
9k views

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

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 ...
8
votes
1answer
857 views

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

new DNS zone with Forward to external DNS

I have read DNS and Forward Lookup Zones but I did not fing the aswer there. I have Microsoft Domain with Active directory server , and DNS server for internal use. My local domain called example....
7
votes
2answers
2k views

How can I activate ssh-agent confirmation in MacOSX Leopard?

I have a MacBook with MacOSX Leopard (10.6.2) and I use it to connect to some servers (their O.S. is Debian Lenny) using SSH. I use RSA keys to login to server A, and from there I "bounce" to other ...
7
votes
2answers
30k views

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

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?
6
votes
1answer
6k views

How to allow remote connections from non localhost clients with ssh remote port forwarding?

I have a system say "privatesys". I am trying to give access to its web server through a remote proxy using ssh remote port forwarding like below. Private sys name: privatesys Port exposed: 80 The ...
6
votes
2answers
777 views

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 ...
6
votes
1answer
920 views

What is a valid destination log for Windows event forwarding

I'm running into an issue when trying to use a custom log journal for storing forwarded events (via subscription) on a Windows 2008 R2 server, the custom log being described as not being a "valid ...
5
votes
4answers
19k views

Difference between routing and forwarding table

What is the difference between forwarding and routing tables?
5
votes
1answer
680 views

301 Redirect or ServerAlias for Multiple tlds

Our company owns multiple tld's for our corporate domain (e.g. company.com, company.net, etc.). Currently, we operate the main website at "company.com". To have "company.net" et al forward/redirect ...
5
votes
9answers
4k views

Forwarding HTTP Request with Direct Server Return

I have servers spread across several data centers, each storing different files. I want users to be able to access the files on all servers through a single domain and have the individual servers ...
4
votes
2answers
12k views

iptables redirect local connections to remote system / port

I am trying to use SSH to port forward windows machines local port 3389 to a redhat server on some arbitrary port (in the unprivileged region) I have protected behind a firewall, then forward the ...
4
votes
5answers
7k views

X11 forwarding from OSX to Linux

I've done some searching and found that it seems to be possible to forward X11 apps to a mac machine over ssh (i.e. ssh-ing into a linux box and launching an X11 app and having it show up on the mac's ...
4
votes
2answers
5k views

Postfix not forwarding to .forward address

I have a VPS with Postfix. E-mail is working - I can send messages to and from it, tested using mutt and my GMail account. However, I want to forward all mails send to my VPS to my GMail account so ...
4
votes
2answers
4k views

Google Apps email forwarding from non-existing email addresses

We're planning to move all our corporate email to Google Apps, but I couldn't find an answer for the following question anywhere. Hope anybody will help. Currently we have 10 real email addresses (...
4
votes
1answer
2k views

Bind9 Forwarders/Redirect

We are using Bind9 on our DNS servers. We have all of our zone files structured with the following format in our /var/named/slaves directory: mywebsite.com.hosts mysecondwebsite.com.hosts Each ....
4
votes
1answer
8k views

How to enable key forwarding with ssh-agent?

I've used the ssh-agent from oh-my-zsh to manage my SSH key. So far, so good, i only have to type the passphrase for my private key once when I start my shell and public key authentication works great....
4
votes
3answers
650 views

DNS redirect error (probably CNAME related)

I have this question. There's a lot of information out there but none of the things I tried helped and I am still unable to identify if it can be helped at all. I have a site originally with a ...
4
votes
2answers
2k views

fwbuilder: port forwarding incoming 222 port requests to a local machine 22 port

I am using fwbuilder to setup my iptables rules for a public server. The idea is to forward external requests from the 222 port to a local machine's ssh port. The settings i used are: NAT section ...
4
votes
2answers
4k views

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 ...
4
votes
1answer
902 views

How to SSH gate forwarding git user to gitserver?

Im trying to set up ssh/git access through a ssh gate but googleing has come up empty. Basically I want any connection to my ssh gate from the user git to be forwarded to my ssh server so that pushes ...
4
votes
2answers
7k views

I have problem with Godaddy Forwarding service: e.g. example.com to www.example.com

Problem with Godaddy Forwarding service: e.g. example.com to www.example.com problem with forwarding domain e.g. example.com to www.example.com over Godaddy Forwarding service I have problem with ...
3
votes
3answers
29k views

How To Properly Setup DNS Forwarders On Windows Server

I was wondering how to properly setup DNS forwarders on Windows Server 2008 R2. I have three Domain Controllers. Each of the DC's have have following: AD Role DNS Role DHCP Role Static IP Address ...
3
votes
3answers
97 views

Mail forwarding server [closed]

Is there any way I can "relay" mail traffic? To explain better, lets say the server that will relay the mail is 10.0.0.1, and the proper mail server containing the mail is Gmail, is there any way I ...
3
votes
4answers
1k views

How forward one port to other using ssh or any other tool?

I have a legacy application listening on port 5050 bound to localhost interface (i.e. 127.0.0.1). This app runs on a Linux box (an embedded system). I have an app, lets call it App C that runs on PC ...
3
votes
2answers
2k views

iptables question: forwarding port x to an ssh port of different machine on the network

I have a Ubuntu PC, with two networks cards, acting as a router. One card eth0 is connected to internet and other eth1 is connected to LAN. I want to expose ssh ports of different hosts in LAN to ...
3
votes
1answer
796 views

bind: how to add a forwarding zone with overriding?

on my intranet dns server, want to override some addresses. So basicially, it should forward all resolving requests for the zone mydomain.tld, that are not in the "/etc/named/mydoamin.tld" file to ...
3
votes
1answer
11k views

BIND9 forwarders not working. Internal DNS resolves but doesn't forward requests it can't process

I have BIND9 set up with proper recorders for my domain example.com, something.example.com is actually working... When I have my DHCP server pointing at this DNS server I can get to webmin (https://...
3
votes
1answer
6k views

SCOM 2012 DNS Forwarder Availability Monitor

Background: I have an environment with two different AD domains, each in its own forest, each with two Windows Server 2008 R2 domain controllers acting as DNS servers. There is no trust between the ...
3
votes
1answer
2k views

exim4 redirect mail sent to *@domain1.example.com to *@domain2.example.com

Current situation: We have a VPS that hosts a website example.org. Exim is configured to work as a smarthost. All emails sent through exim are successfully relayed to another mail server (that is ...
3
votes
1answer
5k views

Vigor 2820 Router -Port Forward Not Working

We are trying to solve what should be a trivial problem! We have a DrayTek Vigor 2820 series ADSL router/firewall and we need to forward port 80 to a web-server. The box is connected to it's adsl ...
3
votes
2answers
4k views

Nginx: Forward all Subdomains

My code doesn't work with second level tld's like domain.co.uk Here is my conf: # add www. if ($host ~ ^(?!www)) { rewrite ^/(.*)$ http://www.$host/$1 permanent; } # remove subdomain ...
3
votes
1answer
152 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: 10.10.1.2/255.255....
3
votes
1answer
57 views

Forward Nagios server state to a second server

Is there a way to forward the state of a Nagios server to a second Nagios server? I want to install a Nagios server which does the usual collecting of information about the machines and services on ...
3
votes
2answers
447 views

Forwarding-service for emails on external hoster by MX-record

I am registering domains on behalf of customers and host their websites on my server. I have complete control over the DNS setup of my customer domains. I still want to host their websites, but I don'...
3
votes
1answer
1k views

How to set up IP forwarding on Nexenta (Solaris)?

I am trying to set up IP forwarding on my Nexenta box: root@hdd:~# uname -a SunOS hdd 5.11 NexentaOS_134f i86pc i386 i86pc Solaris The box has 2 network interfaces: root@hdd:~# ifconfig -a lo0: ...
3
votes
3answers
249 views

Is there a way to forward my .ssh/config file to an ssh connection?

There is a way to forward my private keys to the server im connected with the ssh -A option. Is there is a way to forward the .ssh/config file as well? Its where I keep host aliases and default ...
3
votes
2answers
1k views

Internet Forwarding With Qemu?

I'm using kvm and qemu to run a windows virtual machine, but I'm trying to get internet on that machine. I've been reading about all this bridging and stuff that is done to do that, but I was ...
3
votes
0answers
238 views

How to reverse proxy https with lighttpd?

I want to forward (reverse proxy) requests to https://secure.mydomain.com(:443) to my internal (HTTPS-)WebServer on port 8443 using Lighttp. Environment-Infos: My WebServer is a Tomcat running on ...
3
votes
0answers
86 views

How to get the topology of a layer-2 switch network with the switches' forwarding tables?

Suppose I have a list of layer-2 switches that do not support LLDP (Link Layer Discovery Protocol) but support SNMP. I have the management IP addresses of these switches, but I don't know how they are ...
2
votes
2answers
1k views

Postfix — deliver mail to the same address on two separate servers

We're currently migrating our corporate email server (Postfix/Cyrus, with an OpenLDAP backend) from one box, to another, located offsite. Before I do a full cut-over, I was hoping to migrate one or ...
2
votes
3answers
6k views

What part of SSH forwarding sets up SSH_AUTH_SOCK?

I'm trying to get SSH agent forwarding working from my Mac to a Debian server. On my Mac, I have verified that I have: SSH_AUTH_SOCK exists ssh-add -l shows my identities ./ssh/config has settings ...