Questions tagged [forwarding]
Redirect a port to another one, used to access a computer from behind a firewall.
525
questions
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
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
874
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
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
1
answer
641
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
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
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
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
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 ...
1
vote
1
answer
617
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 ...
1
vote
1
answer
7k
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 ...
1
vote
0
answers
493
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....
1
vote
0
answers
457
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 ...
0
votes
1
answer
86
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 ...
0
votes
1
answer
646
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 ...
-1
votes
1
answer
283
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 ...
-1
votes
3
answers
2k
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 ...
0
votes
0
answers
680
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 ...
0
votes
1
answer
757
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. ...
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
0
answers
51
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 ...
1
vote
1
answer
318
views
Exchange admin center forward and prepend body
I want to forward all incoming E-mails to my HubSpot CRM System. To achieve this I want to configure my Exchange Server to forward them.
Exchange Server seems to provide only a redirect rule and no ...
1
vote
0
answers
394
views
Troubleshooting low TCP transfer rate behind a router
I’m trying to debug a low tcp transfer rate on a host (“lowHost”).
As a reference, i’m comparing it against a second host (“highHost”).
I’m making two rate measurements:
Downloading a big file using ...
3
votes
1
answer
725
views
FreeBSD jail routing issue
I have the following setup with FreeBSD jails and VNET which is supposed to grow into a DNS core net lab setup. The jailhost and the jails are running FreeBSD 12.1. The jails are connected by epair ...
1
vote
2
answers
879
views
How can I forward / redirect http to a public IP with nginx?
I have a domain example.com with DNS A record pointing to a public ip x.x.x.x.
I need to get all http and https requets from that server and forward that traffic to another public ip y.y.y.y.
Any ...
0
votes
0
answers
1k
views
bridge isn't forwarding non local traffic
I'm experiencing the following issue, i have two virtual machines connected and vlan tagged traffic is passed lets say from A to B.
The traffic passed from A to B is tagged and I need to strip the ...
0
votes
1
answer
67
views
SSH forwarding from my laptop to a VM located on a remote server
I have a remote server that hosts a VM that is running a web service on port 8000.
I want to be able to access the web service from a web browser on my laptop knowing that:
From my laptop, I can ...
0
votes
0
answers
102
views
VPN Server Port forwarding
I got a VPN client 192.168.0.9 which is connected via a my home VPN server 192.168.0.12.
(Most of my LAN clients are connected via 192.168.0.12 to use VPN).
I'd like to port forward from WAN via my ...
0
votes
0
answers
364
views
A way to forward all incoming mails to another adresss in Posfix/Zimbra
I'm looking for a way to forward all incoming mails to an external mail using postfix/zimbra, i tried "always bcc" but it forwards all mails including outgoing mails, but i'm looking for only incoming ...
0
votes
1
answer
2k
views
Port redirect for all interfaces with nft (nftables)
I have a relatively simple requirement that I want to solve with nft (nftables). It is to redirect all incoming packets from port 445 to port 1445. This should be done for all network interfaces.
My ...
0
votes
2
answers
366
views
How can I rward Mails with Postfix and Dovecot to a specific Mailbox?
I can’t figure out how to forward mail withhPostfix and Dovecot to a specific Mailbox.
Sender Mail Address --> Mailbox of Receiver
At moment the mails are transfered into the INBOX of specific Users....
-1
votes
2
answers
2k
views
VPN via middle/jump server
Here's the rough picture of what I'm trying to do:
client -> |VPN| -> server A -> |VPN| -> server B -> Internet.
Server A and Server B are both on public internet with public IPs, also ...
1
vote
1
answer
1k
views
How to forward packets not destined for linux host to container
I am trying to do some traffic inspection on a lxc container in my host machine. My host machine is connected to a mirror port and being sent duplicate copies of the traffic of 4-5 other machines on ...
4
votes
1
answer
3k
views
Forward VPN traffic to another server
I have 2 servers:
server A: Public IP --> 104.x.x.x
server B: Public IP --> 188.x.x.x
server A has 2 VPN servers:
Openvpn --> tun0
Wireguard --> wg0
tun0: flags=4305<UP,POINTOPOINT,...
0
votes
1
answer
309
views
Check forwarding queue occupation on router
I have a router forwarding traffic from a network to another and I need to know when the packet queue (in the receiving side/interface - rx) occupation is close to its maximum capacity.
However, ...
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
Bridge filtering for man-in-the-middle network node
I am inserting my network node between 2 legacy devices that exchange tcp and udp messages using dedicated ports, in both directions. My new node needs to push some tcp/udp messages through ...
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
...
0
votes
1
answer
1k
views
LocalForwarding on a SSH connection from my desktop client to a CHROOTED user in an LXD container
I currently have a proxified web host setup for local development, yet I'm trying to make it a proper (documented) setup so I can deploy it on practically any VPS hosting.
Currently everything else ...
1
vote
1
answer
515
views
How to setup SSH tunnel proxy server?
I've encountered multiple applications that don't support SSH tunneling, and that has become an issue when working off-site from our servers.
I have a Raspberry Pi sitting here which is never turned ...
0
votes
2
answers
1k
views
How to create SSH tunnels
is it possible to achieve the following scenarios by using the SSH tunnels?
My workstation --> jump server --> app server --> final resource (port 443)
My workstation --> app server --> final ...
0
votes
0
answers
166
views
Forwarding ports of a mobile hotspot to local server
I will start with thanking you for your kind answer.
We are currently doing a project entitled "IoT based surveillance system". We are using Raspberry Pi 3B to stream the video feed on a local port, ...
0
votes
1
answer
460
views
How can I allow ssh tunneling/forwarding trough a machine without giving access to the intermediate machine [duplicate]
Lets say i have a machine with a few virtual machines on them, how would i forward ssh connections to those virtual machines without giving access to the host machine? Is it possible to do so with ...
0
votes
4
answers
488
views
Linux routing - hop server on same subnet
Im trying to get a very simple setup to work,
I have 2 AWS ec2 instances (blue),
instance B has a Ipsec VPN into our datacenter and can ping internal IPs of this datacenter, ie server C (192.168.40....
2
votes
1
answer
600
views
Allow specific OpenVPN clients to access other clients
I have multiple OpenVPN servers which have clients like slave-1 and slave-2 which have access only to the OpenVPN server itself. I have a dedicated CA server for creating new users to the system. I ...