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

learn more… | top users | synonyms

1
vote
1answer
3k views

iptables forwarding through virtual interfaces

I'm trying to configure my computer as a gateway between two networks, but I cannot make it working for some reasons Here is a representation of the network: 192.168.1.101 192.168.1.102 192.168.1....
0
votes
1answer
261 views

forward a forwarded mail with postfix, based on rules

How can I get postfix to forward an incoming email to one or more different local alias(es), if the address I want the rule to be based on, is not the recipient? The address I want to act on is from a ...
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 ...
0
votes
2answers
2k views

Forward proxy user authentication does not work

I have got a simple forward proxy that needs to have user authentication and a whitelist of IP-adresses. I have created the vhost below: ProxyRequests On ProxyVia On <Proxy xx.xxx.xx.xxx:8888> ...
0
votes
1answer
92 views

Forward TCP traffic from Server A (Linux) to Server B (Windows)

I would like to forward TCP traffic from Server A which is a Linux Server to Server B which is a Windows server. Both are connected to the internet (public IP) and not in the same (local) network. I ...
2
votes
1answer
718 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
9k views

Linux iptables drop traffic based on mac address

I'm doing some testing on my linux VM with one nic, I want to use it as some kind of a firewall which can block traffic of some clients based on a mac address. The client itself is having the VM as a ...
1
vote
1answer
210 views

Printer proxy between different subnets

I have a Xerox WC 7120 network printer on IP a.a.a.a/24. An eternal client application prints to that printer via a VPN tunnel. I will have to move that printer to a different subnet c.c.c.c/24. Is ...
0
votes
1answer
306 views

Forwarding a domain to another subdomain

I have 2 domains jainaditya.in (domain purchased from GoDaddy and currently parked) and techphernalia.com (domain and web hosting from one.com). I created a subdomain ajain.techphernalia.com. ...
1
vote
1answer
93 views

How to tell if an ssh session is using x forwarding (if it was run with -X or -Y)

For a given ssh session, is there a way to tell if it has x-forwarding enabled? I.e. you don't know if the session was established with ssh username@address or with ssh -X username@address.
0
votes
2answers
98 views

Forwarding all connections to different address

I have a script that tries to connect to rabbitmq using default url and port (localhost:5672). Is it possible to make linux redirect all connections to this url and port to different server? I am ...
1
vote
1answer
168 views

postfix virtual aliasing between two domains hosted on the same mailserver

The situation: I have two domains: domain.pl and domain.com. I configured two emails tom@domain.pl and jerry@domain.com. I also have SSL certificate valid only on ssl.domain.com. The problem: I want ...
1
vote
0answers
924 views

Woes with named/bind and forwarding zones

I'm sadly restricted to a very old version of bind (9.4.2) This is the think. If I setup bind with a named.conf and only forwarding it works perfect. acl clients { any ; }; options { ...
0
votes
1answer
383 views

How to apply port forwarding with iptables on existing connections?

For load balancing purposes, occasionally our servers forward requests to a different port; The default port for our service is port 5000. This is the code used: iptables -t nat -A PREROUTING -p tcp -...
-1
votes
1answer
159 views

How to forward vnc for multiple hops [closed]

I have 2 machines Intrim and Remote. I have to go through Intrim to get to Remote. Normally I just do this: ssh -X Intrim #now I'm in Intrim ssh -X Remote And I just open up things with the ...
-1
votes
1answer
381 views

Forwarding incoming ssh connections to virtual machine based on LDAP group

My Question is as follows: How can I forward all incoming SSH (Port 22) traffic (except one account) to a VM which is running on this server? The Server is based on Proxmox VE 3.1 The VM is Debian 7 ...
0
votes
1answer
131 views

Forward wildcard e-mail address to a single e-mail address?

I am running a .com domain, like www.mydomain.com. I have the support address at support@mydomain.com, but my clients usually send e-mails to the support staff emails (e.g. johndoe@mydomain.com) and ...
0
votes
1answer
7k views

