Skip to main content

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
93 views

Proxmox, iptables connection refused on port 443 from different nodes if forward to LoadBalancer

having some problems with port forwarding on dedicated machine running Proxmox. I have create an LXC-Container for LoadBalancing and forward all incomming request on port 80 and 443 to it. If I am ...
xtrose Media Studio's user avatar
0 votes
0 answers
44 views

kvm forward port from Host to guest VM bridge mode

I have a server Ubuntu 22.04 on cloud (VPS) with one external IP (public) address (19.162.31.26), and the internal IP (private) address (192.168.122.1). On that server I use libvirt (Virtual Machine ...
Mohammed haddadi's user avatar
0 votes
1 answer
90 views

How to redirect an IP and port that is being listened to using iptables?

I have a server with two external IPv4 addresses. One address is essentially unused in that it doesn't appear in any DNS and I haven't employed it for anything. I want to use port 80 on it now, but ...
Kurt Fitzner's user avatar
0 votes
0 answers
218 views

Simple MySQL tunnel without SSL or SSH?

What I have I have a MySQL database that allows whitelisting only 2 individual IP addresses. No other access to that server except a MySQL username and password. What I need I need to connect Google ...
ᴍᴇʜᴏᴠ's user avatar
-1 votes
1 answer
252 views

OpenVPN - Server cannot access devices in client's LAN

I have an OpenVPN server (10.1.0.0, 255.255.255.0 VPN subnet) and a client with a local subnet of 192.168.1.0 255.255.255.0. Server VPN IP is: 10.1.0.1 Client VPN IP is: 10.1.0.2 Server local IP: 172....
Hanz94's user avatar
  • 1
0 votes
1 answer
39 views

How can I Forward traffic through UBUNTU?

I have a Ubuntu Desktop client and two Ubuntu server. Ubuntu servers are two separate VPS in Germany and Netherland. I need to route SSH traffic through Germany VPS, for example; When I run ssh root@...
Mehran's user avatar
  • 21
0 votes
0 answers
73 views

A command to troubleshoot UDP traffic forwarding issues?

I've been setting up a UDP forwarding configuration to a load balancer in a private network in Azure with a colleague. The attempted setup was something like this: There's the actual target UDP ...
MJV's user avatar
  • 109
0 votes
1 answer
171 views

Iptables duplicate/Mirror incoming UDP traffic from HOST1 to an external HOST2

I need an advice about the following scenario: IoT devices are sending UDP packets to a 18.04 Ubuntu server environment (HOST1) on port 1234. HOST1 processes the UDP packets as per the internal ...
user3132858's user avatar
1 vote
0 answers
541 views

SSH proxy like NGINX Proxy Manager forward ssh session to correct server

for my webserver i have one public IP which is determining on one server - the nginx proxy manager is handling the connection & forwarding to the correct server which only has an public ip. Is ...
ob24f3293's user avatar
1 vote
2 answers
1k views

Proxmox VE Dedicated Server OVH - Config Issues In Network Setup With 1 Public IP

Problem: (No Internet & No DHCP) I cannot seem to get my VM's to connect to the internet nor am I able to setup a DHCP server to automatically assign IPs to them. Introduction/PSA for dupes: I've ...
Ballard's user avatar
  • 121
0 votes
1 answer
338 views

SSH Ethernet Forwarding Does Not Seem to be Working

I have Ubuntu 22.04 on both the client and server. I have set PermitTunnel yes in sshd_config in both the client (I might not need it on the client) and the server. I have also set Tunnel yes and ...
falhumai96's user avatar
0 votes
0 answers
418 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
318 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
1k 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
0 votes
0 answers
113 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
113 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
1 vote
2 answers
1k 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
  • 113
0 votes
0 answers
133 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
309 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
296 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
44 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
258 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
1 answer
970 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
1 vote
1 answer
105 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
124 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
409 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
  • 31
0 votes
1 answer
477 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 ! [email protected] The filtering and forwarding part works as intended. However, the email ...
knightrider's user avatar
1 vote
0 answers
3k 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
612 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
1 vote
0 answers
811 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
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 ...
Woods Chen's user avatar
1 vote
1 answer
359 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
396 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
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 --...
Tuinslak's user avatar
  • 1,475
0 votes
1 answer
616 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
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 ...
Hannes's user avatar
  • 327
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 ...
Denes Garda's user avatar
4 votes
1 answer
873 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,675
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 ...
RDK's user avatar
  • 121
0 votes
1 answer
377 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
388 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] ~]# ...
user156661's user avatar
1 vote
0 answers
254 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
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 ...
ukro's user avatar
  • 13
-1 votes
1 answer
323 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
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 - ...
serenity's user avatar
0 votes
1 answer
229 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
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 ...
A New Home's user avatar
3 votes
0 answers
567 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
797 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
833 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

1
2 3 4 5
11