The tag has no wiki summary.

learn more… | top users | synonyms

74
votes
9answers
29k 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 ...
11
votes
3answers
12k 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 ...
8
votes
3answers
17k 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 ...
7
votes
1answer
6k 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 ...
7
votes
1answer
11k 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 ...
6
votes
1answer
6k 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 ...
6
votes
2answers
731 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 ...
5
votes
1answer
540 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
2answers
5k 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?
5
votes
3answers
7k 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 ...
5
votes
2answers
1k 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 ...
5
votes
9answers
3k 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 ...
5
votes
0answers
730 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 ...
4
votes
3answers
9k views

Difference between routing and forwarding table

What is the difference between forwarding and routing tables?
4
votes
2answers
10k 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
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
5k 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 ...
4
votes
1answer
5k 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 ...
4
votes
3answers
552 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
942 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 ...
3
votes
3answers
16k 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
2answers
4k 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 ...
3
votes
5answers
6k 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 ...
3
votes
4answers
817 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
1answer
643 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
9k 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 ...
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
4k 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
1k 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
4k 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
2answers
304 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 ...
3
votes
1answer
769 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
1answer
661 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 ...
3
votes
3answers
243 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
0answers
17 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 ...
3
votes
0answers
611 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 ...
3
votes
0answers
19k 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 and from ...
3
votes
2answers
3k 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 ...
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
4k 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 ...
2
votes
2answers
4k views

Nginx - Email Forwarders

I used to have a CPanel/Plesk server so I didn't setup email via command line etc. I don't want an email pop3 account or mail server. Just want to forward "email@site.com" to "email@gmail.com" - can ...
2
votes
4answers
2k views

iptables rules to block ssh remote forwarded ports

I'm trying to setup an iptables rule that will block access to ssh remote forwarded connections via ssh local remote forwarded connections. So, IOW: Client A connects to server: ssh -R ...
2
votes
2answers
797 views

Forward all email for one domain to a single account or file, but deliver other domains properly

I have a Linux server which uses Postfix for email. Its on a dynamic ip so I use the "relayhost" parameter to send outgoing mail through an ssh tunnel to another server on a static ip and from there ...
2
votes
2answers
989 views

Bridge VPN connection with LAN

I use a Nortel SSL-based VPN suite (it loads some Java Applet which sets up a VPN connection) that works great under Linux. When connected I see a tun0 device connected with the IP address I'd expect ...
2
votes
1answer
493 views

iptables forward incoming ipv4 traffic to ipv6 [closed]

I am new to iptables and I am lost and confused from its configuration. I have work server with IPv4 and IPv6 connection and the home server with only IPv6 connection. How to set up rules for ...
2
votes
2answers
3k views

How to test DNS Forwarders without disconnecting the Primary DNS Server?

I have two domain controllers in my domain in remote offices (Europe and China) and two domain controllers in the US, 4 in total. We had a network outage in our US office a few weeks back and during ...