Transparent Ethernet over GRE not forwarding traffic

I am running on Linux 2.6.30.9 and have been trying to setup a transparent ethernet over GRE tunnel. The network topology used is as follows: I want to bridge PC1 and PC2 using Transparent Ethernet ...
0
votes
1answer
168 views

iptables forwarding gmail and google only

I am trying to forward only gmail for the internal using forward drop policy network with no success. This machine is working as a router/firewall for internal network. I am unable to browse to google ...
1
vote
1answer
39 views

How would I implement forwarding of a website that's in a subfolder?

User has been given a subfolder to hold their website at http://www.example.com/user. If possible, I'd like to forward that off to userdomain.com, as that's a different server and I have control over ...
0
votes
1answer
532 views

how to forward all traffic on specific interface to ip address

I have one Linux machine that have 2 interfaces. The first one is used as a default one and provides access to internet, the second interface was added as a dedicated link to send packets from tcpgen ...
0
votes
1answer
4k views

Port forwarding through OpenVPN server

Here's my scenario: Remote OpenVPN server v2.3.2, 1 public IP, CentOS 6.4, 2.6.32-042stab079.6 Tunnelblick (OpenVPN client) What I want to do is route all the client traffic through the VPN - and ...
0
votes
0answers
459 views

How to forward UDP and TCP traffic from one IP to another

I have a server with two LAN cards installed. I have one server in U.S and one in India. I have created a GRE tunnel to route all traffic from the U.S Server to my Indian Server. My traffic has UDP,...
-1
votes
1answer
899 views

Can't connect my server outside my wireless network. server is openERP running on ubuntu 12.04 desktop router is ciso small business router

I've looked on the internet regarding port forwarding. I've successfully fowarded port 8069 to my server's ip address. I can access openERP when I'm connected to the network of my office but not when ...
0
votes
1answer
68 views

Can I forward (not relay) an email message via Postfix?

I have a Postfix email server, and I have a bunch of relays set up so that email sent to user@mydomain.com goes to user@preferredemail.com. With relaying set up, the FROM address doesn't change, so ...
0
votes
2answers
339 views

Forward the Wan IP to another Wan IP without changing the source address

I have tried this case by using the NAT function in iptables but fail example. PC A IP is 1.1.1.1 (Win7) My Server IP is 2.2.2.2 (CentOS 6.2) target Server B is 3.3.3.3 (Windows server 2003) Flow: ...
0
votes
2answers
1k views

root domain to www forwarding issue

I want to forward my root domain(yourdomain.com) to www.yourdomain.com Should I delete the A record of the root domain and then setup 301 permanent forwarding to www.yourdomain.com? I am hosting my ...
0
votes
1answer
3k views

2-way SSL with apache forward proxy

I'm working to set up Apache as a forward proxy with a client that uses 2-way SSL. The basic flow is myApplication --via http--> Apache proxy --via 2 way SSL--> client. After setting everything up, ...
1
vote
2answers
815 views

Restrict apache backend access to nginx reverse-proxy only?

I have nginx setup as a reverse-proxy for a group of apache (LAMP) backends listening on port 8080. I've also configured each backend servers' mod_rpaf.conf file to include the proxy IP of the nginx ...
1
vote
2answers
241 views

Two servers, one is a Postfix relay of the other, can I divert root emails from the other?

So, I have two servers, I will call then Internal and External. When I send emails within Internal postfix, it gets relayed by External which does the job of actually sending the email. Normal relay, ...
-1
votes
2answers
523 views

Forwarding the endpoint (at localhost) of an SSH -L tunnel to another machine

Even after long searching and trying I'm not able to solve the following puzzle: Client A --------------------------> Server B (172.26.15.15/24) ssh -L 4321:localhost:4321 Server C (172....
1
vote
1answer
2k views

Can't access my external ip address outside of my LAN, apache server on OS X [closed]

For fun I've been working with a web server on my OS X(10.8.4). Apache and its httpd.conf(/etc/apache2/) file and username.conf(/etc/apache2/users/) files all seem to be fine, I can access my ...
0
votes
1answer
204 views

