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
0answers
66 views

Mac OS pf redirect error cksum incorrect

Scenario Server A - 192.168.43.215 - listens on port 4000 Client B - 192.168.43.207 - Mac OS 10.14.6 I want: connection to B at localhost:8080 ---> A:4000 ex: following command on B's terminal ...
1
vote
2answers
28 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
0answers
81 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
1answer
19 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
0answers
34 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
0answers
24 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
1answer
301 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
2answers
48 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....
0
votes
2answers
203 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 I have root ...
1
vote
1answer
133 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 ...
1
vote
1answer
157 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
1answer
35 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
1answer
456 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
0answers
29 views

openvpn: pass client's traffic through other interface than the one used for connecting to openvpn server

I'm trying to setup a raspberry pi running raspbian to act as a vpn server. I successfully installed OpenVPN and got it running following this guide: https://www.digitalocean.com/community/tutorials/...
0
votes
1answer
205 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 ...
0
votes
1answer
526 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
1answer
240 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
1answer
158 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
2answers
190 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
0answers
29 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
0answers
181 views

How to route traffic from a docker container to another server?

I am currently having a container running an l2tp service which receives all traffic from host ports 1701, 4500 and 500, here i have another linux box(192.168.0.2) running another service, i wish all ...
0
votes
1answer
69 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
4answers
91 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
1answer
133 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 ...
0
votes
1answer
481 views

[DNS][BIND9] Forward to external IP when clients request external domain name

So, I have some dns where I have setting with many internal zones for my domain yyy.com. And I need add record to provider server (host - with configuration files to download, this not some DNS like ...
1
vote
0answers
64 views

Forwarding packets across network to OpenVPN server clients

I've been unable to resolve this myself and really need some help as my networking knowledge isn't the strongest. Setup: Flowchart of network I want to be able to connect to the 10.8.0.2 client that ...
0
votes
1answer
583 views

GCE DNS forwarding

I'm trying to setup local DNS forwarder for the VPC network to use LDAP controller which is running DNS server. I have few GCP projects which should be able to communicate over already built VPN ...
0
votes
1answer
2k views

Redirecting HTTPS

We built a site for a client to advertise a new block of apartments they had built. The apartments have now all been sold so we have been asked to forward the domain to another domain until there is ...
0
votes
1answer
79 views

linux route nic2 connections to nic1

I have in linux envrioment: 1) firewall (192.168.1.1) 2) server1 (192.168.1.2) 3) server2 ubuntu (NIC1 - 192.168.1.3 - NIC2 - 192.168.2.1 - can customize) 4) device1 - 192.168....
1
vote
1answer
441 views

Odd Behavior of DNS forwarding with SRV record resolution

I'm running into a weird problem while setting up a new SAMBA AD DC on my network. I've got the DC itself up and running and checked on the server that I am able to resolve the DNS name of the server, ...
0
votes
1answer
174 views

Traffic does not get routed through vpn

Having set up a tinc VPN node properly (the vpn Connection works): I have set the following options net.ipv4.ip_forward = 1 iptables -t nat -A POSTROUTING -o ens2 -j MASQUERADE If I then set the ...
1
vote
0answers
107 views

Setup DNS Forward Server to forward only specific domains

I want to setup DNS Forwarding Server to forward DNS resolution requests for only specific zones. I am using the following config. acl "trusted" { localhost; 10.x.x.x/24; }; options ...
1
vote
1answer
2k views

Forwarding traffic between two interface

I have a Linux box with two interfaces: ~#ip -4 addr show scope global 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000 inet 192.168.45.101/24 brd ...
0
votes
1answer
53 views

Port forwad public ip port to internal server on different interface

Hello I am trying to port forward a public ip:port I have on a wan interface to a server on my lan my server has two interfaces ens19 [WAN] ens18 [LAN] I then have another server connected on the ...
2
votes
1answer
629 views

Forwarded connection refused by server: Administratively prohibited. Using both @IP and PermitOpen

[This Machine is 192.168.80.125] Normal SSH Rules to allow all basic access: AllowUsers user1 PubkeyAuthentication yes PasswordAuthentication no AllowTcpForwarding ...
0
votes
1answer
42 views

How to route or use iptables to forward one server port to client on different subnet

The setup (all is linux): client IP address: 192.168.2.15 (interface eth1) box IP address: 192.168.2.2 (interface eth1) box IP address: 192.168.101.11 (interface eth0) server IP address: 192.168.101....
0
votes
1answer
157 views

linux port forwarding between two nics [closed]

I have a vicidial server running on suse. I have installed two nic cards. One nic connects to my local network and the other connects to the firewall. The config is as below: Nic 1 : 192.168.2.21 (...
0
votes
0answers
37 views

Forwarding traffic - passive behavior

I spent some time trying to figuring this out. I found my core solution, but iam not satisfied, or more likely i dont fully understand the result, which buggs me. My setting: I have wall plug(port) ...
-1
votes
1answer
81 views

Subdomain forwarding to internal server

Hello this is my scenario: DMZ has two servers the www hosted at internal IP 10.10.1.5 and mail hosted at 10.10.1.10. I would like to be able to be forwarder to the proper server when from Internet I ...
0
votes
1answer
4k 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 ...
0
votes
1answer
1k views

setting reply-to in sendmail.mc

I'm using sendmail to send Mails from PHP and also forward some mails addressed to the server to a list of external mail-providers. The forwarding is done via an entry in /etc/mail/virtusertable: ...
1
vote
1answer
605 views

multi-hop routing without NAT

i recently started to play a little bit with iptables and routing and came across the following problem: i have four servers A,B,C,D with ip_forwarding enabled and my goal is simply to route icmp ...
1
vote
0answers
51 views

Why is my domain's email forwarding working really strangely?

This is a maddening problem that makes absolutely no sense to me, so I'm going to see if I can spell it out step by step and at least figure out WHERE the problem is. I have a PHP form that sends an ...
0
votes
1answer
170 views

Setting up DNS mask with forwarding through SSL

My setup is as follows: User goes to subdomain.mainsite.org.uk.example The site I want to be visible is www.site2.example, however they still have to see subdomain.mainsite.org.uk.example in the URL ...
-1
votes
1answer
109 views

ssh forwarding to master/slave nodes

With putty and pageant, I want to login to a master node and from that, I want to ssh to an agent. The forwarding is enabled in the putty options. I can ssh to the master without password prompt. ...
1
vote
1answer
210 views

Does a DNS server intercept and respond to DNS requests even if it is not the intended DNS server of the requesting machine?

"A" wants to resolve google.com using DNS Server 1 or 2 (as set in IPv4 settings on the NIC). But DNS Server 3 is between "A" and either DNS Server. Will server 3 attempt to respond to the DNS query? ...
0
votes
2answers
397 views

DNS requests on an airgapped network

I work with an isolated/airgapped global network with several redundant domain controllers which also act as DNS servers. My question is, I hope, pretty simple, but I seem to be having a hard time ...
0
votes
1answer
61 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
1answer
2k 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 ...
1
vote
2answers
3k views

IPTABLES allow forward only from specific outside MAC to specific inside IP?

It is possible to create iptables rule, that allows access from outside net (behind wan eth0) from specific MAC address, to only specific IP address behind the inside adapter (safe lan eth1) ? Model: ...

1
2 3 4 5
9