As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [forwarding]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Use squid to forward http(s) requests based on domainname

I have installed 5 LXC containers in Proxmox. Each container has a Apache2 webserver up and running inside, pointing to a registered domain. So: container1 points to example1.com and has a local ip ...
kzpm's user avatar
  • 99
0 votes
1 answer
56 views

How to forward traffic through Linux box except requests to the box itself?

I have an Ubuntu box with IP forwarding enabled and a very simple iptables configuration to allow all packets from within the LAN to be forwarded: echo 1 > /proc/sys/net/ipv4/ip_forward /sbin/...
Adam J. Kessel's user avatar
0 votes
1 answer
91 views

share two network interfaces on linux

I have a Linux PC (ubuntu 22.04) with a network layout as below: Internet <-> Router <-> PC <-> edge device <-> Switch <-> APs <-> devices And with two Lan ...
Firouziam's user avatar
  • 101
-2 votes
0 answers
23 views

Network adapter pass through

I am trying to have my laptop act as a pass through. Basically I want all the information packets that are coming into the computer via eth0 to be then pass back out eth1. I have been looking into ip ...
Evan Goyuk's user avatar
0 votes
0 answers
38 views

How can I allow all the subpaths after a domain in nginx proxy

Below is my configuration of nginx proxy . I have to allow all the subpaths after example.com like it should allow https://example.com/test , https://example.com/vaid. These subpath are already ...
punith reddy's user avatar
0 votes
0 answers
20 views

Internet relay postfix with virtual alias and .forward

In a relay postfix for a domain, I am trying to configure so that each user indicates the e-mail destination address he wants in the .forward but as virtual_alias_maps is configured, it always takes ...
sbarcab's user avatar
0 votes
2 answers
194 views

How to disable an Exchange 2016 mailbox and forward anything sent to it

fyi i would consider myself an exchange-noobie Ok, the scenario is: User left the company, but still gets a lot of mails sent to their mailbox. The AD User-password has been changed so they no longer ...
fraenzz's user avatar
0 votes
0 answers
35 views

NGINX forwarding by 3rd level domain name

I have two local web apps which should be accessible from external network, but only one external IP. Both web apps use 443 port which can't be changed. So the task is to configure nginx in the way so ...
Ars's user avatar
  • 1
0 votes
1 answer
133 views

Can I tunnel all ports from remote server to 127.0.0.2 (for example), so work with it like with localhost

I have a remote server. I started on remote server app that listen localhost only. I want to tunnel this server to local ip like 127.0.0.2 and access this app through like I on remote server. I need ...
Дмитрий Лейкин's user avatar
0 votes
1 answer
180 views

Is the outgoing connection from a OpenVPN client to a LAN behind an OpenVPN server forwarded by the server kernel?

