Questions tagged [forwarding]
Redirect a port to another one, used to access a computer from behind a firewall.
525
questions
0
votes
0
answers
55
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 ...
0
votes
0
answers
32
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 ...
0
votes
1
answer
9k
views
Access web server on VPN client through VPN server public IP
I am trying to access a web server running on a PC, that is behind a firewall not managed by me, using a VPN connection (openvpn). Basically, I want to use the public ip of my VPN server for accessing ...
0
votes
1
answer
10k
views
plink.exe remote port forwarding to local machine for dynamic port forwarding
I have been trying since 2 days to do the following:
I have a windows machine, let's call it A, and a Linux machine called B.
There is a firewall between A and B. I want to connect remotely from the ...
2
votes
1
answer
15k
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 ...
2
votes
1
answer
10k
views
2-way SSL with apache forward proxy
I'm working to set up Apache as a forward proxy with a client that uses 2-way SSL. The basic flow is myApplication --via http--> Apache proxy --via 2 way SSL--> client. After setting everything up, ...
0
votes
1
answer
393
views
How to forward emails from a domain to 2 different servers?
I am not sure the title describes my problem properly, so let me explain.
I have a domain called example.com. I have currently set it up for email services from Microsoft Live domains. I have done ...
0
votes
1
answer
89
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 ...
0
votes
0
answers
202
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 ...
3
votes
3
answers
20k
views
How to route UDP traffic from one public IP (linux) to another public IP(Windows)
I want to prevent direct access of my Windows Machine and want to expose some programs running on it via my Linux Machine (which again is accessible by a Public IP).
Is there a way where-in I can ...
-1
votes
1
answer
229
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....
0
votes
1
answer
37
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@...
-4
votes
2
answers
2k
views
Config to allow SQL Server to be connected through CloudFlare?
I have already known the risk of exposing SQL Server database on the Internet, but please look at my situation: I have two instances of SQL Server: production (default instance SQLEXPRESS) and dev (...
1
vote
1
answer
783
views
Bind9 forward with forwarders for missign A records
I have a local DNS server running Debian and BIND 9.10.3
Currently it is configured with two forwarders
8.8.8.8 and 8.8.4.4 in named.conf.options
I have created a "dk" zone
zone "dk" {
type ...
0
votes
0
answers
66
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 ...
0
votes
1
answer
144
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 ...
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 ...
11
votes
2
answers
3k
views
Forwarding traffic from TUN device (C++ backend) to the default gateway
The following problem is just a piece of the bigger solution I have a problem with. All other elements seem working so far, so I'll try to describe very small piece which I have problem with.
I've ...
2
votes
1
answer
5k
views
Port Forward - KVM host forward port 23 to port 22 of a guest running an ssh service
I have a KVM server (host) with multiple virtual machines (guests).
My goal is my host forward port 23 to port 22 of a guest running an ssh service.
Command example...
ssh root@[HOST_IP] -p 23
...
1
vote
0
answers
505
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 ...
0
votes
1
answer
307
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 ...
0
votes
0
answers
391
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 ...
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 ...
0
votes
1
answer
296
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/...
39
votes
5
answers
79k
views
Forward the root domain to the www subdomain using DNS records
I have www.mydomain.com pointed at an Azure Website.
www.mydomain.com --- CNAME --- mydomain.azurewebsites.net
When I visit www.mydomain.com, everything works fine. This is good.
Problem is, ...
0
votes
0
answers
105
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 ...
0
votes
0
answers
109
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 ...
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 ...
5
votes
1
answer
4k
views
Postfix as email forwarder to gmail, SPF problems
I'm trying to configure postfix as forwarder to Gmail. I've successfully configured the virtual aliases for the domains I'm hosting and that I want to redirect, but the Gmail Sender Policy Framework (...
0
votes
0
answers
125
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 ...
7
votes
3
answers
36k
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 ...
2
votes
1
answer
4k
views
Manual Multicast forwarding with Linux router
I have a Linux router (Ubuntu). It is working well with unicast but with multicast routing/forwarding I have some trouble.
The problem is that my hosts do not send igmp/mld messages thus the router ...
4
votes
1
answer
857
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 ...
78
votes
11
answers
98k
views
Why is ssh agent forwarding not working?
In my own computer, running MacOSX, I have this in ~/.ssh/config
Host *
ForwardAgent yes
Host b1
ForwardAgent yes
b1 is a virtual machine running Ubuntu 12.04. I ssh to it like this:
ssh pupeno@b1
...
0
votes
1
answer
296
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 ...
9
votes
3
answers
13k
views
Forward mDns from one subnet to another?
Is there an ipfw rule that can easily forward mDns packets from one subnet to another? I have a Snow Leopard Server machine serving as the gateway between the two subnets and would like for machines ...
0
votes
1
answer
282
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 ...
0
votes
1
answer
457
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 ...
0
votes
0
answers
43
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....
-1
votes
1
answer
249
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-...
0
votes
1
answer
910
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 ...
4
votes
1
answer
2k
views
Forward IP packets to tunnel device
I have created an tunnel device using
ip tuntap add dev tun0 mode tun user 0 group 0
I then assign it an ip address 192.168.0.1/22
ifconfig tun0 192.168.0.1 netmask 255.255.252.0
On my ethernet ...
1
vote
1
answer
2k
views
SSH ForwardAgent is receiving "Connection closed by remote host"
I'm trying to connect to a remote server using SSH ForwardAgent but I'm facing all the time the same issue :
ssh_exchange_identification: Connection closed by remote host
I've setup my ~/.ssh/config ...
1
vote
1
answer
101
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:...
0
votes
2
answers
3k
views
Nginx forward request to URL
I am trying to forward a http request to a server specify in the url of the request, but I always get a 404 as result. This is my config:
worker_processes 2;
daemon off;
error_log /var/log/nginx....
2
votes
1
answer
122
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 ...
1
vote
1
answer
402
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 ...
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 ...
2
votes
1
answer
2k
views
How to configure iptables rules for connecting 2 eth to the net (forwarding & masquerading)
need some help on configuring iptables rule for forwarding and masquerading
Given I have these configuration:
switch1 ---- (eth1) ----- router ---- (eth2) ----- switch2
...
0
votes
0
answers
594
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. ...