Questions tagged [forwarding]
Redirect a port to another one, used to access a computer from behind a firewall.
525
questions
25
votes
4
answers
128k
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 ...
4
votes
0
answers
1k
views
Enable IPv6 IP forwarding on Windows by default
I'm running Wireguard on a Windows server, connected to multiple peers.
Peer A <-> Server <-> Peer B
In order to allow peers to ping each other (Peer A wants to reach Peer B), IP routing/...
0
votes
1
answer
1k
views
DNS Conditional forwarder returns NETBIOS instead of FQDN
Strange DNS problem for which I hope you can help.
Active Directory with NETBIOS name "Shortdomain" and as FQDN "verylongdomainname.lan". Domain controller DC01 behind firewall. IP: x.x.x.1
Customer ...
1
vote
1
answer
2k
views
SSH Remote Port Forwarding to specific user
Is there a way to make a remote port only accessible for a specific user?
My current setup:
I'm forwarding a port to my local machine to access it via SSH on the go.
I am able to directly access my ...
1
vote
0
answers
771
views
How can I make TPROXY option in iptables work when the destination proxy address is a non-local one?
I installed a TPROXY server in my router that forwards the traffic to a SOCKS5 server.
The router has the address 192.168.1.1 and my PC has the address 192.168.1.33. Also, I have a local bridge "...
2
votes
1
answer
2k
views
Forwarding port though hamachi using iptables
I have a situation that can be described as bellow:
CentOS A: 11.22.33.44(eth0 - WAN network) --- 5.11.22.33 (ham0 - Hamachi)
Win32 B: 55.66.77.88 (WAN network) ---- 5.11.22.44 (hamachi)
I use ...
0
votes
1
answer
2k
views
How can I redirect DNS queries to 127.0.0.53:53 with iptables?
The problem is that I need to forward the incoming DNS query packets (from other computers) to 127.0.0.53 (not 127.0.0.1).
I tried to redirect the queries to 127.0.0.1, that worked fine, however it's ...
2
votes
1
answer
2k
views
Bind forwarding with split domain
With a zone in bind, is it possible to split up the zone between two servers (internal and external for example) and have the internal server resolve requests for 'bar.com'. If the record isn't in in ...
0
votes
1
answer
2k
views
iptables forward port range through OpenVPN
I have a VPN server (the "host" - 10.8.1.1) on a public VPS instance running OpenVPN. The second instance I am running (the "client" - 10.8.1.2) is a local ESXi instance connected to the host vpn ...
1
vote
1
answer
355
views
Map and forward traffic from multiple PCs to multiple router with iptables
Is it possible to configure a linux server with iptables to do this?
PC (192.168.1.11) ===> (192.168.1.1) Linux Server (192.168.0.100) ===> Router1 (192.168.0.1)
PC (192.168.1.12) ===> (192....
0
votes
2
answers
375
views
Channeling IPv4 packets to IPv6 packets between interfaces
How do I route packets in my machine between interfaces (See yellow arrow). Eth0 receives IPv4 packets and I will like to channel it to Eth1 which will send IPv6 packets out.Image of dual stack ...
5
votes
1
answer
4k
views
Using iptables forwarding, while properly keeping source IP
I have a server running Wireguard (thus needing masquerade) and a container running on port 2525.
I have the following iptables rules:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 25 -j DNAT --...
0
votes
1
answer
178
views
Apache subdomain pointing to a different port
I have a dedicated server (Running centos, with Apache etc as a Web Server). With a domain name and subdomains all set up and working fine.
I would like to set up a new subdomain, eg: subdomain....
0
votes
1
answer
602
views
nginx displaying IP instead of domain with ghost
The current situation is as follows:
I have a domain at a specific provider (manitu.de)
I have a free tier VPS with Oracle
I want to set up a ghost blog on the oracle VPS that should be reachable via ...
6
votes
2
answers
5k
views
How does unbound handle multiple forwarders (forward-addr)?
According to https://nlnetlabs.nl/documentation/unbound/unbound.conf/ multiple forwarders can be configured with forward-addr
For the forward zone this list of nameservers is used to forward the
...
0
votes
0
answers
3k
views
Nginx Forward All Traffic on All Ports Except Port 80
I have a domain name, let's say example.com registered in Dynadot. I'm having it, along with subdomains www.example.com and cloud.example.com point to my IP address via A records. I have set up some ...
54
votes
6
answers
93k
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 ...
0
votes
1
answer
1k
views
XenServer 7 - Pass all public traffic to firewall solution
I have a server running with XenServer 7 installed.
Currently the XenServer only has a single VM (FW01) which is my Firewall solution and router, what i would like to do is connect the XenServer to ...
0
votes
1
answer
3k
views
Mikrotik CAPsMAN Client to Client forwarding not working
I am trying to set Mikrotik CAPsMAN to allow wifi users communicate between each other
On CAPs server I have allowed "Local forwarding" and "Client to Client forwarding", pushed configuration but ...
0
votes
1
answer
2k
views
Forwarding port 80 traffic to multiple Web servers behind the firewall
I want to set up two web servers behind my firewall, both accessible from Internet browser clients using the normal port 80 and the URL. For example server1 www.abc.com and server2 www.def.com.
I'm ...
0
votes
1
answer
368
views
Two clients behind NAT on a single VPN connection, exting on two separate public IPs
I am looking for a way to forward outgoing traffic on separate IPv4 addresses for different clients connected through the same VPN tunnel, behind NAT.
Right now I am forwarding port 44158 from ...
0
votes
1
answer
384
views
Linux routing and port forwarding to a secondary network not working from WAN
I have a linux box acting as a router, with two interfaces
· eth0 - 192.168.0.61
· as0t0 - 172.27.224.1
Network 192.168.2.0/24 is accesible through as0t0, so I have this routes:
[[email protected] ~]# ...
1
vote
0
answers
250
views
UDP port forwarding between virtual machines and docker composed network
currently I'm deploying a virtualized system and having a problem with forwarding of an udp port. I tried many tutorials, but something must be wrong and I don't know why the connection is refused all ...
3
votes
1
answer
2k
views
Resolve root domain to IP, forward all other sub domains to public DNS
This is my zones file
zone "domain.com"{
type master;
file "/etc/bind/db.override";
};
zone "cpanel.domain.com"{
type forward;
forwarders { 8.8.8.8;8.8.4.4; };
...
0
votes
1
answer
1k
views
postfix keep original sender ip on mail server delivery
I have Proxmox Mail Gateway facing internet with port 25.
When the email is recieved it is read and then forwarded to mail server.
On my mail server i see that all the emails are going from this PGM ...
-1
votes
1
answer
313
views
bind9: forward to local name server does not work when internet connection is down
I have the following setup:
A bind9 instance (referred as L below) on very limited hardware for resolving the names on my local networks.
It is an authoritative master for the zone home.mydomain.com. ...
1
vote
1
answer
2k
views
SSH over serial on Windows
I need to establish SSH connection over serial between Windows and Linux machine. I used socat on Linux side to do forwarding from uart to SSH server at localhost and it works fine.
Goal:
SSH client - ...
198
votes
11
answers
110k
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 ...
0
votes
1
answer
11k
views
How should I configure BIND9 to forward a zone?
Edit: This was a generally awful question, as in not well documented. It wasn't generally awful in that I truly didn't know what was going wrong, and had been searching and researching. I finally ...
0
votes
1
answer
220
views
Connecting two nodes, dynamic tcp connections tunneling through a central server
Conceptual system in my mind of what i'm looking for:
Given two hosts (can be pcs) !
Both can be on dynamic network (dynamic ip)!
Both connect to the same central server to find each other! (in my ...
-1
votes
1
answer
182
views
Linux acting as a router - port-forwarding
Trying to setup a little AWS Box (Debian Linux) to act as a router taking public traffic (eth0 - single network interface) and redirecting it to a different public IP address, different ports and then ...
3
votes
0
answers
559
views
How to forward all incoming traffic to server A to server B and B returns it to A?
Suppose I have two servers: A and B. On both I have installed WireGuard.
On server A, wg0 is routed with IP 10.8.0.0/24 and on server B, wg0 is routed with IP 10.7.0.0/24.
Let's say server A's ...
0
votes
1
answer
754
views
Where does my bind config lookup dns entries? [closed]
Hy, I am in the course of learning how bind works. My goal is to have a local dns database so lookups in my lan are not going out to WAN.
I set up bind and didnt configure it as forwarding or caching ...
0
votes
1
answer
3k
views
setting reply-to in sendmail.mc
I'm using sendmail to send Mails from PHP and also forward some mails addressed to the server to a list of external mail-providers. The forwarding is done via an entry in /etc/mail/virtusertable:
...
1
vote
0
answers
822
views
Syslog-ng service error on restart - syslog forward to Qradar
Hopefully my qeustion is in the right place.
I am currently trying to forward syslogs from an Ubuntu machine to a Qradar machine.
They're on the same network and i already managed to get Rsyslog to ...
0
votes
0
answers
1k
views
Forward traffic on port to another host with transparent proxy
I have a host with ip $HOST_IP which runs an HTTP server on port 8080. There is a transparent proxy server running on port 9000 on host with IP $PROXY_SERVICE_IP.
I'm trying to forward traffic from ...
0
votes
0
answers
163
views
may a linux client do prerouting with iptables
In our network I have 3 clients: A, B and C (connected to the same router).
I tried to redirect the traffic that arrive to B on port 4440 to C on port 4441 using iptables-legacy
simulating port ...
0
votes
1
answer
873
views
How to access https://localhost from other devices
I have a server program written on ASP.NET that I would like to access from other devices on the same network. What do I need to do in order to achieve this? Is there a program that handles this type ...
0
votes
0
answers
32
views
Cannot block autoresponses coming in to Postfix
I have an Ubuntu server with Postfix. I only use postfix for outgoing mail, there are no local mail boxes on this server at all. In /etc/aliases I setup forwarders to my gmail address. /etc/aliases ...
0
votes
1
answer
47
views
How 2 dynamic (external) IP devices can talk to each other via 1 static (external) IP [closed]
I have 3 devices:
Device 1 (Dynamic IP): A raspberry Pi sending UDP packets to Device 2 via 4G modem via Internet
Device 2 (Static IP): My Ubuntu/Windows PC with static IP, successfully receives ...
1
vote
2
answers
427
views
Double VPN not working
I have setup OpenVpn in my raspberry pi and it works correctly, I can log in to my raspberry pi from my cellphone. I also installed a paid VPN (Windscribe) to my raspberry pi too. The problem comes ...
0
votes
1
answer
1k
views
Redirection thru redsocks connecting but not responding
Am using redsocks to redirect thru a proxy. The problem is that when i use a tool like wget it appears to be connecting but not resolving. What could be the problem and how could i solve it?
Executing ...
0
votes
1
answer
1k
views
Preserving source IP behind double-NAT network
I have a network scenario where double NAT-forwarding is happening. Public Firewall and Internal Firewall are doing NAT forwarding. I have only control of the Internal Firewall.
Client: X.X.X.X
Public ...
0
votes
0
answers
209
views
Unable to port-forward with firewall
I am trying to create a simple gateway with ubuntu that performs the functions of nat, firewall, and forwarding.
With the firewall disabled I can connect to a web server located in a subnet that I ...
0
votes
1
answer
2k
views
redirecting udp traffic from one network interface to another on the same host
My host has two network interfaces:
eth0:172.16.125.5
eth1:172.165.8.55
I want to redirect all UDP traffic to eth1 port 1234 to eth0 port 1234, ie:
172.165.8.55:1234 -> 172.16.125.5:1234
After ...
0
votes
1
answer
640
views
Forwarding UDP traffic from one host to another
I have two hosts, each with 2 network interfaces:
host1:
eth0:172.16.125.5
eth1:172.165.8.55
host2:
eth0:172.16.125.6
eth1:172.165.8.56
I want to forward all UDP traffic to host1:eth1 port 1234 to ...
0
votes
1
answer
340
views
How can I forward email based on the send-from address?
So I have a unique situation. I work for an MSP and we host a Unix server in our environment for a customer that sends SMTP to our internal mail server. The problem is on this unix server, there are ...
0
votes
1
answer
644
views
Router is not forwarding packets
So I have the following setup:
(Net-1: 64.236.5.112/30) (Net-2: 64.236.5.12/30)
64.236.5.113/30 64.236.5.114/30 64.236.5.13/30 64.236.5.14/30
Router1 <-----...
0
votes
1
answer
1k
views
Is it possible to reveal URLs in a masked, server-side 301 redirect?
I work for a search monitoring company and I'm currently investigating some advertisements which are hiding malicious URLs in masked, server-side redirects. When users click these ads, they're ...
7
votes
2
answers
14k
views
Google Apps email forwarding from non-existing email addresses
We're planning to move all our corporate emails to Google Apps, but I couldn't find an answer to the following question anywhere. Hope anybody will help.
Currently, we have 10 real email addresses (...