-1
votes
1answer
19 views

send udp packets to a destination via forwarding

i have linux machine A ( 128.247.19.194, netmask 255.255.254.0) linux machine B ( 128.247.19.165 netmask 255.255.254.0) And another linux machine (128.247.19.3 netmask 255.255.254.0) There is a ...
0
votes
1answer
59 views

Forward all network packets from server A to server B (WAN) Ubuntu

I currently run a game server on a VPS and will shortly be moving VPS provider. To make the migration easier on the players I would like players to be able to use the original IP for a short while by ...
1
vote
0answers
101 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 { ...
-1
votes
1answer
38 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 ...
0
votes
1answer
1k 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
2answers
113 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
1answer
93 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 ...
-1
votes
2answers
245 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 ...
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 ...
0
votes
1answer
85 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 ...
1
vote
3answers
415 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 ...
0
votes
1answer
515 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 ...
2
votes
1answer
87 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 > ...
2
votes
1answer
273 views

can't find a way to forward in iptables for specific mac address

I use a linux Centos 6.3 as an Internet gateway with NAT. I want to allow a specific host to have access to Internet, but I don't want to use its IP address since it may get a new IP address from the ...
0
votes
1answer
2k views

How to route/forward/connect incoming SIP call through other SIP provider to a phone number?

I have 2 VOIP SIP accounts. One is for a landline (incoming). The other should be purely outgoing and allows for calls to my mobile phone. Basically I want to connect the landline to my mobile phone. ...
0
votes
1answer
87 views

Forwarding from one ip to another on linux server

I have a linux server (A) which used to make several calls to another server(B) on an ip (lets say 2.2.2.2). Now (B)'s ip (2.2.2.2) changed to (3.3.3.3) and I want for my server (A) to route all it's ...
2
votes
2answers
664 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 ...
4
votes
1answer
959 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 ...
2
votes
2answers
626 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 ...
0
votes
1answer
98 views

Tunneling mysql through a second server not visible to the outside

This is the setup: I have 1 debian server deep within the network running a mysql server. I have a second debian server who is exclusively allowed to access the mysql server of the first server. I ...
0
votes
1answer
901 views

Why would ssh-agent forwarding not work for particular users?

I'm having a ridiculous amount of difficulty getting SSH agent forwarding to work effectively for two users. Both can login to a remote servers without a problem, and it looks like their agents are ...
0
votes
1answer
264 views

postfix forward certain users to exchange server

I have been googling for a couple hours trying to figure this out. This is happening as we speak on a LIVE mail server, which I thought I had tested properly before rolling LIVE. What we have is a ...
1
vote
2answers
2k views

Any Alternative to Rinetd Port-to-IP Forwarding? [closed]

I need to redirect port 443 to external IP. Rinetd works well but it has a bug where it generates huge log files to the point which cripples your server. See bug report here ...
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 ...
0
votes
2answers
356 views

How to forward mails without having to store them on the server before?

as said above I want to create temporary email addresses which only forward a received message to another (external) email address. When possible without haveing to store the entire mail on the ...
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 ...
-1
votes
2answers
618 views

Configure PostFix to only accept email from gmail

I have PostFix installed and working to send/receive email. However, my requirement is for this MTA to only receive inbound email from gmail. The background is that this server runs a product ...
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 ...
8
votes
2answers
12k 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 ...
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 ...