Questions tagged [forwarding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

forward outgoing port and sourcenat this traffic

I have crawled the internet, and tried some config, but so far, i am stucked, so i would need a little help if someone has a better experience than me on this. :) I got a server,server1, behind a ...
user avatar
  • 1
0 votes
0 answers
12 views

How can I forward my http/https request to 2 different upstream proxies based in the destilanation url?

Hi I am quite struggling to find a good solution to my problem. I have to forward http/https requests from my (Linux) server to 2 different proxy based on the destination URL. I've tried different ...
user avatar
  • 260
0 votes
1 answer
35 views

Create virtual forwarding email addresses using a server side programming language [closed]

Some background information first before my question, I am curious as to what happens behind the scenes after you have purchased a domain name and then setup a forwarding email address from the newly ...
user avatar
0 votes
1 answer
47 views

How to debug source IP which try to access SSH server through port forwarding by SSH

my case is likely following case: SSH client(192.168.0.11) -> public cloud VM with SSH server and setup port forwarding (139.90.90.90)(CentOS7.9)-> one internal SSH server(10.24.24.24)(CentOS 7....
user avatar
  • 1
0 votes
0 answers
43 views

How to configure ssh agent forwarding for vncserver correctly?

I am connecting to my host with localhost>ssh -A myhost this makes my locah ssh-agent to forward it's key to remote host. On remote host I can myhost>ssh -A myhost2 and it works. Now I run ...
user avatar
  • 2,677
0 votes
1 answer
79 views

Bind9 keeps crashing when forwarding is enabled

I have a debian small server setup with bind9 and dnscrypt both on the same machine. Bind9 runs on port 53, dnscrypt on 5000. The regular bind9 server performs some checks then forward the requests to ...
user avatar
  • 2,444
2 votes
1 answer
196 views

IPv6 forwarding doesn't work in a network namespace

I have 3 Linux VMs connected like this: / server1 \ | ens19 2001:1::2 | \ / | / \ | ens19 2001:1::1 | | ...
user avatar
  • 23
0 votes
1 answer
113 views

Bind with RPZ broke domain forwarding?

I wanted to take my existing internal DNS Bind servers and add some RPZ security. Previously I had split DNS with my internal view set to forward 3 specific domains to my offices internal DNS servers. ...
user avatar
1 vote
0 answers
92 views

Port forwarding in host only network with iptables

I have two machines in a host-only network. One is a client and the other one is a webserver. I want to forward all HTTP traffic from client to web server over a proxy on port 8080. I tried it with: ...
user avatar
  • 13
1 vote
1 answer
179 views

Socks Proxy Connection Iptables Settings

i hope someone could help me because i can't get any further: I have the follwing Setup: System 1: PC Windows (192.168.240.2) System 2: PC Ubuntu (192.168.240.3) On the Ubuntu System i opened a ssh ...
user avatar
  • 15
0 votes
0 answers
87 views

Forward traffic through tun0 interface

I just set up an openvpn linux server. This server is in the same network as the others servers (172.16.5.0/24). This openvpn server creates an interface called tun0 with an ip range 10.8.0.0/24 to ...
user avatar
0 votes
0 answers
16 views

how to setup linux router by network namespace?

I create three netns: websrv,router,client. topology: os:CentOS Linux release 7.2.1511 kernel: 3.10.0-1160.45.1.el7.x86_64 netns router: router table: 172.0.0.0/24 via 172.0.0.3 dev roueter-eth1 192....
user avatar
  • 1
1 vote
2 answers
2k views

What exactly happens when I enable net.ipv4.ip_forward=1?

Suppose I have this situation where I wrote a program to poison the ARP cache of 2 devices (let's say A and B), both in the local network to successfully able to MITM from device M. The program runs ...
user avatar
2 votes
1 answer
198 views

Routing traffic from LAN to WAN

Preamble We have a test setup where several components are connected to their own network. This network has the the following address: 172.25.1.0/24. Most, if not all, of the components have static IP ...
user avatar
  • 203
0 votes
0 answers
60 views

SNAT with iptables not working in Ansible + Vagrant scenario

The scenario: The client has a modified default route, so it goes out through eth1, and the router needs to forward the traffic (SNAT). I followed this to accomplish it: https://askubuntu.com/...
user avatar
1 vote
0 answers
49 views

IP forwarding not working on Vagrant + Ansible scenario

This is the scenario It is created with Vagrant and configured with Ansible, but the specific problem I'm going to ask about here is why IP forwarding is not working when it should be working. On the ...
user avatar
1 vote
1 answer
321 views

How to set up NAT of VPN-sourced ip packets?

I have an SBC running Arch Linux that I use as a VPN server (as it is the only device having a globally accessed IP address not NATed by ISPs) to connect three different networks. These are 192.168.0....
user avatar
1 vote
1 answer
183 views

iptables - allow forward rules by set

i'm building an captive portal (yeah, just-another ;) ) and now i try to handle the core feature, the iptable rules. based on ipset i have an list of valid mac-addresses with name allow-mac. so this ...
user avatar
  • 113
1 vote
0 answers
77 views

How to redirect, in postfix, outgoing mails that get blocked, to another email address?

I'm a happy user of a postfix mail server. But, every now and than an outgoing mail is blocked by the receiving system. Be it that that system considers the mail as spam, or for some other reason. I ...
user avatar
  • 11
0 votes
1 answer
458 views

Contents of /proc/sys/net/ipv4/ip_forward is deleted after reboot

I installed Debian 10 in VMWare. This Debian machine has to operate as gateway/router machine. To enable ip forwarding between my LAN and WAN interface, I edited the value with nano in /proc/sys/net/...
user avatar
  • 55
0 votes
0 answers
51 views

iptables: forward packet to another network

I have two machines on 2 different networks which are interconnected. First network: 10.0.0.0/24 Second network: 10.0.1.0/24 The first network is running an OpenVPN under 10.0.0.10 with ...
user avatar
  • 233
1 vote
0 answers
72 views

How do I restore internet access to my devices with the iptables service running and ip forwarding enabled?

I use my laptop's hotspot with Ubuntu Linux for internet on my phone and entertainment devices. When I install the Linux Firewall iptables (ip forwarding enabled) by inputting in terminal: sudo apt-...
user avatar
  • 31
0 votes
0 answers
94 views

Rstudio fails to be displayed on my laptop (client) when trying to X11 forwarding from my Imac (server) at home

I am trying to display Rstudio on my laptop (where I have Ubuntu 18.04.5 LTS) using X11 forwarding with ssh to connect to my Imac at home. I set up all the files (ssh_config and sshd_config) on my ...
user avatar
4 votes
2 answers
887 views

How can I use GPG agent forwarding over ssh when systemd owns the remote sockets?

I'm trying to follow these guides and answers https://wiki.gnupg.org/AgentForwarding https://superuser.com/questions/161973/how-can-i-forward-a-gpg-key-via-ssh-agent https://gist.github.com/...
user avatar
  • 326
0 votes
0 answers
856 views

Forward audio from Linux to Windows

For example, how do I forward audio from a Ubuntu guest (in Hyper-V) to the Hyper-V host, considering Hyper-V doesn't virtualize audio hardware? There is no pulse client for Windows 10 as far as I ...
user avatar
0 votes
1 answer
371 views

Forwarding port to remote server?

How can I forward a local port to a remote host/port? I have tried using: sudo iptables -t nat -A PREROUTING -p tcp --dport <PORT> -j DNAT --to-destination <DESTINATION_SERVER>:<...
user avatar
1 vote
0 answers
211 views

Proxy? Port forward?

So I'm looking for a simple solution in the form of a stand-alone middleman service to run on Ubuntu on a headless Raspberry Pi, listen on port 80 and forward the traffic from that, to and from an ...
user avatar
  • 11
0 votes
0 answers
51 views

Something is modifying my iptable, can it be traced?

I've got the following command in my iptable: -A FORWARD -o enp0s3 -j ACCEPT That somebody doesn't like, because after 2 reboots, it's gone from the iptable... I've got iptables-persistent installed, ...
user avatar
1 vote
1 answer
185 views

Bypass server VPN to access its HTTP port externally

I'm running a home server with FreeBSD 12.1 with openvpn. The openvpn runs strictly on the server - the rest of my home network is non-openvpn. I'm a noob with webservers, and am fooling around with ...
user avatar
  • 13
1 vote
1 answer
26 views

Why is the socket number incremented by one in libssh2 x11 forwarding example?

I am looking to x11 forwarding example in libssh2 source (example/x11.c). In the function x11_send_receive I see this code: rc = select(sock + 1, &set, NULL, NULL, &timeval_out); if(rc > 0) ...
user avatar
  • 113
0 votes
0 answers
1k views

Setting up a NordVPN gateway on my Raspberry Pi

Goal Set up NordVPN on my Raspberry Pi and use it as a gateway. Current set-up Raspberry Pi2 running Arch ARM, connected to my router via ethernet cable NordVPN account nordvpn installed on my Rpi ...
user avatar
2 votes
1 answer
537 views

Linux source routing with nexthop pointing toward Docker

I have a similar question linked over to ServerFault, but after further working on the problem, I believe I've refined the problem to a Linux route table question. Background: AWS released their ...
user avatar
1 vote
0 answers
93 views

Linux: UDP "multiplexer" inside kernel

I have an application with very high performance requirements and the following job: There is incoming UDP traffic on port 1234. The packets have as fast as possible to be sent to hosts H1, H2, ... Hn ...
user avatar
-1 votes
1 answer
111 views

iptables - use different outgoing IP if destination is certain domain

I have a VM that has two IPs. Let's say 1.2.3.4 and 4.3.2.1. If i do "ip a", it shows me 1.2.3.4 as first one and 4.3.2.1 as second: 2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP>...
user avatar
0 votes
0 answers
31 views

Route traffic from interface to real router

I'm trying to capture packets sent from my phone using my raspberry pi, basically a MITM kind of thing. I have changed my phone's wireless settings to use the raspberry pi's ip address as the router ...
user avatar
  • 1
0 votes
1 answer
689 views

SSH X11 forwarding - Authentication issue only with specific application

I have two raspis and connect from one to the other using SSH and X11 forwarding, ssh pi@[pi's IP] -X -v. Displaying the remote GUI using X11 forwarding works fine for many applications. However, for ...
user avatar
0 votes
1 answer
93 views

What does * mean in ssh reverse forward?

What does * mean in the below ssh command? ssh -R *:1993:localhost:22 root@23.105.207.175 The * means 23.105.207.175? And are there different meanings for the below three expressions? expression1: ...
user avatar
  • 117
1 vote
1 answer
526 views

Traffic Forwarding To Server With iptables

I have a server (10.10.0.100) on the same subnet (10.10.0.0/24) with all the rest of the hosts. I would like that server to received a full copy of all traffic (Windows and Linux machines) on it's ...
user avatar
0 votes
1 answer
40 views

Routing Configuration In Redhat Linux To Communicate Two Different Network

I have created three RedHat virtual machines named: server, client1, client2 in VirtualBox manager. server is connected to client1 on network 10.1.1.x with NIC card (internal network = inet1) and ...
user avatar
1 vote
0 answers
259 views

Can't use ip forwarding on Android unless hotspot is on

Really stuck on this one I want to change the gateway on my pc to go through my phone connected to the same wifi network in my home. When hotspot is on and I connect to it with another device it works ...
user avatar
2 votes
1 answer
484 views

How to force ssh agent forwarding to continue in screen after you disconnect?

I want to connect to a host from which I will run ansible playbook using screen. Using screen allows me to have the playbook finish in case my ssh connection gets interrupted or terminated. So far no ...
user avatar
  • 153
0 votes
1 answer
3k views

How to configure IP Forwarding

I have a device DEV1 which should communicate with device DEV3, however in the middle there is DEV2. My understanding is that I need to use IP Forwarding in DEV2 and edit route tables on DEV1 and ...
user avatar
  • 115
1 vote
0 answers
270 views

Forward traffic to other interface

I have two interfaces eth0 and eth1. I want all traffic on eth0 to be forwarded to eth1 without changing anything to packet(origin Src/Dst IP, port etc. has to same). I found some articles about ...
user avatar
  • 21
0 votes
1 answer
520 views

IPTables Forwarding and MASQ not working

I am trying to setup Traffic forwarding and NAT for my VM machines.I am having setup in which there are 2 linux OS i.e. Ubuntu and CENTOS and I want that traffic should be forwarded from Ubuntu to ...
user avatar
0 votes
1 answer
20 views

Linux disconnect two subnetworks

I have one router with 3 networkcards (one goes global and two are intern) and I would like to know if i enabled in the router nat.ipv4.ip_forward = 1 so does a host on subnet 1 cann reach a host on ...
user avatar
  • 1
1 vote
0 answers
14 views

Information on forwarding queue occupation (if existent)

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, ...
user avatar
  • 199
0 votes
1 answer
64 views

Issues in getting internet from another node through Ethernet

I am trying to get internet on node1 [IP: 1.2.3.4] from another node2 [IP: 5.6.7.8] which has a working internet connection, through ethernet. Packet forwarding is enabled on the node2 which is ...
user avatar
  • 9
2 votes
1 answer
1k views

How to share "internet hotspot" access to a network on a second wifi adapter?

Can anyone assist with a linux routing question? Essentially I want to use an Ubuntu laptop to provide internet access to an attached network. I have a Raspberry pi on a wifi network (192.168.42.0/24)...
user avatar
0 votes
1 answer
340 views

Pinging one interface of Linux router by another interface of this router

I have such a topology made of network namespaces and veth pairs: ------ ------ ------ | a1 | | r1 | ...
user avatar
  • 274
0 votes
1 answer
77 views

several instances of bind serving same domain

I am trying to configure two DNS-servers (bind) on 2 linux-servers (server1 and server 2) acting as master for the same domain. server1 is intended as primary server and can resolve a subset of all ...
user avatar