Using Linux's netfilter to reflect packets

I've got a pair of hosts with very bad routing between the two, but I have a third host that has very good ping to each. To work around the bad routing, I'm setting up the third host to bounce packets ...
0
votes
1answer
38 views

forwarding of small and large packets: any difference?

When it comes to simple forwarding of packets (no errors being generated), are packets processed faster by routers when they are small as opposed to when they contain a large payload? Or do routers ...
0
votes
1answer
6k views

Postfix forwarding is not working

I used this tutorial for forwarding email to another email address on a test mail server and Gmail but it did not work. http://www.cyberciti.biz/faq/linux-unix-bsd-postfix-forward-email-to-another-...
0
votes
1answer
778 views

How do I configure routing from host system to virtual machine?

I have an Ubuntu host system that is running a MAC-VLAN virtual interface on top of eth0 interface, ipv4 routing is enabled. Also, this system has a Docker (LXC) container running: docker0 Link ...
-1
votes
2answers
779 views

Use Domain in iptables PREROUTING

I have a www.example.com with X.X.Y.Y ip i want to forward traffic from port 80 to the domain(www.example.com), I used the following iptable: iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --...
0
votes
2answers
927 views

Ubuntu-Server router - forwarding/routing does not work

This is more or less a pretty general question about forwarding and routing with ubuntu server or any linux system, i guess. The server manages a school network and has 8 NICs - each on a different ...
2
votes
3answers
549 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 ...
0
votes
1answer
156 views

Redirecting port A -> B and blocking externally B

I want to redirect port A to port B and EXTERNALLY block port B. A = 9922 B = 22 (Yes, it's ssh, and NO I cannot change it in configuration.) I have three interfaces: lo (loopback) p36p1 (...
0
votes
1answer
96 views

Postfix email alias forwarding

Currently I have installed, and configured postfix. If I send a email to let's say 'admin@XYZ.com' I receive the email(s) locally on the server. I would like to get these said emails to 'XYZ' to ...
-1
votes
1answer
331 views

Are SMTP headers retained when an email is forwarded or replied to? [duplicate]

Let's say an email is sent from party A to B. Let's refer to the set of headers that B views as Headers 1. Party B then replies to or forwards the email to party C. Let's refer to the set of ...
1
vote
3answers
1k views

Linux routing - Access external IP from LAN

I'm using OpenWRT (linux based) on my router. The router has a local IP and a public IP. I have a dyndns name assigned to the public IP. The router is forwarding several ports (e.g. ssh and https) to ...
1
vote
1answer
1k views

Query upstream authoritative DNS for unknown host

I've got an internal bind server which works fine for my local name resolution. Most of the hosts are mapped with internal IPs instead of their corresponding external IPs. However, there are ...
1
vote
2answers
301 views

SSH Key Forwarding fails as soon as I am root

Situation I add a ssh-key to the chain using ssh-add -K the_path as user@local I set up key forwarding as described here https://help.github.com/articles/using-ssh-agent-forwarding ...
6
votes
1answer
943 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 ...
1
vote
0answers
91 views

BIND: forward 1st level zone

First of all: sorry for the language, English is not my primary language. I have star-like DNS structure with many filials (more that 2): ^ ...
1
vote
1answer
1k views

Setting up a bind forwarder, except for a domain

I'm trying to setup a local bind DNS server (first time dealing with DNS servers, know a bit about records) that: Routes *.internal, *.*.internal to itself (preferably any combination of subdomains),...
2
votes
1answer
185 views

allowing forwarding on a root server, security risk?

Having a root server without iptables rules (I know this is not good, it's just temporary tho in my case), and having configuration like this (for VPN reason): echo 1 > /proc/sys/net/ipv4/...
0
votes
2answers
331 views

iodine and bind on same server

I have recently setup a server running ubuntu server 12.04. I bought a domain, example.com, and have registered nameservers ns1.example.com and ns2.example.com. Both point towards my server running ...