The tag has no wiki summary.

learn more… | top users | synonyms (1)

58
votes
8answers
21k 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 ...
8
votes
2answers
13k 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
2answers
7k 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 ...
6
votes
1answer
9k 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
4k 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
638 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
3answers
311 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 ...
4
votes
1answer
417 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 ...
4
votes
1answer
2k 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 ...
4
votes
2answers
3k 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
961 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
4k 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
419 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
3k 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 ...
3
votes
3answers
2k 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
8k 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 ...
3
votes
4answers
673 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
5answers
5k 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
1answer
528 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
2answers
2k 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?
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
3k 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

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
1answer
7k 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
3k 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
193 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
502 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
419 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
235 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
605 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 ...
2
votes
2answers
628 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
3k 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
3k 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
2answers
2k 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 ...
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
665 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
1k 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 ...
2
votes
1answer
1k views

Bind9 forwarding zone not working

i've setup a forwarding zone on a RHEL6 Bind server like this: zone "office.local" IN { type forward; forward only; forwarders { 192.168.0.2; 192.168.0.3; }; }; when i try ...
2
votes
2answers
1k views

Ip6tables script for a ipv6 router

I am using gogoc tunnel broker on my ubuntu pc for enabling ipv6. I want to use my Ubuntu pc as ipv6 router. I have enabled router mode in the gogoc client. I am using radvd for advertizing the router ...
2
votes
2answers
165 views

Can I run a web site from my home network without jeapordizing other computers on my LAN? [closed]

I have a home LAN with 5 computers and a NAS, all connected to a Linksys router which is connected to my Cox cable modem. I'm interested in having one of my computers run an IIS-based web site and to ...
2
votes
3answers
2k views

Redirect HTTP traffic to an internal Web Server for a particular subdomain

I can't get my head around the following situation. We have an outside-available web site (say, http://example.com). It runs on our Windows 2008 server in IIS7. Now I want to make one of our internal ...
2
votes
1answer
84 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 ...
2
votes
3answers
206 views

Force local TCP packets over network segment for capture

I have two machines, A and B, running RHEL Linux. Each machine has a 1Gig network card connected to what I call the "LAN" network. Each machine has a 10Gig network card that is connected to what I ...
2
votes
1answer
363 views

Can't connect to instance via floating IPs, not natting/forwarding properly

I'm having trouble getting floating IPs to work properly on my OpenStack setup. It looks like the controller node (running nova-network) isn't forwarding the traffic to the instances. I've got a ...
2
votes
1answer
928 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 ...
2
votes
2answers
4k views

IPTables/VPN forwarding

Goals: 1) allow VPN users to access internet without any restrictions 2) allow server itself to access internet, but using specified ports only (mail, web, remote access) Server config: 1) VPN ...
2
votes
1answer
886 views

iptables FORWARD port to internal server

I've been struggling with a FORWARD policy that isn't working the way I'd like, and I can't figure out what is causing the session to fail. I hope someone can help. My goal is to forward port 3000 ...