Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [forwarding]

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

Filter by
Sorted by
Tagged with
-1 votes
0 answers
27 views

Can I resolve the same domain internal and external?

I have a domain on the internet (purchased from CloudFlare) called: mycompany.com there I have a CNAME created help.mycompany.com, and it works and I would like to do the same for a page on a server ...
user avatar
0 votes
0 answers
17 views

Issues with NGINX Rewrite Rules

i tried it now several times but it won't work. I have a Server which running Debian 10 with NGINX and Wordpress installed. Now i need to rewrite some old URLs to the new place. We must rewrite URLs ...
user avatar
5 votes
1 answer
125 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 --...
user avatar
  • 1,435
0 votes
0 answers
62 views

ip forwarding traffic from inside bridge network

I have the following network setup. I am running a host with 2 vms. Each vm is running debian with cri-o, running some containers. The containers each have an ip address on the 10.200.0.0/24 subnet. ...
user avatar
  • 151
0 votes
1 answer
38 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 ...
user avatar
  • 1
2 votes
2 answers
279 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 ...
user avatar
  • 157
0 votes
0 answers
184 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 ...
user avatar
0 votes
0 answers
17 views

Email deliverability with forwarding

We recently migrated servers and are having problems with deliverability. The server uses MailEnable. We have several addresses that we use to redistribute to multiple users (e.g. urgent@ourdomain....
user avatar
4 votes
0 answers
98 views

How to route IPv6 to the external interface?

I have purchased a VPS from IONOS. While they provide an IPv6 range 2a00:xxxx:xxxx:67::/64, they don't route it to the VPS itself, which is quite odd. I wonder how I can achieve that. I have only 254 ...
user avatar
  • 1,263
0 votes
0 answers
31 views

tun0 doesn't forwards network

(wlan0 -> tun0) Ubuntu desktop "A" (eth0) -> (eth0) other Ubuntu desktop "B" I have an OpenVPN connection on "A". OpenVPN server is from a Mikrotik RouterBoard. I ...
user avatar
  • 21
0 votes
1 answer
253 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 ...
user avatar
  • 1
0 votes
1 answer
84 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 ...
user avatar
0 votes
1 answer
97 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: [root@192.168.0.61 ~]# ...
user avatar
1 vote
0 answers
37 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 ...
user avatar
0 votes
1 answer
135 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 ...
user avatar
  • 13
0 votes
0 answers
23 views

How to redirect UDP traffic based on conditions?

I have several programs which accepts UDP connections for certain ports (for example, it’s 8899, 8898). I’d like to forward connections from port 8888 to one of these based on some conditions: they ...
user avatar
0 votes
0 answers
36 views

Routing non-routable addresses

Sorry for the dumb question: how do I debug ip-forwarding? My setup is as follows: I have a Linux SoC connected via serial line to a Linux laptop over that serial line I have a working PPP sudo pppd ...
user avatar
  • 236
-1 votes
1 answer
103 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. ...
user avatar
  • 103
1 vote
1 answer
218 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 - ...
user avatar
0 votes
1 answer
71 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 ...
user avatar
-1 votes
1 answer
86 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 ...
user avatar
3 votes
0 answers
179 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 ...
user avatar
  • 49
0 votes
1 answer
148 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 ...
user avatar
1 vote
0 answers
228 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 ...
user avatar
4 votes
0 answers
289 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/...
user avatar
  • 41
0 votes
0 answers
287 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 ...
user avatar
0 votes
0 answers
30 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 ...
user avatar
0 votes
1 answer
45 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 ...
user avatar
0 votes
0 answers
21 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 ...
user avatar
  • 281
0 votes
1 answer
32 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 ...
user avatar
1 vote
2 answers
217 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 ...
user avatar
  • 11
0 votes
1 answer
370 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 ...
user avatar
0 votes
1 answer
76 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 ...
user avatar
  • 1
0 votes
1 answer
330 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 ...
user avatar
  • 1
0 votes
1 answer
49 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 ...
user avatar
  • 57
0 votes
1 answer
110 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 <-----...
user avatar
0 votes
0 answers
126 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 ...
user avatar
0 votes
1 answer
250 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 ...
user avatar
  • 3
1 vote
1 answer
55 views

Forwarding request made to my server to another server on the same path

I need to create a sub-directory mapping in the Apache server such that each request made to the path /another-path gets forwarded to https://some-website/another-path. How could I do this? If the ...
user avatar
  • 125
1 vote
1 answer
2k views

Forward incoming UDP Packets on Windows Server to client on different interface

I have the following setup with 2 networks and 3 clients: Network A: 192.168.0.0/16 Network B: 172.16.0.0/12 Client 1 is connected to Network A (192.168.0.1) Client 2 (Windows Server) is connected ...
user avatar
1 vote
0 answers
195 views

Iptables Forward All traffic to different interface except local inter-lan

I have Two LAN Local LAN: 172.30.30.0/24 with gw 172.30.30.254 Remote LAN : 192.168.2.0/24 with gw 192.168.2.1 both lan can communicate and ping each other devices. i have introduce new machine 172.30....
user avatar
  • 11
1 vote
0 answers
227 views

KVM DNS forwarding not working / reply: REFUSED

I've set up a couple of VMs for development purposes for a project. The setup includes a local CA for the past, current and future project VMs. On the guest if can do dig staging.testing.lan and get ...
user avatar
  • 33
0 votes
1 answer
60 views

Full network forwarder with linux

I want to use a linux machine as a full network forwader. Target "physical" architecture : machineA is connected to network1 with its own addressing plan machineB is connected to network2 ...
user avatar
  • 11
0 votes
1 answer
222 views

How to forward http request to application running on port 80 with NGINX

The Ubuntu server is running, Glassfish on port 80(http) & 443(https) Nginx on port 8080(http) & 8081(https) The goal is, www.hostname01.com to access Glassfish, www.hostname02.com to access ...
user avatar
  • 1
-1 votes
1 answer
66 views

mail can be send and received from outside network but mail (outlook or webamil ) not accessible from local network

my private block is 192.168.109.0/24 WAN is 82.198.x.x. and mail server is on 192.168.109.x. I have made the rules dst-nat for port 25,587,993 and 143 with destination 82.198.x.x forwarded to the mail ...
user avatar
-2 votes
3 answers
578 views

Forward packet from loopback interface based on routing table

I have a problem in which I need to process some packets and send out to more than one interface/network. My solution is to send the packet to a loopback/dummy interface and based on the Linux routing ...
user avatar
0 votes
0 answers
279 views

Forward multicast and broadcast packets over subnets

I am trying to receive packets from the local network, including specifically broadcast and multicast on device B, which is connected to the local network though device A which is acting as a router ...
user avatar
  • 1
0 votes
1 answer
237 views

Forward incoming connection to another server, but forward the connection IP address as well

I have two Linux servers. I need to forward the incoming connection from server A (1.1.1.1:25565) to server B (2.2.2.2:25598) (as an example). I've tried multiple iptables rules, with partial success. ...
user avatar
0 votes
1 answer
411 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 ...
user avatar
  • 101
0 votes
0 answers
39 views

How to use iptables to link two vlans

I have two networks, one being the main, with a network card eth1 (found on an Ubuntu Server 18.04 configured to be a router) and internal IP address 192.168.5.1 (with is the gateway) and another ...
user avatar

1
2 3 4 5
10