I've observed a somewhat strange behavior that I can't quite understand. So I set up an OpenVPN connection as shown in the graphic below. (It's a TUN and client-to-client setup). My thoughts are ...
Koala's user avatar
  • 3
0 votes
0 answers
42 views

CentOS - nft route beetween two interfaces

I have a server with 2 network cards. I want to route from the 192.168.0.0/24 network to the 192.168.112.0/24 network and back the same way. What am I doing wrong? I have already set forwarding. See ...
dima1002's user avatar
0 votes
0 answers
37 views

Iptables Traffic forward

Would you please help me . I have a 2 vps (Ubuntu) I want to forward all traffic from one vps(1.1.1.1) to another (2.2.2.2) vps except ssh port on A vps(1.1.1.1) A server is 1.1.1.1 B server is 2.2.2....
Havard's user avatar
  • 1
-1 votes
1 answer
148 views

Access Internal IP by Sub-domains

I'm trying to access applications with internal IPs via subdomains from outside. From my research, when it comes to http running apache, it seems feasible with a DNS server inside. How to point sub-...
Seandex's user avatar
  • 99
0 votes
0 answers
58 views

SSL for destination ip forwarding

I have two ubuntu VPS. VPS_1: public IP = x.x.x.x VPS_2: public iP = y.y.y.y In VPS_1 I just only set a domain name for it and set iptables IP forwarding to VPS_2 (x.x.x.x:zzzzz >> y.y.y.y:zzzzz)...
sMohammad14's user avatar
0 votes
1 answer
276 views

Forward UDP broadcasts to another IP

I receive UDP broadcast packets on wlan0 on my Raspberry Pi which I'd like to forward to my desktop for analysis via eth0. I'm running a modified WiFi firmware on a raspberrypi which sends UDP packets ...
Aravind Voggu's user avatar
0 votes
0 answers
359 views

Route SoftEther VPN traffic through another host on the network

Here is my setup: Debian host 1: eth0: IP: 172.25.0.3 Subnet: 255.255.255.0 Gateway: 172.25.0.1 Running SoftEther VPN Server with its Virtual Hub. This Virtual Hub has Virtual NAT and Virtual DHCP, it ...
Fa1rid's user avatar
  • 1
1 vote
1 answer
39 views

how to do remote access in virtualbox (configure as bridge) with ipv6

I installed Ubuntu Server 22.04 in a VirtualBox set up as Bridge. ipv4: 192.168.55.226 ipv6: 2804:389:a09c:d31a:a00:27ff:feca:3cad How do I remote access my virtualBox by ipv6? 2804:389:a09c:d31a:...
Gilberto Sudario's user avatar
2 votes
1 answer
95 views

Ping device connected to host having LAN access

I've been playing back and forth routing games for a couple of days. As it is quite hard to describe with words I made a diagram below: What I want to achieve is being able to ping Rpi 4B from Rpi 3B ...
Ogy89's user avatar
  • 21
1 vote
1 answer
199 views

Routing HTTP/HTTPS traffic from one Linux server to another Linux server

The DNS for the domain.com is pointing at Server1 (it has a public ip address). The webserver is running on Server 2 (no public IP address, but connected to Server1 via OVPN). Is it possible to route ...
Steve's user avatar
  • 21
0 votes
1 answer
197 views

Is it possible to redirect (not forward) email in procmail?

I am using the following rule to forward email in .procmailrc # in .procmailrc * ^Subject.*something ! another@gmail.example The filtering and forwarding part works as intended. However, the email ...
knightrider's user avatar
1 vote
0 answers
2k views

WireGuard slow routing?

I've got a setup as depicted in the picture. The problem is catastrophic speed when using routing. All WireGuard interfaces MTU = 1420. (1), (2) are debian servers. (3) is windows machine. The only ...
Ignatella's user avatar
0 votes
0 answers
205 views

DNS Forwarding on Azure

I just bought a new .app domain from GoDaddy and want to forward all traffic to an existing site. I tried doing this using GoDaddy’s name servers/admin portal but it’s not working and their support is ...
Sam's user avatar
  • 101
0 votes
0 answers
77 views

Linux: Edit Traffic In Transit with NetSED/IPTables

I'm trying to implement the solution to this question to edit packets coming from my server but I'm having trouble getting the IPTables rules correct. I'm using a VPS with an external facing IP to ...
DavidM's user avatar
  • 1
0 votes
0 answers
183 views

How to set up a secure forward proxy for a TCP port that is not HTTP or HTTPS?

I have a Mac Workstation, and I also have an EC2 instance (running Ubuntu Jammy) that we'll call my Proxy Box. I want my Mac Workstation to communicate out to the internet through my Proxy Box. ...
athome withagroovebox's user avatar
0 votes
0 answers
412 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 "...
phantomcraft's user avatar
0 votes
1 answer
907 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 ...
Woods Chen's user avatar
0 votes
0 answers
132 views

How to NAT TL-R480T+ with 2 ISP WAN ports connected

I have a TP-Link TL-R480T+ with 2 wan configured to load balance from 2 different ISP (a 4g modem and a DSL modem) DHCP is disabeled on both modems with static ip of 193.168.2.254 for the 4g modem (...
Gate Lebanon's user avatar
1 vote
1 answer
198 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....
droid's user avatar
  • 13
0 votes
2 answers
181 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 ...
Mervyn Heng's user avatar
5 votes
1 answer
2k 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 --...
Tuinslak's user avatar
  • 1,445
0 votes
0 answers
746 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. ...
simao's user avatar
  • 151
0 votes
1 answer
346 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 ...
awake's user avatar
  • 1
5 votes
2 answers
3k 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 ...
Hannes's user avatar
  • 307
0 votes
0 answers
2k 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 ...
Denes Garda's user avatar
4 votes
1 answer
544 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 ...
Houman's user avatar
  • 1,505
0 votes
1 answer
1k 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 ...
RDK's user avatar
  • 121
0 votes
1 answer
276 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 ...
Alex Protopopescu's user avatar
0 votes
1 answer
285 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 ~]# ...
user156661's user avatar
1 vote
0 answers
135 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 ...
WPFGermany's user avatar
0 votes
1 answer
613 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 ...
ukro's user avatar
  • 13
-1 votes
1 answer
207 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. ...
p.g.'s user avatar
  • 103
1 vote
1 answer
1k 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 - ...
serenity's user avatar
0 votes
1 answer
165 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 ...
Mohamed Allal's user avatar
-1 votes
1 answer
133 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 ...
A New Home's user avatar
3 votes
0 answers
444 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 ...
1nted's user avatar
  • 49
0 votes
1 answer
387 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 ...
Peter Fleix's user avatar
1 vote
0 answers
594 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 ...
Tommaso Pellegrini's user avatar
4 votes
0 answers
880 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/...
Adrian's user avatar
  • 41
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 ...
Dávid Molnár's user avatar
0 votes
0 answers
140 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 ...
Bog Alt's user avatar

1
2 3 4 5
11